Repository navigation
Description
Summary
The CLI gained a "github" scheduling backend (inference-gateway/cli#1055, implemented in inference-gateway/cli#1056): schedules are materialized as GitHub Actions scheduled workflows in a user-configured repository (default "/.routines", auto-created private). Saves push directly to the default branch (or open a PR when "scheduler.github.pull_requests: true"), workflows run the job prompt via inference-gateway/infer-action under a GitHub App bot identity, and a daemon-hosted poller pulls conversation artifacts back into local storage. The docs site needs a page/section covering this.
Content to document (source material lives in the CLI repo docs added by the PR: docs/scheduling.md "GitHub backend" section and docs/configuration-reference.md "Scheduler Configuration"):
- Config reference: "scheduler.backend" (local | github), "scheduler.github.repository", "scheduler.github.pull_requests", "scheduler.github.artifacts." (enabled, poll_interval, initial_delay, max_attempts, rate_limit_backoff) and the matching "INFER_SCHEDULER_" env vars.
- Setup guide: gh auth prerequisite, GitHub App creation, required repository Actions secrets ("APP_CLIENT_ID", "APP_PRIVATE_KEY", provider "*_API_KEY" secrets - the CLI never writes secrets).
- Save-to-deploy flow: direct push vs pull-request mode, repo auto-creation.
- Cron limitations and translation: UTC-only, 5-field, minimum 5 minutes; "@daily" / "@every" translation and what gets rejected.
- run_once semantics: the workflow disables itself after the first fire.
- Artifact pull-back: what gets uploaded, polling cadence, retry cap, rate-limit backoff, jsonl-storage-only limitation.
- Out of scope in the first cut: channel delivery of GitHub-backed job output, RunRecord sync.
Affected pages: the CLI scheduling page (or create one if the docs site does not have it yet) and the CLI configuration reference.
Source: inference-gateway/cli#1055, inference-gateway/cli#1056.
Acceptance Criteria
- Scheduling docs cover the github backend: setup (gh auth, GitHub App, secrets), save-to-deploy flow (direct push and pull-request mode), and repo auto-creation.
- Configuration reference lists all "scheduler." keys and "INFER_SCHEDULER_" env vars with defaults.
- Cron translation rules and rejections are documented (UTC, 5-field, >= 5 minutes).
- Artifact pull-back behavior (poll interval, max attempts, rate-limit backoff, jsonl-only) and run_once self-disable are documented.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
edenreich commentedon Aug 12, 2026
@claude Can you work on this? use /ponytail:ponytail
inference-gateway-maintainer commentedon Aug 12, 2026
Claude finished @edenreich's task in 4m 52s —— View job •
docs/issue-546-20260812-2043• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-546-20260812-2043?quick_pull=1&title=Issue%20%23546%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23546%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Documenting the GitHub scheduling backend
inference-gateway/clidocs/scheduling.md+docs/configuration-reference.md)cli-scheduling.mdcovering both backends, with the github backend end to endscheduler.*keys +INFER_SCHEDULER_*env vars with defaults.vitepress/config.ts) + cross-link from theScheduletool section incli.mdbun run lint:md,bun run format:check,bun run build- all passWhat landed
New page
cli-scheduling.md:gh auth login, GitHub App, Actions secrets - noting the CLI never writes secrets), required secrets (APP_CLIENT_ID,APP_PRIVATE_KEYwith the Actions read/write permission needed forrun_once, and the provider*_API_KEYlist).pull_requests: true, private repo auto-creation (<login>/.routines), failed-sync aborts the save.@daily/@every 10maccepted,@every 7mand* * * * *rejected; UTC-only, 5-field, 5-minute minimum.run_once: workflow self-disables after first fire (file stays, disabled) vs local backend deleting the job.infer-conversations-<run_id>, initial delay, poll interval, max attempts, rate-limit backoff, jsonl-storage-only.Skipped: duplicating the CLI repo's Telegram walkthroughs and per-operation
Scheduletool JSON - those already live incli.md#schedule, which the new page links to. Add them here if you'd rather this page stand fully alone.PR #549 - roadmap board item moved to QA.
| Branch
inference-gateway-releaser commentedon Aug 17, 2026
🎉 This issue has been resolved in version 0.9.11 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀