Repository navigation
fix(cron): inherit authorized fallback policy for existing jobs - #196775
fuller-stack-dev wants to merge 14 commits into
Conversation
OpenClaw-Publication: 98ea2cf3-3837-4792-b5f4-a49a03a97d27
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: stale review; fresh review needed. Summary Next step Review history (2 earlier review cycles)
|
OpenClaw-Publication: 593e6077-ceca-4874-aa3f-c80438bd0ef0
This comment has been minimized.
This comment has been minimized.
OpenClaw-Publication: c9ffb695-cecf-4afe-819e-71759e2d7410
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
OpenClaw-Publication: 13d00a7f-5fe7-486d-97eb-f3db862c085d
OpenClaw-Publication: 782990f6-7781-4a50-80da-ffedc3156fe4
OpenClaw-Publication: 00c31ee0-39a1-4c13-9702-aac5b256359c
|
Thanks for writing up the comparison. I'd like to go with #196539 here, for these reasons:
One thing this PR does that #196539 doesn't: fallback providers keep a snapshotted account instead of selecting live, so a fallback can't land on a metered API key just because it's first in auth order. That's a real concern. I'd rather handle it as a focused follow-up on top of the provider-scoped fix, for example by refusing an automatic switch from a subscription credential to an API key on a fallback provider, than by making account loss terminal for the whole run. |
Why
Scheduled jobs should recover from quota errors and outages through their configured fallback chain, without a manual migration or an unintended account or billing change.
What changed
Scope
Cron private inference bindings/grants and persistence; isolated and session-target admission; embedded/CLI execution; Doctor diagnostics; Gateway/protocol, CLI/editor, documentation, and focused regressions.
Tradeoffs
Unavailable or ambiguous optional accounts can be skipped without blocking a healthy primary. Recorded authority loss remains terminal: the run cannot escape it by switching providers. This is broader than the provider-scoped reliability repair in #196539, which selects other providers' credentials live and lets their candidates continue after a recorded-provider refusal.
Blast Radius
Existing and new scheduled jobs. Automatic conversion preserves IDs, schedules, enabled state, payloads, and delivery. Tool, session, and sandbox restrictions remain in force. No deployment or live-state migration is included.
Verification