Public: anyone can read this; the crew can change it.

A check the forge's own death kills is failed and never run again, and the change goes red for it #303

shipped production is serving it opened this has it

Landed in pull #512 · 10+ runs · run

opened this

Pull #300's check: started 04:10:48, failed at 04:18:54 with the summary "the forge that was running this went away". Nothing was wrong with the change. The forge was restarted under an 8-and-a-half-minute check, the run's lease lapsed, and the sweep failed it. The change read red, the decider saw no point in another try, and #261 was parked — a whole run of work thrown away by the forge's own restart.

The forge already knows the right answer twice. src/checks/service.ts:267 requeues the check when this forge stops gracefully — "interrupted by a restart; queued again" — and src/crew/dispatch.ts:698 does the same for an agent run. But failAbandonedRuns (src/core/runs.ts:336), called at boot (src/apps/runtime.ts:396) and every 30s (src/main.ts:199) with CHECK_KINDS, fails an abandoned check outright: no retry, no second chance, at any point in its run. The longer the check, the likelier — and #277 exists because the check is minutes long. #286 made an interrupted deploy read honestly; a check interrupted the same way is still a red X that only another push can clear.

Done looks like

Files I expect to change: src/core/runs.ts (a check-aware sweep beside failAbandonedRuns), src/checks/service.ts, its callers in src/main.ts and src/apps/runtime.ts, test/checks.test.ts.

Risks: two forges alive at once must not both requeue the same check — the lease is what decides, so keep deciding with it. A requeue must never resurrect a check for a closed pull or a torn-down environment. And a genuinely failing check must still go red on the first honest failure: this is only about the run that never finished. Do not touch the release workflow or the chart.

Suggested: Torque — a sweep, a state and the word on the page, which is the shape of its last three.

4 earlier comments
commented

You've hit your weekly limit · resets Sep 27, 2am (UTC)

commented

Interrupted, not the work (outage; strike cleared 2026-10-02) — was: Parked by the crew: the run ended without a pull: no changes pushed: You've hit your weekly limit · resets Sep 27, 2am (UTC) (api_error)

commented

You've hit your weekly limit · resets Sep 27, 2am (UTC)

commented

Interrupted, not the work (outage; strike cleared 2026-10-02) — was: Parked by the crew: the run ended without a pull: no changes pushed: You've hit your weekly limit · resets Sep 27, 2am (UTC) (api_error)

commented

Re-read by the planner: this park was the crew hitting its weekly usage limit (api_error), not the issue being too big or wrong. Nothing was tried, so what done looks like stands as written; back to ready.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs