roadmap NOT-STARTED

962. CI's hosted runners move from Ubuntu 24.04 to Ubuntu 26.04

(Title and slug provisional.)

Reuse: GitHub's own hosted images and labels, unchanged; the canary reuses milestone 587 (most CI jobs do not need an arm64 host)'s method of one paired run per workflow, compared job by job. Nothing new is written beyond a cache-key input and a canary dispatch.

Raised 2026-10-23 (UTC) by lane maintainer/proposal-ubuntu-26-04-runners. Every Linux job in .github/workflows/ names ubuntu-24.04 or ubuntu-24.04-arm. GitHub made both 26.04 labels generally available on 2026-09-17. This proposal measures what the move touches and stages it. It changes no workflow.

Availability

All four facts below were read from actions/runner-images on 2026-10-23.

So availability is not the dependency. The newest released images on 2026-10-23 are ubuntu26/20261012.163 (x64) and ubuntu26-arm64/20261018.155.

Inventory

runs-on across 26 workflow files, counted by parsing them on 2026-10-23: 35 jobs on ubuntu-24.04, 40 on ubuntu-24.04-arm, one matrix, one windows-latest.

workflow ubuntu-24.04 (x86_64) ubuntu-24.04-arm
ci.yml 17: gate, test, swish-check-x86_64, cpu-matrix, fmt, lint, clippy, fastpath-footprint, boot-file-size-check, interleavings, build-is-reproducible, image-permissions, stack-frame-check, bench, supply-chain, fuzz, coverage 7: test-shard, swish-check, rg-threads, rg-threads-x86_64, boot-check, cpu-matrix-shard, watchdog
ci.yml main-caches matrix leg matrix leg (with Kani)
verify.yml 5: gate, scope, prove, falsify, verify 3: prove-kernel-aarch64, prove-kernel-riscv64, falsify-shard
codeql.yml 4: gate, analyze, upload, upload-retry
falsifications.yml 3: record-times, sweep-swish-x86_64, sweep-x86_64 4: plan, sweep, system-call-fuzz, confined-fuzz
toolchain-bump.yml 2: restamp, propose-kani 1: propose
mutation-gate.yml 1: gate 1: mutation-gate
fleet-metrics.yml, verify-shard-refresh.yml, stick-maker-hosts.yml (linux) 1 each
mutation.yml 4: mutants, report, inflow, record
kani-reach.yml 3: plan, prove, report
merge-drain.yml, architect-ruled-clears-hold.yml 2 each
thirteen one-job bot and cadence workflows 1 each

stick-maker-hosts.yml's windows-latest job is out of scope.

Other places that name the image or depend on what it ships:

What the tree records as depending on 24.04

git grep for 24.04 across design/, notes/, briefs/, script/, helpers/ and xtask/ finds about 90 lines. They fall into three kinds.

Milestone 193's warning, and why it is about the architecture

Milestone 193 (put kernel/src within reach of the prover) ends its follow-on with a Recorded. bullet: the kernel row works "because every job in verify.yml runs on ubuntu-24.04-arm. A change to that runner label breaks the row". The mechanism, in notes/kernel-proofs.md, was kernel/Cargo.toml depending on aarch64-cpu unconditionally. Kani compiles for the host, so an x86_64 host failed to build the kernel crate.

That dependency is about the host's architecture, not the Ubuntu release, and it is gone. Commit 1cab1aab9 (2026-08-31) target-gated aarch64-cpu. Milestone 304 (cargo kani -p kernel only ever compiled one architecture) then proved the kernel row on both, and since milestone 587 verify.yml's prove shards run on x86_64. Moving ubuntu-24.04-arm to ubuntu-26.04-arm keeps the architecture, so it breaks nothing here. The bullet and its source paragraph (notes/kernel-proofs.md, near line 278) are stale today.

Dated observations, which stay true

Milestones 304, 310, 428, 587, 589, 627, 635, 755, 861, 870, 914 and 920, and the notes under notes/kani-upstream/ and notes/net/, record what was measured on a 24.04 host on a stated day. Milestone 126 (the procps package, now process-tools) is one: it records procps 2:4.0.4-4ubuntu3.2 from a 24.04 container. A move does not falsify a dated measurement, so none needs an edit.

Present-tense claims the move makes false, or that are false already

What changes in 26.04

Versions come from the two 26.04 image READMEs and Launchpad's published sources for noble and resolute, read 2026-10-23. "Verified" means run on an Ubuntu 26.04.1 x86_64 host with this tree checked out. Nothing was run on an arm64 26.04 host.

item 24.04 26.04 effect how known
apt QEMU 8.2.2 10.2.1 none in CI (never used) verified: riscv-iommu-pci present
edk2 / OVMF 2024.02 2025.11 none in CI; OVMF_CODE_4M.fd keeps its name verified
glibc 2.39 2.43 the cache hazard below verified
Python 3.12.3 3.14.4 script/lint needs 3.11+ verified: lint run under 3.14.4
Ruby 3.2.3 3.3.8, on both images two lint checks run ruby -ryaml verified: lint run under 3.3.8
shellcheck 0.9.0 0.11.0 new warnings could fail lint verified: lint run under 0.11.0
default clang 18 21 builds c_shim verified it builds; instruction counts unmeasured
dtc 1.7.0 1.7.2 lint compares committed .dtb files verified: 33 pairs match
Kani 0.68.0, CBMC 6.11.0 bundle same bundle runs on glibc 2.43 verified x86_64, a one-harness crate; arm64 a guess
/tmp root disk RAM-backed tmpfs builds in temp read from GitHub's issue, below

Caches built on one release poison the other

A QEMU 11.1.2 built by script/ci-qemu on 26.04 requires GLIBC_2.43 (objdump -T on the built binary), so it cannot start on 24.04. The keys carry the architecture but not the release, so both releases on one architecture share an entry. That happens whenever both run at once: during a canary, on branches cut before a flip, and after a revert. Whichever release saves the entry first serves the other one. A 24.04 job handed a 26.04 binary gets an empty version from script/ci-qemu's warm check and rebuilds, which costs about 4.5 minutes in every QEMU job of every run. The rebuild is never saved, because the key already exists. The patched Kani and every rust-cache entry carry the same hazard. The other direction, a 24.04 build on 26.04, links the same sonames and probably runs, but nobody has run it.

The fix is one more key input: the release, read from /etc/os-release in a step. It is safe to land on 24.04 first, and it costs one cold rebuild per pool.

/tmp is RAM-backed, and GitHub's fix has not shipped

Ubuntu 26.04 mounts /tmp as tmpfs at half of memory. On hosted runners that is about 7.8 GB, and a regular user's quota stops writes near 6.3 GB (#14777, opened 2026-09-23 and confirmed by a runner-images maintainer on both 26.04 images the next day). PR #14814 masks tmp.mount and merged 2026-10-20. Both released 26.04 images were built before that, so they still mount tmpfs. That follows from the dates; it was not observed on a runner.

What nife writes to the system temp directory:

So the canary prints findmnt /tmp first. If the fix has still not shipped, the alternative is a systemctl mask tmp.mount step in each job that writes large temporaries, or a TMPDIR on the work disk.

Cost

Measured from the Actions API for one UTC day, 2026-10-21: 2,469 completed runs and 14,668 job minutes, 7,969 on ubuntu-24.04-arm and 6,699 on ubuntu-24.04. ci.yml and verify.yml are 13,146 of them. Dividing by the day's 76 full ci.yml suites (the swish-check count) and 70 verify.yml scopes, one full pair costs about 177 job minutes.

Public repositories run standard hosted runners at no charge (recalled from GitHub's billing documentation, not read today). The cost that binds is arm64 queue time, which milestone 587 found was where the queue waited.

What done means

Plan

  1. Separate the caches. Add the release to the QEMU, Kani and rust-cache keys, on 24.04, in one pull request. It costs one cold rebuild per pool and changes nothing else.
  2. Canary x86_64. On a branch, change only the ubuntu-24.04 labels and dispatch ci.yml and verify.yml (briefs/gate-in-ci.md, "Gating while the pull request stays draft"). Every job prints findmnt /tmp. Compare job by job against the same commit's 24.04 run. x86_64 goes first because it carries the Python, Ruby, shellcheck and dtc changes (in lint), the bench counts, and most Kani proving, without arm64's queue.
  3. Flip x86_64: 35 jobs and main-caches' x86_64 leg, in one pull request.
  4. Canary arm64 the same way: the build shards, cpu-matrix-shard, re-falsify, the two prove-kernel-* jobs and one mutation shard. These carry the guest's weak-ordering coverage and cargo mutants' temp copies.
  5. Flip arm64: 40 jobs and the other matrix leg. The bot workflows go in this step, though nothing in them depends on the release.
  6. Correct the record: the present-tense claims listed above, and the Containerfile's base image, so script/runner-container still approximates the runner.
  7. Bump basalt in its own pull request after nife lands, citing the nife commit.

Each flip is one label edit, reverted by one commit. The irreversible part is small: the present-tense records, and a published bench number if the counts were to move.

Risks

Choices for calef

These are an architect's, and nothing above decides them.

  1. Pin ubuntu-26.04 and ubuntu-26.04-arm, or float on ubuntu-latest. Floating is only possible on x86_64, because no arm64 -latest label exists. So floating would leave the two pools on different releases whenever -latest moves. Recommendation: pin, for the reason this tree pins .qemu-version and the toolchain. A runner that changes release unannounced changes what "the tests passed" means. The cost is this proposal, once every two years.
  2. When to flip. Now, with a tmp.mount mask in the jobs that need it, or after a released 26.04 image carries #14814. Recommendation: land step 1 now and run the canaries now. Flip once findmnt shows the fix, since a mask step is code to delete later.
  3. Whether CI keeps building QEMU 11.1.2 now that 26.04's packaged 10.2.1 has the device. A cold build is about 4.5 minutes per pool per cache expiry. Using apt's would change the emulator under every instruction count and break parity with the development Mac's 11.1.x. This is not part of the move. Recommendation: keep the build.
  4. Whether basalt moves in lockstep or on its own schedule. Its jobs build and test the same image, so lockstep keeps the two gates comparable.

Lint on 26.04, measured

On 2026-10-23, script/lint ran on Ubuntu 26.04.1 x86_64 with this tree, Python 3.14.4, Ruby 3.3.8, shellcheck 0.11.0 and clang 21.1.8, and all 108 of its sections passed. Ruby parsed all 26 workflow files and the issue forms; shellcheck passed 146 scripts with no warnings. That host had no dtc, so the .dtb check skipped; run separately with Ubuntu 26.04's dtc 1.7.2, it compared 33 pairs and all matched. A Python 3.14 change that could bite, the tarfile extraction default, does not: the tree's one extractall (script/vendor-verify) passes filter="data" already, and nothing imports multiprocessing.

Found while measuring

Index row

Every Linux job in nife's CI runs on Ubuntu 24.04, and GitHub made 26.04 generally available on 2026-09-17. The move is a label edit per job, but three things make it more than that: caches keyed without the release, a /tmp that 26.04 puts in memory, and a canary that shows the instruction counts did not move.