fix(ci): the nightly, the Rust tests and the website build pass on main again #2536

Merged
HumanBean merged 1 commit from HumanBean/Longshot:push-uzskrlktxstn into main 2026-11-25 15:15:04 +00:00
Owner

Summary

No nightly has come out since #2286 merged, and CI on main fails in three places. All three are fixed here:

  • The nightly: release.yml's "The version" ran scripts/ci_rust.sh and cargo build in one step. ci_rust.sh hands cargo's PATH on through $GITHUB_PATH, which reaches only the steps after it, so the job ended in cargo: command not found (run 53538, job "The version"). The Linux and Windows builds then failed because they need it. ci_rust.sh now has a step of its own, in release.yml and in tools.yml, which had the same pattern.
  • Rust tests: channel::tests::a_game_process_says_hello_over_the_ends_it_inherits ran its stand-in game with sh, which is dash on CI. Dash takes no fd number above 9 in >&$w ("Bad fd number"). Both channel tests that redirect to the channel's ends now run bash.
  • The website: the help page's group list must end its introduction, and #2286 put the doctor paragraph after it ("Help page group list changed"). The paragraph now goes above the list; the text is unchanged.

Testing

Tested: Linux (CachyOS, RTX 3090): cargo test -p build-core -p build-driver --lib channel passes (12 tests). longshot-builder dev tools check and check --require pass on main, so after the split, The version gets past the tools. The workflows and the website build run in this PR's CI.

Still to test: None beyond this PR's CI and the first nightly after it merges.

Measurements

Nothing to measure: CI workflows, tests and a docs paragraph.

Risks

None for players: the game and the builder are unchanged. A revert brings back the failures.

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. (nothing here runs in the game: workflows, tests, docs)
  • 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

  • Docs updated.
  • 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 No nightly has come out since #2286 merged, and CI on `main` fails in three places. All three are fixed here: - **The nightly:** `release.yml`'s "The version" ran `scripts/ci_rust.sh` and `cargo build` in one step. `ci_rust.sh` hands cargo's PATH on through `$GITHUB_PATH`, which reaches only the steps after it, so the job ended in `cargo: command not found` (run 53538, job "The version"). The Linux and Windows builds then failed because they need it. `ci_rust.sh` now has a step of its own, in `release.yml` and in `tools.yml`, which had the same pattern. - **Rust tests:** `channel::tests::a_game_process_says_hello_over_the_ends_it_inherits` ran its stand-in game with `sh`, which is dash on CI. Dash takes no fd number above 9 in `>&$w` ("Bad fd number"). Both channel tests that redirect to the channel's ends now run `bash`. - **The website:** the help page's group list must end its introduction, and #2286 put the `doctor` paragraph after it ("Help page group list changed"). The paragraph now goes above the list; the text is unchanged. ## Testing **Tested:** Linux (CachyOS, RTX 3090): `cargo test -p build-core -p build-driver --lib channel` passes (12 tests). `longshot-builder dev tools check` and `check --require` pass on `main`, so after the split, The version gets past the tools. The workflows and the website build run in this PR's CI. **Still to test:** None beyond this PR's CI and the first nightly after it merges. ## Measurements Nothing to measure: CI workflows, tests and a docs paragraph. ## Risks None for players: the game and the builder are unchanged. A revert brings back the failures. ## 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. (nothing here runs in the game: workflows, tests, docs) - [ ] `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] Docs updated. - [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(ci): the nightly, the Rust tests and the website build pass on main again
Some checks failed
Website / Website on Cloudflare (pull_request_target) Has been skipped
Website / Website builds (pull_request_target) Has been skipped
Website / Website preview, build (pull_request_target) Has been skipped
Website / Website preview, upload (pull_request_target) Has been skipped
Third-party parts / The same as upstream (pull_request) Has been skipped
Website / Website on Cloudflare (pull_request) Has been skipped
Website / Website preview, build (pull_request) Has been skipped
Website / Website preview, upload (pull_request) Has been skipped
CI / Conventional Commit title (pull_request) Successful in 7s
CI / Workflow lint (actionlint) (pull_request) Successful in 13s
Guide screenshots / Guide images and local UI source review (pull_request) Successful in 13s
Third-party parts / As their notes say (pull_request) Successful in 15s
CI / Website build and checks (pull_request) Failing after 24s
Website / Website builds (pull_request) Failing after 24s
CI / longshot-builder end to end (synthetic game) (pull_request) Successful in 2m20s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Successful in 2m54s
CI / Rust (rustfmt, clippy, cargo test) (pull_request) Successful in 4m56s
PR description / Description follows the template (pull_request_target) Failing after 8s
99eb1d6ebd
- release.yml and tools.yml run scripts/ci_rust.sh in a step of its own: the PATH it hands on through
  $GITHUB_PATH reaches the steps after it only, so the cargo beside it was not found and every nightly since
  #2286 stopped in The version.
- The channel tests' stand-in games are bash scripts: dash, CI's sh, takes no fd number above 9 in >&$w.
- The help page's doctor paragraph goes above the group list, which must end its introduction.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Member

Possibly related, for context:

  • PR #2519 test(builder): the channel tests' stand-in game runs under bash, which takes descriptors of 10 and up — Overlapping fix: same channel tests switched to bash
Possibly related, for context: - PR #2519 test(builder): the channel tests' stand-in game runs under bash, which takes descriptors of 10 and up — Overlapping fix: same channel tests switched to bash
HumanBean changed title from WIP: fix(ci): the nightly, the Rust tests and the website build pass on main again to fix(ci): the nightly, the Rust tests and the website build pass on main again 2026-11-25 15:14:57 +00:00
HumanBean deleted branch push-uzskrlktxstn 2026-11-25 15:15:04 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
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!2536
No description provided.