ci: the scheduled arm passes count two test legs, not three (they have armed nothing since #2477) #2539
No reviewers
Labels
No labels
blocked-on-build
bug
device
device-request
enhancement
from-github
needs-datasheet
needs-info
needs-triage
ready-for-agent
ready-for-human
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jaylouisw/packetforge!2539
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ci/1124-0627"
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.ymlandpr-rebase.ymldecide "checks are green" with the same predicate: at least one status, nothing butsuccess, andlegs >= 3wherelegscountsCI / Test (Node N)contexts. ci.yml's matrix narrowed to[22, 24]in #2477 (merged 2026-11-23T22:56:25Z), so no head has been able to satisfy it since. Both passes have exited 0 on every tick, printing "checks are not green yet", arming nothing and merging nothing - and because they exit 0, nothing ever went red about it.Evidence
e2e2dca3:/commits/e2e2dca3/statusreturnsstate: success, 6 contexts, of which exactly 2 are test legs (CI / Test (Node 22),CI / Test (Node 24)). Run against that live set: old predicate -> exit 1, new -> exit 0.auto-rebase: 37 runs since 22:56Z (task 26081 onwards), allsuccess. Task 26896 (run 10307, 02:30:29Z) armed nothing on a green queue.pr-rebase: 42 runs since 22:58Z (task 26092 onwards), allsuccess. Task 26902 (run 10309, PR #2512, 02:31:25->02:31:37Z) armed nothing on a head whose checks were green at 02:32:24.The change
legs >= 3->legs >= 2in bothchecks_green()functions - the floor ci.yml's ownArm auto-mergegate already uses (ci.ymlrefuses below 2). Comments in both files record why 2 and that the floor has to be lowered when the matrix narrows;main-health.yml's "three Node legs" note is corrected to two.Coverage unchanged
Same reader, same exclusion of the pass's own status, same "at least one status", same "nothing but success", same single merge POST. The floor stays a floor: one leg, a red, or a pending status still refuses. Fixtures: 2 legs green -> 0; 1 leg -> 1; red leg -> 1; pending -> 1; empty -> 1.
After: the first
auto-rebasetick after this merges is the measurement - a green pull request must be armed or merged from that tick, which has not happened once since 22:56Z.After, measured on main:
auto-rebasetask 27691 (run 10488, 2026-11-24T07:00:04Z) took 61 s instead of the 6-12 s a refusing tick costs, armed the two green pull requests, and #2538 merged at 07:08:42Z and #2540 at 07:08:14Z. Before, from 22:56Z to 06:56Z: 37 auto-rebase and 42 pr-rebase runs, allsuccess, none armed and none merged.