Repository navigation
ci: Cancel superseded merge-queue runs - #988
Merged
Merged
Conversation
Fails: ci/cancel_superseded.py and the cancel-superseded job don't exist.
A queue ref carries the base commit, so the concurrency group never paired a PR's rebuilt queue run with its old one; after master moved, 2-3 runs per PR waited on the scarce ubuntu-26.04 runners (21 cancelled by hand on 2026-10-16). merge_group runs now start with a cancel-superseded job (job-level actions: write) that cancels the older in-flight queue runs for the same PR (ci/cancel_superseded.py).
This was referenced Oct 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #986. Part of #930.
A queue ref carries the base commit (
gh-readonly-queue/master/pr-<N>-<sha>), sopr-pull.yaml's concurrency group never paired a PR's rebuilt queue run with its old one. After master moved, 2–3 runs per PR waited on the scarceubuntu-26.04runners; 21 were cancelled by hand on 2026-10-16.cancel-supersededjob,merge_grouponly, job-levelactions: write, 5 min timeout. It runsci/cancel_superseded.py, which cancels older in-flight queue runs for the same PR (the newest is the live one).CI Gateneeds it (skipped on PRs counts as a pass).RED be5cebb:
ci/test_cancel_superseded.py, 3 failures and 5 errors.GREEN f32178f: 10/10;
test_merge_queueand theci/suite are green.Live check: with a real queue run of #970 as the current run,
--dry-runnamed exactly its two older queue runs (04:01 and 04:04 against the live 04:06), and a real run cancelled both (completed cancelled).