A pull request's superseded runs and a landed PR's stragglers cancel themselves; a main push run never does (forge-setup#60 P4) #224
Loading…
Reference in a new issue
No description provided.
Delete branch "jupiter/60-p4-cancel-groups"
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?
Refs macula-io/forge-setup#60 (P4). This applies the landed forge-setup step
steps/run-cancel-groups.sh(main 4f7ba66) to martha's four PR workflows: c4-model, ci, engine-drift and host-drift.pull_request.types: [opened, synchronize, reopened, closed]. Theclosedevent exists only so a landed PR's stragglers are cancelled.${{ github.workflow }}-${{ github.head_ref || github.ref_name }}.cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}, so a main push run is never cancelled.if: ${{ github.event.action != 'closed' }}.Proof:
run-cancel-groups.sh --checknames only those two as left.check:privateon the range finds nothing private.Cost: each land adds 22 skipped tasks (ci.yml has 19 jobs, plus 3), and each one waits for a runner.
Done when:
--checkis empty on main after the land (apart from the two above);Supervisor ruling (r2,
e9778e81): theclosedtrigger and its 22 job guards are dropped; only the concurrency blocks stay, so a new push still cancels the PR's older run and a land adds no skipped tasks. Cancelling a closed or landed PR's leftover runs moves to the lander by API once the forge is on Forgejo 17 (macula-io/forge-setup#45).Attempt 1 of run 5266 (ci.yml,
e9778e81) failed on one job: 22072, "the clean-install proof removes its container", which ended 04:44:33Z, exit 1. The other 17 jobs were green; nothing-private was skipped.Failing case:
the self-test: a turn the host never took was not typed again, once. The builder's screen is empty, its transcript holds only the prompt ("its launch has ended; this is the copy Martha kept"), and then comesthe self-test: a case failed, above. There is no docker error, and the image install succeeded on attempt 1.This is the same family as #226: a member-end verdict that never shows, with an empty builder screen. The PR changes only four workflow concurrency blocks. Per the flake rule (DECIDED 2026-11-26), only job 22072 is rerun, by API. Refs #226.