Repository navigation
feat(settings): support the github scheduling backend - #111
Conversation
Adds scheduler.backend and scheduler.github.* (repository, pull_requests, artifacts poll settings) to the desktop config round-trip, a Scheduling backend selector with github options and a prerequisites panel (gh auth probe, required Actions secrets, links to repo secrets/actions) in Settings, and a GitHub Actions (UTC) hint with a runs link on the scheduled-jobs strip. New Tauri commands: github_auth_status, open_url. Closes #110
|
@opentask I just released the artifact poller with images, generated files) anything further needed to be done here? use /ponytail:ponytail |
|
Model: I'm cooking...will get back to you soon... Pull Request✅ Infer Result: SuccessNothing further needed here. Traced the image flow end-to-end: CLI poller saves images to local storage → the conversation jsonl references them by local path → desktop's existing The Model: Tokens: 155,156 in · 3,885 out · 159,041 total (5 requests) Tool calls: 10 total · 100% success rate TracesStatsTriggered by edenreich · Infer Action · OSS |
|
🎉 This PR is included in version 0.15.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Summary
Desktop support for the CLI's
githubscheduling backend (cli#1055 / cli#1056): schedules deployed as Actions workflows in a.routinesrepo, run via infer-action, conversations pulled back by the daemon's artifact poller.Closes #110
Changes
backend/src/config.rs):scheduler.backendandscheduler.github.*(repository, pull_requests, artifacts enabled/poll_interval/initial_delay/max_attempts/rate_limit_backoff) added toDesktopConfig,config_from_value, andmerge_config, with a round-trip test.backend/src/scheduler.rs):github_auth_status(gh installed/authenticated probe, lifted fromdownload.rs) andopen_url(http(s)-only, default browser).SettingsView.tsx): Scheduling backend selector (local/github); github options (repository, pull-request mode, artifact pull-back + poll tuning); prerequisites panel with gh auth status, the required Actions secrets (APP_CLIENT_ID,APP_PRIVATE_KEY, provider*_API_KEY- the app never stores secret values), and links to the repo's secrets/actions pages. SharedDEFAULT_CONFIGreplaces the two duplicated config literals.Transcript.tsx): "runs on GitHub Actions (UTC)" hint plus a "view runs" link when the github backend is active.Deploy outcomes (push / PR URL) and cron validation errors already surface in chat via the CLI's schedule tool; pulled-back conversations appear through the existing conversation polling - no desktop changes needed for those acceptance criteria.
Non-jsonl run artifacts (images etc.) are tracked as a CLI follow-up (poller currently extracts only conversation jsonl).