ci(docker): start the floor runtime download with the checkout, not in front of the smoke test #2514
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!2514
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ci/1124-0227"
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 slow
Server smoke and Docker build(task 26842, run 10300, push to main, 2026-11-24T02:11:09Z) took 48 s; over the 112 tasks of the two days to 2026-11-24T02:27Z it is p50 45 s, p90 57 s, max 90 s - against hourly medians of 21-25 s on 2026-11-21, before the smoke client needed a runtime of its own (#2491).The step #2491 added downloads
v22.23.5/node-v22.23.5-linux-x64.tar.gz(56,856,114 bytes) and unpacks it on the serial path: nothing after it can start until it finishes. Measured against that exact URL in a container here: 2.35 s download + 1.43 s unpack = 3.78 s that nothing overlapped, in a job that already overlaps its Docker CLI fetch and its smoke test.The change
The checkout step above already spends ~5 s fetching the commit and a few more seconds classifying the diff, and neither needs the tarball's bytes. The download and unpack now start there - after the
git fetch, so the two never compete for the same link - andProvide the runtime the smoke client needswaits on a marker file instead of starting the download./opt/node-v22.23.5only when complete, so a half-written tree can never look executable.curl, the same single retry and the same[ -x ... ]assertion the step always had. The only thing this can move is the clock.stop_prefetch), as this job already stops its Docker CLI prefetch.check-node-floor.jsrun in every build.Baseline / after
Server smoke and Docker buildThe after numbers are not a like-for-like comparison and are reported as they are: those three pushes landed on a saturated host - their
Test (Node 22)legs took 69/63/68 s where the same job on the baseline window is p50 54 s - so the job's end-to-end delta sits inside today's +-20 s host noise. The measured part is the step: 3.78 s of serialized download and unpack that is now overlapped with work the job was already doing. Dispatched A/B runs on a quiet host (baselineci/1124-abat572494bfvsmain) are recorded below as they complete.Coverage unchanged: every suite still runs in both legs, the smoke test still runs on the floor runtime, the version assertion still runs, the image still builds; nothing is skipped, softened or retried that was not before. The patched workflow ran the full suite green on both Node legs in runs 10325, 10331 and 10333 before this merged.
Local:
node scripts/check-ci-disk-hygiene.jsandnode scripts/check-canonical-urls.jspass, both edited step bodies passbash -n, the YAML parses.Measured A/B, dispatched on this host after the merge, old workflow vs new, one run each in sequence:
ci/1124-ab@572494bf(before)main(after)ci/1124-ab@572494bf(before)main(after)The host was busy while these interleaved (10358's legs at 97 s are the tell), so the honest reading is: the step this PR overlaps is worth 3.78 s measured directly against the same tarball, and the job-level deltas above (73 -> 73, 73 -> 48) are dominated by how loaded the host was when each run landed, not by 4 s.
Coverage unchanged: full suite green on both Node legs in runs 10325, 10331, 10333 (patched branch), 10358 and 10360 (patched main), and in the merge's own push run 10341.