release: stop automatic dispatches from cancelling in-flight releases; make runs terminal #48
No reviewers
Labels
No labels
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
key-store/key.store!48
Loading…
Reference in a new issue
No description provided.
Delete branch "claude/release-cancel-storm"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Stops the release cancel storm and makes build-release runs terminal. See the commit message for the full analysis; headline numbers (Forgejo DB, 2026-08-16): 25/25 build-release runs in 48 h ended cancelled, 23 within 1 s of the next dispatch, ~14.7 runner-hours wasted, 0 Publish on main.
Three causes, three fixes:
Build (Windows Native Payload)pinned to runner-less key-store-winrunner; Forgejo evaluates jobif:only after pickup) -> one knobvars.KEYSTORE_WINDOWS_LANE_ENABLEDgates the plan, the runs-on label and theif:; while unset the forge runner skips the job. Expressions in runs-on/if withvarsverified on this forge (scratch run 17182). Also refusesupload_microsoft_store=true/ Windows-only plans while disabled.Active-run detection is now job-based (0/5/6 + a 2-min quiescence guard for blocked rows), ignores never-terminal rows, uses
psql -v ON_ERROR_STOP=1, and ssh has ConnectTimeout/ServerAlive.Verification
bash -n; wait loop exercised underset -euo pipefailwith stubs (always-active -> error after deadline; probe failures tolerated 4x then error; empty -> proceed).ON_ERROR_STOP: 0 active runs right now; the only live rows are the never-scheduled Windows rows in 17168/17181 (correctly ignored).Follow-ups