Repository navigation
ci: pin native AOT build jobs to ubuntu-24.04 - #4297
Conversation
Native AOT binaries link against the build host glibc. Pin the jobs that ship Linux binaries or containers so the ubuntu-latest move to 26.04 does not raise the glibc floor above the noble-chiseled base image and the runners that consume the release zip. Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
No actionable issues found.
What is this? | From workflow: PR Review
Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.
Pinning the Linux `build` job to `ubuntu-24.04` renamed its check to `build (ubuntu-24.04)`. Branch protection requires `build (ubuntu-latest)`, so that check would never report. The job name is now `build (${{ matrix.os }})` and a separate `matrix.runner` selects the runner. The `matrix.os == 'ubuntu-latest'` conditions that arrived from main stay valid.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
I merged Why the matrix changed. With What it does now. The job name is fixed to name: build (${{ matrix.os }})
runs-on: ${{ matrix.runner }}
strategy:
matrix:
include:
- os: ubuntu-latest
runner: ubuntu-24.04
- os: macos-latest
runner: macos-latest
- os: windows-latest
runner: windows-latestThe check names stay Verified: I also updated the description, since its |
GitHub is moving
ubuntu-latestto Ubuntu 26.04 in November (runner-images#14748), so I went through which docs-builder jobs would actually care.The ones that matter are the jobs that ship a Linux binary. docs-builder is published with native AOT on the runner itself, so the binary picks up the build host's glibc symbol versions. The current
1.61.0docs-builder-linux-x64.zip, built on 24.04 (glibc 2.39), already requiresGLIBC_2.38. If the same build runs on 26.04, the floor will likely move up again, and that binary then has to run in places that are still on 24.04:runtime-deps:10.0-noble-chiseledas the base (build/Targets.fs), which is 24.04.elastic/docs-actionspins its production runners toubuntu-24.04(ci: pin production workflow runners to Ubuntu 24.04 docs-actions#389), and itsdocs-builder/setupaction downloads the release zip.This PR pins the jobs that produce those artifacts to
ubuntu-24.04:release.yml:containers, and the Linux entry of thereleasematrix (publishzip)prerelease.yml:build(edge containers)ci.yml: the Linux entry of thebuildmatrix. The job name staysbuild (${{ matrix.os }})and a newmatrix.runnervalue selects the runner. The requiredbuild (ubuntu-latest)check keeps its name, and the existingmatrix.os == 'ubuntu-latest'conditions are unchanged.Everything else stays on
ubuntu-latest. The Lambdas already build inside Amazon Linux 2023 containers, so the host image doesn't affect them. I left a comment next to each pin so the next bump happens together with the base image.Two things I couldn't check: the
docs-builder-latest-16anddocs-internal-latest-16large runners are configured at org level, and I don't have access to see which image they use. The 26.04 side of this will be tested separately in a draft PR.🤖 Generated with Claude Code
Related to #4346