You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 74f2385
Browse filesBrowse the repository at this point in the historyBrowse files
test(gateway): drive terminal command-run cases through the scheduler
The three command delete/retain/backoff cases invoked the run via
cron.run(job.id, "force"/"due"), which now resolves to operator origin
and is deliberately non-consuming: it records the outcome but never
deletes a deleteAfterRun one-shot, applies error backoff, or otherwise
mutates scheduler-owned state (#83538/#83933). The public facade cannot
request watcher-terminal/timer semantics by design, so these cases were
asserting scheduler-owning outcomes against a non-owning run.
Drive them through the real scheduler tick instead (cron.start() +
onTimer, origin=timer) — the actual production path for scheduled
command jobs. The successful one-shot is deleted even when announce
delivery fails, the required-delivery failure retains the one-shot with
backoff, and the recurring command error applies backoff. Assertions are
unchanged.
0 commit comments