ci: concurrency-cancel on same-branch pushes #43

Closed
goldstein wants to merge 1 commit from fix/ci-concurrency into main
Owner

Runner capacity=1 serialises CI across all repos. Without cancel-in-progress, quick follow-up pushes queue behind stale runs and delay useful feedback. This block drops obsolete runs as soon as new commits land on the same ref.

Runner capacity=1 serialises CI across all repos. Without cancel-in-progress, quick follow-up pushes queue behind stale runs and delay useful feedback. This block drops obsolete runs as soon as new commits land on the same ref.
goldstein added 1 commit 2026-04-18 17:51:34 +00:00
ci: add concurrency-cancel on push to the same PR / branch
Some checks failed
tests / test (pull_request) Successful in 1m9s
tests / test (push) Failing after 11m18s
f17ca00bbb
Forgejo runner runs with `capacity: 1` (one job at a time across every
repo it serves — mammon, infoxtractor, etc.). Without a concurrency
block, rapid-fire pushes to the same PR branch all queue behind any
task already running, burning the runner for 30+ min on stale commits.

`concurrency: { group: ci-$ref, cancel-in-progress: true }` tells
Forgejo to cancel any still-queued or still-running CI on this ref as
soon as a newer commit shows up. Applies to both push and
pull_request events.

(Previous PR bodies noted a "trigger bug" where I saw no CI response
on a push — that was actually just the capacity=1 queue with no visible
signal; the CI always fired, just minutes later. Runner capacity bump
lives in infrastructure, not this repo.)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
goldstein closed this pull request 2026-04-18 18:01:11 +00:00
Some checks failed
tests / test (pull_request) Successful in 1m9s
tests / test (push) Failing after 11m18s

Pull request closed

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: goldstein/infoxtractor#43
No description provided.