fix(release): a runner's own longshot-builder is not held to the players' glibc floor, so the Windows release builds again #2541

Merged
HumanBean merged 1 commit from HumanBean/Longshot:push-kmloksxnwvkv into main 2026-11-25 16:17:29 +00:00
Owner

Summary

The nightly still fails after #2536. The Linux build passes now, but both Windows jobs stop with longshot_builder: what was built is not usable: needs glibc 2.39, newer than 2.35. The Windows release runner's system glibc is now 2.39. Each Windows job first builds a Linux longshot-builder to drive the build (its third-party objects, the pack, the deltas and the manifest), and that builder only ever runs on that runner. scripts/longshot_builder.py build still checked it against the players' glibc floor, as if it were shipped.

build --this-pc marks a builder made for the machine it runs on: the glibc floor doesn't apply to it, and every other check does. Four runner-only builds use it: build-linux.yml's and build-windows.yml's "longshot-builder for this runner", build-windows.yml's Vulkan back end job and vulkan-dlss.yml. What a release ships is built without --this-pc and is still held to glibc 2.35.

Read scripts/longshot_builder.py (problems, cmd_build, the --this-pc argument).

Testing

Tested: Linux (CachyOS): on this PC's own longshot-builder, which needs glibc 2.43, problems() reports the glibc floor without this_pc and nothing with it. build --help lists the option.

Still to test:

  • The release workflow: the first nightly after this merges builds both Windows jobs. This PR's CI doesn't run the release.

Measurements

Nothing to measure: a release-build check.

Risks

A runner-only builder linked against a newer glibc than players have is now allowed. It never leaves the runner, and the shipped builder's check is unchanged. Revert to undo.

Checklist

Ready for review

  • One topic, on current main; the title is a Conventional Commit.
  • Tested on my own PC, in the game for a change the game runs, as Testing says. (the game runs none of it: release scripts and workflows)
  • mise run test passes (any failure that also fails on main is named). (not run on this PC; this PR's CI runs it)
  • Measured against main, or Measurements says why there is nothing to measure.
  • No game files, build output or hand-edited generated files; third_party/ untouched; nothing GPL-incompatible.

When it applies

  • AI assistance recorded with Assisted-by: / Co-Authored-By: trailers.

Ready to merge

  • Everything in Still to test has run, its results in Tested.
  • Approved in review, every comment answered.
  • CI passes on the head; on current main, measured again or a comment says why the numbers still hold.

🤖 Generated with Claude Code

## Summary The nightly still fails after #2536. The Linux build passes now, but both Windows jobs stop with `longshot_builder: what was built is not usable: needs glibc 2.39, newer than 2.35`. The Windows release runner's system glibc is now 2.39. Each Windows job first builds a Linux longshot-builder to drive the build (its third-party objects, the pack, the deltas and the manifest), and that builder only ever runs on that runner. `scripts/longshot_builder.py build` still checked it against the players' glibc floor, as if it were shipped. `build --this-pc` marks a builder made for the machine it runs on: the glibc floor doesn't apply to it, and every other check does. Four runner-only builds use it: `build-linux.yml`'s and `build-windows.yml`'s "longshot-builder for this runner", `build-windows.yml`'s Vulkan back end job and `vulkan-dlss.yml`. What a release ships is built without `--this-pc` and is still held to glibc 2.35. Read `scripts/longshot_builder.py` (`problems`, `cmd_build`, the `--this-pc` argument). ## Testing **Tested:** Linux (CachyOS): on this PC's own longshot-builder, which needs glibc 2.43, `problems()` reports the glibc floor without `this_pc` and nothing with it. `build --help` lists the option. **Still to test:** - The release workflow: the first nightly after this merges builds both Windows jobs. This PR's CI doesn't run the release. ## Measurements Nothing to measure: a release-build check. ## Risks A runner-only builder linked against a newer glibc than players have is now allowed. It never leaves the runner, and the shipped builder's check is unchanged. Revert to undo. ## Checklist ### Ready for review - [x] One topic, on current `main`; the title is a Conventional Commit. - [ ] Tested on my own PC, in the game for a change the game runs, as Testing says. (the game runs none of it: release scripts and workflows) - [ ] `mise run test` passes (any failure that also fails on `main` is named). (not run on this PC; this PR's CI runs it) - [x] Measured against `main`, or Measurements says why there is nothing to measure. - [x] No game files, build output or hand-edited generated files; `third_party/` untouched; nothing GPL-incompatible. ### When it applies - [x] AI assistance recorded with `Assisted-by:` / `Co-Authored-By:` trailers. ### Ready to merge - [ ] Everything in Still to test has run, its results in Tested. - [ ] Approved in review, every comment answered. - [ ] CI passes on the head; on current `main`, measured again or a comment says why the numbers still hold. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix(release): a runner's own longshot-builder is not held to the players' glibc floor, so the Windows release builds again
Some checks failed
Third-party parts / The same as upstream (pull_request) Has been skipped
CI / Conventional Commit title (pull_request) Successful in 7s
CI / Workflow lint (actionlint) (pull_request) Successful in 12s
Guide screenshots / Guide images and local UI source review (pull_request) Successful in 12s
Third-party parts / As their notes say (pull_request) Successful in 14s
CI / Website build and checks (pull_request) Failing after 22s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Successful in 1m32s
CI / longshot-builder end to end (synthetic game) (pull_request) Successful in 1m49s
CI / Rust (rustfmt, clippy, cargo test) (pull_request) Successful in 3m0s
PR description / Description follows the template (pull_request_target) Failing after 4s
7866338f3c
The Windows release runner's glibc is now 2.39. The Linux longshot-builder each build job makes to drive the build
runs on that runner only, but longshot_builder.py build refused it as a player's program (glibc 2.35 at most), so
both Windows jobs of every nightly failed. build --this-pc skips that one check for such a builder; every other
check stays, and what is shipped is still held to 2.35.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
HumanBean changed title from WIP: fix(release): a runner's own longshot-builder is not held to the players' glibc floor, so the Windows release builds again to fix(release): a runner's own longshot-builder is not held to the players' glibc floor, so the Windows release builds again 2026-11-25 16:17:23 +00:00
HumanBean deleted branch push-kmloksxnwvkv 2026-11-25 16:17:29 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Longshot!2541
No description provided.