Repository navigation
Let new website publishes replace stalled runs - #2142
Conversation
|
wait this is totally overcomplicated, 10x. why did it block? why can't we just deploy like a normal deployment? if it fails, we deploy the next time normally?? |
The earlier recovery workflow was more machinery than this queue needs. GitHub held a publish from October 6 in the workflow concurrency group before a runner was assigned; with cancel-in-progress false, newer pushes could replace only the pending successor and never start. Set cancel-in-progress true so the next publish cancels the old owner and runs normally. An interrupted deploy may leave a release needing the next publish, which is the accepted tradeoff for keeping the site moving.
|
It blocked because the October 6 publish run stayed queued without a runner while holding the workflow's concurrency slot. With I reduced #2142 to one setting: |
The deployed agent journey crashed after a successful revision and reply because its title wait read threads at the top level of /api/state. The server places that projection under browser.thread. Read the canonical served shape and correct the title and reload fixtures that masked the mismatch. Publish run 37896111120 deployed and reached the exact release before the journey failed with KeyError: 'thread'. The separate deployment-lock change is PR #2142. Validation: both affected reload tests reproduced KeyError: 'browser' before their fixture corrections. All four focused title/reload/offline tests now pass; changed-file pre-commit checks and independent review pass. The production journey remains the end-to-end deployment gate. > _This was written by Codex on behalf of max-sixty_ --------- Co-authored-by: leaf-agent <[email protected]> Co-authored-by: Maximilian Roos <[email protected]>
A publish run from October 6 stayed queued without a runner until it was canceled on October 9. The workflow's
cancel-in-progress: falsekept it in the deployment concurrency group while newer publish runs waited behind it. Those runs could not start and fail normally.Set
cancel-in-progress: trueso the next publish replaces an older run in that group. This is GitHub's documented concurrency behavior. A push can also interrupt a deployment already executing; the replacing run then deploys current main. No separate recovery workflow is needed.Verified the final PR diff contains only this workflow setting, parsed the YAML, and ran
git diff --check. All PR checks passed on436a18c4390c616cbd5e43db4b973252c0335c53.