fix(packager): the release dry run and deltas call the builder's dev commands #2769

Merged
HumanBean merged 1 commit from HumanBean/Longshot:fix/packager-dev-commands into main 2026-11-28 22:26:30 +00:00
Owner

Summary

#2762 moved the builder's sources, compile and stamps under dev. The packager built from the same commit still called them without it, so nightly-906's release failed with longshot-builder: unknown argument "--cache" (Release run 329).

  • builder/crates/longshot-packager/src/release_cmd.rs (release dry-run) now calls dev sources and dev compile.
  • release_deltas.rs now calls dev stamps.
  • main.rs: the packager accepts a leading dev, for the Windows dry run that hands the packager itself in the builder's place.

The Release workflow's temporary wrapper (MagicBeanAdmin/Release 3067d549) adds dev in front of every builder call. It will be changed to drop a dev that is already there, so it works before and after this merges.

Testing

Tested: cargo clippy -p longshot-packager --tests -D warnings and cargo fmt --check, run in the queue.

Still to test:

  • Release: the next nightly's Linux and Windows jobs pass the dry run and deltas steps (the Release workflow).

Measurements

Nothing to measure: these are release tooling command lines only.

Risks

A release-only change; players notice nothing. A revert is enough.

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 doesn't run this.)
  • mise run test passes (any failure that also fails on main is named). Not run; only the packager's clippy.
  • 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 [#2762](https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/2762) moved the builder's `sources`, `compile` and `stamps` under `dev`. The packager built from the same commit still called them without it, so nightly-906's release failed with `longshot-builder: unknown argument "--cache"` ([Release run 329](https://git.magicbean.dev/MagicBeanAdmin/Release/actions/runs/329)). - `builder/crates/longshot-packager/src/release_cmd.rs` (`release dry-run`) now calls `dev sources` and `dev compile`. - `release_deltas.rs` now calls `dev stamps`. - `main.rs`: the packager accepts a leading `dev`, for the Windows dry run that hands the packager itself in the builder's place. The Release workflow's temporary wrapper (MagicBeanAdmin/Release `3067d549`) adds `dev` in front of every builder call. It will be changed to drop a `dev` that is already there, so it works before and after this merges. ## Testing **Tested:** `cargo clippy -p longshot-packager --tests -D warnings` and `cargo fmt --check`, run in the queue. **Still to test:** - Release: the next nightly's Linux and Windows jobs pass the dry run and deltas steps (the Release workflow). ## Measurements Nothing to measure: these are release tooling command lines only. ## Risks A release-only change; players notice nothing. A revert is enough. ## Checklist ### Ready for review - [x] One topic, on current `main`; the title is a Conventional Commit. - [x] Tested on my own PC, in the game for a change the game runs, as Testing says. (The game doesn't run this.) - [ ] `mise run test` passes (any failure that also fails on `main` is named). Not run; only the packager's clippy. - [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(packager): the release dry run and deltas call the builder's dev sources, dev compile and dev stamps
Some checks failed
CI / What the change needs (pull_request) Successful in 12s
CI / Third-party parts and guide screenshots (pull_request) Failing after 16s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Successful in 13s
PR description / Title and description (pull_request_target) Failing after 7s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Failing after 3m34s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Successful in 2m12s
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Successful in 5m41s
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Successful in 5m39s
CI / Website build and checks (pull_request) Failing after 36s
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Failing after 29m59s
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Failing after 41m47s
5c09c898db
#2762 moved them under dev; the packager from the same commit still called them bare, so the nightly's dry run
failed with unknown argument "--cache". The packager also takes a leading dev, for the dry run that hands it in
the builder's place.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
HumanBean changed title from WIP: fix(packager): the release dry run and deltas call the builder's dev commands to fix(packager): the release dry run and deltas call the builder's dev commands 2026-11-28 22:26:23 +00:00
HumanBean deleted branch fix/packager-dev-commands 2026-11-28 22:26:30 +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!2769
No description provided.