CI: cancel superseded runs with workflow concurrency groups #50

Merged
void merged 1 commit from void/ci-concurrency into dev 2026-11-09 23:12:18 +00:00 AGit
Member

Workflow files only. The runner takes one job at a time, so superseded runs queued behind each other (runs 910, 915, 924, 927 waited on merged heads while the dev preview run 929 waited behind them).

  • build-pull-request, docker-pr, lockfile: concurrency group = workflow + PR number, cancel-in-progress: true. Per PR, not per ref: a ref-only group collides across PRs.
  • rat-dev-preview: its own group rat-dev-preview, cancel-in-progress, so the newest dev push is the run that builds rat-dev-dist and PR runs (other workflows, other groups) never cancel it.

Forgejo supports workflow-level concurrency with cancel-in-progress from v14.0 (release); this forge reports 16.0.3. The runner needs v11.1.2 or later to evaluate it; its version was not checked.

Not run: the workflows themselves (YAML parses; no CI run on this PR has been observed to cancel another).

🤖 Generated with Claude Code

Workflow files only. The runner takes one job at a time, so superseded runs queued behind each other (runs 910, 915, 924, 927 waited on merged heads while the dev preview run 929 waited behind them). - `build-pull-request`, `docker-pr`, `lockfile`: `concurrency` group = workflow + PR number, `cancel-in-progress: true`. Per PR, not per ref: a ref-only group collides across PRs. - `rat-dev-preview`: its own group `rat-dev-preview`, cancel-in-progress, so the newest dev push is the run that builds rat-dev-dist and PR runs (other workflows, other groups) never cancel it. Forgejo supports workflow-level `concurrency` with `cancel-in-progress` from v14.0 ([release](https://forgejo.org/2026-01-release-v14-0)); this forge reports 16.0.3. The runner needs v11.1.2 or later to evaluate it; its version was not checked. Not run: the workflows themselves (YAML parses; no CI run on this PR has been observed to cancel another). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
CI: cancel superseded runs with workflow concurrency groups
Some checks failed
Build pull request / Build pull request (pull_request) Successful in 4m41s
Docker check / docker-build (pull_request) Failing after 10s
8f8536a805
The forge runner takes one job at a time, so every superseded push or PR sync piled up
behind the one before it and the dev preview run waited behind runs for merged heads.
Pull-request workflows get a group per workflow and PR number; the dev preview gets its
own group, so a newer dev push cancels an older one and PR runs never cancel it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
void merged commit dc4b1f1818 into dev 2026-11-09 23:12:18 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
GameCult/Ratatoskr!50
No description provided.