Repository navigation
ci: experiment with native AOT builds on ubuntu-26.04 - #4298
theletterf wants to merge 6 commits into
Conversation
Build the release zip and containers on ubuntu-24.04 and ubuntu-26.04, report the glibc floor of each binary, and run each binary on both images and inside the noble-chiseled base. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
| run: dotnet run --project build -c release -- publishcontainers | ||
|
|
||
| - name: Run Container | ||
| run: dotnet run --project build -c release -- runlocalcontainer |
There was a problem hiding this comment.
Severity: P2 (Medium)
The existing runlocalcontainer target invokes docker docker run ... for both images (build/Targets.fs:102–104). Docker rejects the extra docker subcommand before starting a container, so both container checks will fail independently of glibc compatibility and never exercise the AOT binaries. Fix the target or invoke docker run directly here so these failures provide meaningful compatibility evidence.
Generated by Libra. React with 👍 or 👎 to give feedback on this comment.
`zizmor` asks for the `$/` self-repository form instead of `./` in `uses:`, and `actionlint` flags the three separate `>>` redirects in the glibc report (SC2129). The two bootstrap steps now use `$/.github/actions/bootstrap`, and the report writes its table through one grouped redirect. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Fixed the two failing checks. |
|
Closing: the experiment answered its question. A binary built on 26.04 is fine, so there is no reason to keep the pin once |
This is the experiment side of #4297: before we decide how long to stay pinned, I want measured evidence of what happens when docs-builder's native AOT binary is built on Ubuntu 26.04 instead of 24.04.
elastic/docs-actions#390 already showed that a 24.04-built binary runs fine on 26.04. This PR tests the other direction, which is the one that would bite us after
ubuntu-latestmoves to 26.04 in November (runner-images#14748).I added a single workflow,
experiment-ubuntu-26-aot.yml, that only triggers on changes to itself:zip: runs./build.sh publishziponubuntu-24.04andubuntu-26.04, and writes the host glibc and the binary's highest requiredGLIBC_*symbol to the job summary.run-zip: runs each binary on both images (2×2), prints--version, and builds a small docs fixture. This is the path thedocs-actionsdocs-builder/setupaction takes.container: runspublishcontainers(withDOCKER_NO_PUBLISH=true) thenrunlocalcontaineron each image, which layers the host-built binary ontoruntime-deps:10.0-noble-chiseled. That's exactly whatrelease.ymlandprerelease.ymlship.If the 26.04-built binary fails on 24.04 or in the container with
GLIBC_x.y not found, that red check is the finding, not a broken draft. It's what justifies #4297. If everything passes, we have evidence that the pin is precautionary and can be lifted, perhaps alongside a move to a newer chiseled base.Permissions are
contents: readonly, nothing gets pushed to a registry, and artifacts expire after three days. This stays in draft and isn't meant to be merged.🤖 Generated with Claude Code
Related to #4346