ci(auto-rebase): a superseded pass leaves a red status on main - keep both passes #2450
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jaylouisw/packetforge!2450
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ci/1121-1646"
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?
What was broken.
auto-rebase.ymldeclares noconcurrencyblock, so Forgejo cancels every superseded run of it on a push (Actions reference, v15: "any other invocations of the same workflow will be canceled automatically"). That cancellation is written to the commit as a failure status, and the workflow fires on every push to main.Evidence.
auto-rebaseruns in the 51 h to 2026-11-21T16:30Z arecancelled(23%); 18 of 41 push-triggered ones in the 13 h to then (44%).9a70a2fb, 2026-11-20T03:08:04Z) was cancelled 19 s in and leftAuto-rebase / Rebase open PRs and arm auto-merge (push) = failureon main's head;main-healthquoted exactly that status in the "main is red" issue #2325 at 22:35Z, beside a real Node 18 failure - a green merge reported as a red main.failureon726c65f9.Change.
concurrency: cancel-in-progress: false, nogroup- the documented way to switch the implicit cancellation off; with no group nothing can queue or deadlock (the reason this file has no group).Measured before/after (same instance, same day, probe workflow with the same push trigger and a 30 s job): without the block, 9553 was cancelled 14 s in when 9554 was pushed; with it, 9555 and 9556 both ran to success (31 s each, overlapping). This file takes effect on the next push to main; the metric is
auto-rebasepush runscancelled(18/41) vssuccess.Coverage unchanged. No step, check, bound or branch is touched; the pass runs exactly as before, only not killed half-way, and main's head no longer carries a red status for a pass that was never allowed to run.