Repository navigation
ci: one CI/CD run per pushed ref; a newer push replaces one still waiting - #897
Merged
Merged
Conversation
…ting Every push to master started a full 20-job CI/CD run, and merges landed faster than the account's shared GitHub-hosted runners cleared them: on 2026-10-30 seven full runs (five master commits and two tags) were queued at once, and every other repository's jobs waited behind them. A workflow-level concurrency group for pushes (master, tags, ci/full/**) keeps one run per ref going and lets a newer push replace that ref's run still waiting to start. cancel-in-progress stays false, so a running run finishes and its package jobs seed their caches, as the per-job groups intend. Pull requests get a group per run (github.run_id), so they behave as before: their cheap jobs cancel per job, their heavy jobs finish.
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.
Why
Every push to master started a full CI/CD run of about 20 jobs. Merges landed faster than the account's shared GitHub-hosted runners could clear those runs. On 2026-10-30, seven full runs (five master commits and two tags) were queued at once, plus runs for PRs that had already merged. Every other repository's jobs waited behind them, and the workstreams tracker's single-job gates sat queued for over an hour. Those stale runs were cancelled by hand.
Change
ci.ymlgets a workflow-levelconcurrencygroup for push runs: master, tags andci/full/**.cancel-in-progress: false: a run that has started still finishes, so its package jobs seed their caches. That's the reason the per-job groups don't cancel in-progress, as the comment above them explains.github.run_id), so cheap jobs still cancel per job and heavy jobs still finish.The new group names (
ci-push-<ref>,ci-run-<id>) can't collide with the per-jobci-<ref>-<job>groups.Checked
concurrencyblock reads as intended.Not covered
pull_request: closedjob.Either could be a follow-up if the queue builds up again.