ci: the typecheck takes a first-wave slot instead of queueing behind the legs #2512
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!2512
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/1124-0202"
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?
Fixes #2500
typecheckwas the last job in.forgejo/workflows/ci.yml, on the argument thatdocker, both legs and this job are exactly the four jobs this runner takes at once, so nothing queues behind it. That holds on an idle host. Over the 37 runs since the job landed (10054-10196) its task was created a median 19 s after its own run's legs (p90 50 s, worst 56 s), and in 9 of them it was the last check in the run to report;armlists it inneeds, so the merge gate could not even be created until that status existed (run 10187: arm 100 s after the last leg).Change. The job (with its comment) moves to just after
dockerand beforetest- shortest job first, 16-18 s against 52-63 s for a leg - so it owns a slot in the first dispatch wave. Nothing else moves.Coverage unchanged, proven rather than asserted. The file is a permutation of the same lines: 1,989 lines, identical multiset; 817 non-comment lines, zero differences. Parsing both revisions shows
docker,test,typecheckandarmwith the same steps, same pinned runtimes (v22.23.5 / v24.22.3), samePF_TEST_CONCURRENCY(12 / 10), same status names and the samearm.needs- only their order changed,docker,test,typecheck,arm->docker,typecheck,test,arm.The typecheck comment said "It is dispatched last and that is safe now", which is the claim the measurement contradicts, so it now carries the numbers and the reason - the same shape
docker's ordering comment already uses.Gates
No script, test, gate or status name was touched.
125c9c743de2e2dca3bf