Repository navigation
ci: bump Ubuntu runner images from ubuntu-24.04 to ubuntu-26.04 - #4942
Conversation
ubuntu-latest now resolves to Ubuntu 26.04 in actions/runner-images, so the 24.04 pins have fallen off -latest and are next due. The nightly git-2.43.0 row stays on 24.04: it installs Git 2.43.0 from Ubuntu's package sources, which only noble carries.
worktrunk-bot
left a comment
There was a problem hiding this comment.
Both musl release-target legs fail on ubuntu-26.04 at link time, with undefined reference to 'renameat2' from renamore::linux::rename_exclusive (x86_64, aarch64). Main's nightly passes these legs on 24.04, so the image bump is what breaks them.
The cause is renamore 0.3.2's build.rs. It test-compiles a call to renameat2 with the target C compiler, which is musl-gcc from musl-tools. Resolute's musl (1.2.5-3build1) provides the symbol, so the probe succeeds and renamore skips compiling its own linux-musl.c syscall wrapper. rustc then links against Rust's self-contained musl, which lacks renameat2. On noble the probe failed, so the wrapper was compiled and the link succeeded.
A follow-up commit holds both musl rows on ubuntu-24.04 / ubuntu-24.04-arm, like the git-2.43.0 row, and records the reason. When noble leaves the supported images, this needs a real fix: either renamore's probe should check the libc that rustc actually links, or this job should link against the system musl.
On ubuntu-26.04 both musl legs fail to link: renamore's build script probes for renameat2 with musl-gcc, resolute's musl (1.2.5-3) provides it, so renamore skips its syscall wrapper, but rustc links against Rust's self-contained musl, which lacks the symbol. Co-Authored-By: Claude <[email protected]>
ubuntu-latestnow resolves to Ubuntu 26.04 in theactions/runner-imagesavailability table, so theubuntu-24.04pins have fallen off-latestand are the next image due (announced in actions/runner-images#14748). This moves theubuntu-24.04runners in the non-tend workflows toubuntu-26.04, except for the three nightly rows below. It is split from the rest of the week's pin pass, which found nothing else drifted, so a red Linux leg decides only this bump.Three nightly rows deliberately stay on 24.04, and a comment at each one plus the
ci.yamlheader records why:full-tests (git-2.43.0): its install step pins Git 2.43.0 from Ubuntu's package sources, and only noble carries that version (resolute ships1:2.53.0, per Launchpad's publishedgitsources).release-targetforx86_64-unknown-linux-musl(ubuntu-24.04) andaarch64-unknown-linux-musl(ubuntu-24.04-arm): on 26.04 both fail to link withundefined reference to 'renameat2'. renamore 0.3.2'sbuild.rstest-compilesrenameat2withmusl-gcc, and resolute's musl (1.2.5-3build1) provides it. So renamore skips its own syscall wrapper, but rustc links against Rust's self-contained musl, which lacks the symbol. When noble leaves the supported images, this needs a real fix rather than another pin.Verification
This PR's own Linux legs are the test, including the nightly workflow, which runs here because the PR touches
nightly.yaml. A runner image bump moves the preinstalled git, thezsh/fishpackagestest-setupinstalls, and the system toolchain, any of which the PTY and shell-integration suites can notice.Not exercised by PR CI:
release.yaml(runs only on a tag),publish-docs.yamlandbenchmarks.yaml(main / schedule only). Their jobs are moved for consistency with the header comment's pinning rule; if a maintainer would rather move the release jobs separately after a green week, they're an independent revert.The
tend-*.yamlworkflows stay onubuntu-24.04. Tend's generator writes them, and Tend deliberately pins its sandbox's packages to noble (max-sixty/tend#1289), so no upstream request is filed.