roadmap BUILT

587. Most CI jobs do not need an arm64 host, and the arm64 queue is where the wait is

Built, 2026-09-24 (pull request #1249). (Number minted at promotion.) Promoted from the proposal ci-arch-split, filed 2026-09-24 by the maintainer/ci-arch-split lane, which the maintainer briefed after three merge-group builds waited over an hour at 19:05 UTC with 13 jobs running, all of them ubuntu-24.04-arm. calef ruled option B on 2026-09-24 ("Yes, proceed with B"), below under "The ruling". The text after this paragraph is the proposal's own except for that section, its gate line (dropped once BUILT), ## What was built, ## Follow-on and the ## Index row section. On 2026-10-12 (UTC) its measurement moved into an appendix under §212 (a prose budget), with a short summary left in its place.

What is being decided

Whether to move the jobs that do not need an arm64 host onto ubuntu-24.04 (x86_64), keeping arm64 only where the host architecture changes what a job proves.

The ruling

Option B, calef, 2026-09-24. Move the 15 jobs listed under "The recommendation" to ubuntu-24.04, and keep build + test, cpu matrix and re-falsify on arm64. Add prove the kernel on aarch64 inside the verify (Kani proofs) aggregate. Correct ci.yml's header, which says testing on aarch64 is "the one place CI catches" ordering bugs, a claim the host tests do not bear out (see "What is lost").

Done means three things. The implementation's own run shows every moved job green on x86_64 and the aarch64 kernel proof green. This block becomes BUILT in that pull request. The first merge-group builds after it lands are measured against the 16:00 to 18:00 rows of the hourly table in measurement.md.

The re-measure trigger. One week after the implementation merges, re-run the created-to-started queue measurement over that week's ci.yml and verify.yml jobs, by label. If the arm64 jobs that remain still wait a median over ten minutes in busy hours, the next lever is option D (the x86_64 guest legs out of build + test). If the x86_64 jobs have started waiting like arm64 did, the premise that x86_64 supply is looser was a single afternoon and this is revisited.

What was built

The implementation's own run, dispatched on the branch before merge: ci.yml 36060856009 and verify.yml 36060858268, both success. Every moved job green on ubuntu-24.04; prove the kernel on aarch64 green on ubuntu-24.04-arm in 0.8 minutes, proving arch::aarch64::iommu::proofs alongside the system call harnesses; the aggregate printed "the kernel proved on aarch64 too". Both shards proved on x86_64 in 15.6 and 16.3 minutes of wall time.

The evidence, in brief

On the afternoon of 2026-09-24 the organization's 60-job cap was not close, and x86_64 jobs in the same runs waited far less than arm64 ones. One run of each workflow on ubuntu-24.04 then matched the arm64 results on every job but one, and that one was an artifact of the copy. No job uses KVM or any accelerator; what decides whether a job needs an arm64 host is whether the host's architecture changes what gets proved or tested.

The recommendation

Move 15 of the 18 arm64 jobs to ubuntu-24.04, keep three on arm64, and add one small arm64 job. This is a reversible change: each job is one runs-on: line, and reverting it is the same line.

What it buys. On the reference run, every arm64 job waited behind a draft gate that itself queued 11 minutes on arm64, and then 47 to 62 minutes more. Moving both gates removes the serial arm64 wait at the front of every run. And a full run's arm64 demand drops from 18 jobs to 4, three of them the long QEMU jobs that genuinely want the host, so the queue that remains is for work that earns it.

Why the two QEMU jobs stay, and why only weakly. Recalled from QEMU's documentation, not measured here: multi-threaded TCG runs each guest core on its own host thread and translates guest loads and stores to plain host ones. So an aarch64 or riscv64 guest on an aarch64 host can observe reorderings the host permits, while on an x86_64 host it sees only what TSO allows. The tree already records the other half of that rule. helpers/qemu-runner-x86_64.sh notes that QEMU refuses parallel cores for an x86_64 guest on an aarch64 host (it falls back to round-robin), which is what a host weaker than its guest looks like. So the SMP kernel legs on arm64 are the only place CI puts guest code in front of weak-memory reorderings. Moving them would remove that silently. "Weakly" because nothing in this tree records a failure those legs caught that an x86_64 host would have missed. The value is a plausible class, not a demonstrated one.

Would we still choose this if both options cost the same? Yes. The recommendation keeps every job whose result depends on the host where it is, and moves the ones measured to produce identical results. The case is capacity, not effort, and the effort is small either way.

What is lost, said plainly

The options

What is blocked until this is answered

Nothing is blocked. The queue drains when arm64 supply returns, as it did by 19:30. What this decides is how often a lane waits an hour for a runner, and DECISIONS §203 (capacity is rented rather than bought) already names "merge throughput" as one of the three things runners buy.

BUGS

Follow-on

Index row

On 2026-09-24 arm64 hosted runners were the bottleneck, not the 60-job cap: ~20 jobs ran while 150+ waited. One measured x86_64 run of every job matched arm64's results, so 15 of 18 jobs move to ubuntu-24.04. The two SMP QEMU jobs and the arch falsification replay stay on arm64, and a one-minute aarch64 kernel proof keeps arch/aarch64/ proved.