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
`assertUnderDailyBudget` is start-time only (runner.js:3197, workflow.js:838). When a worker-finished wake-up is rejected by the gate, `flushOrchNotices` swallows it and just appends an `event` message to the transcript (runner.js:563-573) — no error banner, no notification; the orchestration simply stops advancing.
Also: the only cap is the global daily one (SettingsModal.tsx:175). There is no per-orchestration or per-thread ceiling for a fan-out. At minimum, surface the gate rejection visibly (banner + desktop notification).
Fixed by a10933d (merged via PR #58). Verified on main today:
flushOrchNotices catch path (electron/runner.js:583-611): an undeliverable worker-finished wake-up now appends an event with the gate's reason ("Not delivered: Daily budget reached…"), lands the orchestrator thread failed, and pushes the update to the renderer.
Sidebar shows a Failed badge; the last event card carries "Retry turn" (retryAnchorEventId, src/retryTurn.ts:65).
shouldNotify (electron/notify.js:22) fires a desktop notification when a thread with a prior status lands failed with no run of its own — the unattended fan-out case.
Covered by tests: electron/test/runner.test.js "an undeliverable wake-up lands the orchestrator failed with the reason (issue Budget exhaustion kills orchestration silently #34)" and the notify.test.js additions — all green (35/35 in runner+notify suites).
The remaining idea from this issue — a per-orchestration / per-thread budget ceiling for fan-outs — was deliberately not part of the fix; spun out into a follow-up issue.
Activity
Merge pull request #58 from currentbits/coder/budget-exhaustion-kills…
currentbits commentedon Aug 15, 2026
Fixed by a10933d (merged via PR #58). Verified on main today:
flushOrchNoticescatch path (electron/runner.js:583-611): an undeliverable worker-finished wake-up now appends an event with the gate's reason ("Not delivered: Daily budget reached…"), lands the orchestrator threadfailed, and pushes the update to the renderer.retryAnchorEventId, src/retryTurn.ts:65).shouldNotify(electron/notify.js:22) fires a desktop notification when a thread with a prior status landsfailedwith no run of its own — the unattended fan-out case.The remaining idea from this issue — a per-orchestration / per-thread budget ceiling for fan-outs — was deliberately not part of the fix; spun out into a follow-up issue.