Repository navigation
Description
Summary
Add a github scheduling backend: cloud scheduling with zero user-owned infrastructure. Instead of requiring a long-running infer daemon on a machine the user operates (and, for remote access, SSH tunnels - see the previous revision of this issue), schedules are materialized as GitHub Actions scheduled workflows in a repository the user configures. GitHub runs the jobs; the user owns nothing but a repo.
The earlier proposal (a desktop channel to a remote daemon) assumed the user runs a server. That is too complex for beginners who just want "run this prompt every morning". Deferred, not dropped - it can return as a later backend.
How it works
-
New scheduling backend named
github, configurable in.infer/config.yaml:scheduler: backend: github github: repository: <owner>/.routines # default: .routines under the authenticated user
-
Each scheduled job maps to one workflow file in the repo (
.github/workflows/<job-id>.yml) that runs onschedule: cronand executes the job's prompt viainference-gateway/infer-action. -
Every save (create/update/delete of a job) renders the workflow files and opens a pull request against the repo. Merging the PR deploys the schedule. The PR is the review step and the audit trail.
-
If the configured repo does not exist, create it (private by default) on first save.
-
Provider credentials are repo Actions secrets; the PR body reminds the user which secrets the workflow expects. The CLI never writes secrets.
Notes
- GitHub Actions cron is UTC-only, 5-minute minimum granularity, and does not support
@every/@dailydescriptors - validate and reject or translate on save. - Job output lives in the Actions run logs (and whatever infer-action commits/opens in the repo). No daemon, no channel delivery for these jobs in the first cut.
Out of scope (first cut)
desktopchannel / remote daemon connectivity (previous scope of this issue).- Channel delivery (Telegram etc.) of GitHub-backed job output.
- Syncing runs back into local storage /
RunRecords. - Other cloud backends.
Acceptance Criteria
-
scheduler.backend: githubwith a configurablerepository(default.routines) is supported in config. - Saving a schedule renders one Actions workflow per job using
inference-gateway/infer-actionwith the job's cron and prompt. - Every save opens a pull request with the rendered changes; nothing is pushed to the default branch directly.
- The repo is created automatically (private) if it does not exist.
- Cron expressions unsupported by GitHub Actions are rejected or translated with a clear error at save time.
- The scheduled job produce the workflows conversation output (~/.infer/conversations/*.jsonl) as an artifacts the cli can pull it locally 10 min (poll for artifacts every 10min after that) after the run, all is configurable
- Docs: a short guide covering setup, required secrets, and the save-to-PR flow.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
[-][FEATURE] Add desktop channel for remote daemon notifications and control[/-][+][FEATURE] Add "github" scheduling backend - schedules as Actions workflows in a .routines repo[/+]inference-gateway-releaser commentedon Aug 12, 2026
🎉 This issue has been resolved in version 0.168.0 🎉
The release is available on:
Your semantic-release bot 📦🚀