docs(releases): checksum records, and stable builds without compiled caches #3269

Merged
HumanBean merged 3 commits from HumanBean/Longshot:records-docs into main 2026-12-05 19:28:16 +00:00
Owner

Summary

Nightlies are pruned, so an old download could not be checked once its release was gone, and the release builds took compiled files from caches. MagicBeanAdmin/Release now records every release's SHA256SUMS and signature in the package store, and builds a stable from no compiled cache or earlier release. This updates the docs to match: docs/dev/reference/releases.md (the records, what a stable reuses, PACKAGES_TOKEN) and one paragraph of ci.md's release cache.

See Tooling 42 and Tooling 43.

Testing

Tested: Linux: dev.py test-changed (3 checks, all pass). A read-only dry run of Release's record script verified the signatures of all published releases (61 Longshot, 21 launcher).

Still to test:

  • Release runs: the first publish after the change records the releases that are up, expecting both files at the documented URLs (by hand).

Measurements

Nothing to measure: documentation only.

Risks

Documentation only; a revert is enough. A player notices nothing.

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.
  • mise run test passes (any failure that also fails on main is named). Waiting for CI; locally only test-changed ran.
  • 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.

🤖 Generated with Claude Code

## Summary Nightlies are pruned, so an old download could not be checked once its release was gone, and the release builds took compiled files from caches. MagicBeanAdmin/Release now records every release's `SHA256SUMS` and signature in the package store, and builds a stable from no compiled cache or earlier release. This updates the docs to match: `docs/dev/reference/releases.md` (the records, what a stable reuses, `PACKAGES_TOKEN`) and one paragraph of `ci.md`'s release cache. See [Tooling 42](https://git.magicbean.dev/MagicBeanDev/Tooling/issues/42) and [Tooling 43](https://git.magicbean.dev/MagicBeanDev/Tooling/issues/43). ## Testing **Tested:** Linux: `dev.py test-changed` (3 checks, all pass). A read-only dry run of Release's record script verified the signatures of all published releases (61 Longshot, 21 launcher). **Still to test:** - Release runs: the first publish after the change records the releases that are up, expecting both files at the documented URLs (by hand). ## Measurements Nothing to measure: documentation only. ## Risks Documentation only; a revert is enough. A player notices nothing. ## 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. - [ ] `mise run test` passes (any failure that also fails on `main` is named). Waiting for CI; locally only `test-changed` ran. - [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. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
docs(releases): checksum records, and stable builds without compiled caches
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
d789e6772c
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
HumanBean changed title from WIP: docs(releases): checksum records, and stable builds without compiled caches to docs(releases): checksum records, and stable builds without compiled caches 2026-12-05 18:55:07 +00:00
Author
Owner
@review
BeanBot left a comment

Recommendation: Approve. The documentation describes the intended release changes, but the first publish has not yet confirmed that the records appear at the documented URLs. CI is also still running. Nothing blocking is left. Recommend approval; not approved on the forge.

The change documents persistent signed checksum records and clean stable builds. It helps maintainers understand and verify releases, though the workflow summary still contradicts the new stable-build description.

Should fix (1): not blocking, but worth doing before merging.

  • L1 docs/dev/reference/releases.md:110: The workflow table above still says the build takes unchanged pack members from the last release for both platforms, contradicting the new stable-build rule. (more on the line) Do: Qualify the table's reuse and last-objects steps as nightly-only, including the Windows summary.

@fix can do L1.

Checks: Still running: 11 checks.

More: does it help, other systems, switches, what was read

Does it help: Unproven: the reported dry run verified signatures for 61 Longshot and 21 launcher releases, but the first publish has not yet checked that both record files are stored at the documented URLs. This is not a performance change.

Other systems: The pages describe Longshot and launcher release records and Linux and Windows builder releases. The Release repository and its workflow are not present in this checkout, so their implementation could not be checked directly.

Switches: No switches added, changed or removed. The documentation updates the existing PACKAGES_TOKEN description and mentions the existing clean workflow option.

Reviewed: d789e6772c against bb5a5682ce: Read AGENTS.md, CONTRIBUTING.md, the pull request template, the applicable standards, the diff and commit, and both changed reference pages. Checked related release and signing documentation; the external Release and Tooling repositories were unavailable.; nothing run (a code review).

Checked and fine:

  • The commit records AI assistance with a Co-Authored-By trailer.
  • The diff contains no game-derived files, generated files, code, or switch-table changes.
  • The checksum instructions call for verifying the signature before comparing the downloaded file's hash.

Testing: No commands from the project or tests were run, as requested. The PR reports three passing changed checks and a read-only signature dry run; the first publish check and CI remain pending.

Overlaps and merge order: Not checked; the network is closed.


Automated code review by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.

**Recommendation: Approve.** The documentation describes the intended release changes, but the first publish has not yet confirmed that the records appear at the documented URLs. CI is also still running. Nothing blocking is left. Recommend approval; not approved on the forge. The change documents persistent signed checksum records and clean stable builds. It helps maintainers understand and verify releases, though the workflow summary still contradicts the new stable-build description. **Should fix (1)**: not blocking, but worth doing before merging. - **L1** `docs/dev/reference/releases.md:110`: The workflow table above still says the build takes unchanged pack members from the last release for both platforms, contradicting the new stable-build rule. (more on the line) **Do:** Qualify the table's reuse and last-objects steps as nightly-only, including the Windows summary. `@fix` can do L1. **Checks:** Still running: 11 checks. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Unproven: the reported dry run verified signatures for 61 Longshot and 21 launcher releases, but the first publish has not yet checked that both record files are stored at the documented URLs. This is not a performance change. **Other systems:** The pages describe Longshot and launcher release records and Linux and Windows builder releases. The Release repository and its workflow are not present in this checkout, so their implementation could not be checked directly. **Switches:** No switches added, changed or removed. The documentation updates the existing PACKAGES_TOKEN description and mentions the existing clean workflow option. **Reviewed:** d789e6772c81 against bb5a5682cea3: Read AGENTS.md, CONTRIBUTING.md, the pull request template, the applicable standards, the diff and commit, and both changed reference pages. Checked related release and signing documentation; the external Release and Tooling repositories were unavailable.; nothing run (a code review). **Checked and fine:** - The commit records AI assistance with a Co-Authored-By trailer. - The diff contains no game-derived files, generated files, code, or switch-table changes. - The checksum instructions call for verifying the signature before comparing the downloaded file's hash. **Testing:** No commands from the project or tests were run, as requested. The PR reports three passing changed checks and a read-only signature dry run; the first publish check and CI remain pending. **Overlaps and merge order:** Not checked; the network is closed. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.</sub>
@ -108,3 +108,3 @@
- **Every job runs on Linux.** The Windows files are cross-built; what only Windows can check is a
[Windows tester's](#windows-tester).
- **The third-party objects come from the last release where they can.** Before compiling them, each build job runs
- **A stable is built from its commit, the locked crates and the pinned toolchain only.** It restores no compiled file
Member

L1 (should fix): The workflow table above still says the build takes unchanged pack members from the last release for both platforms, contradicting the new stable-build rule.

When: A maintainer reading the Linux or Windows job summary is told that a stable reuses earlier pack members, while this paragraph says it takes none.

Do: Qualify the table's reuse and last-objects steps as nightly-only, including the Windows summary.

**L1** (should fix): The workflow table above still says the build takes unchanged pack members from the last release for both platforms, contradicting the new stable-build rule. *When:* A maintainer reading the Linux or Windows job summary is told that a stable reuses earlier pack members, while this paragraph says it takes none. **Do:** Qualify the table's reuse and last-objects steps as nightly-only, including the Windows summary.
docs(releases): old keys, when records start, finding a second publication
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
80c6382911
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Author
Owner

L1: addressed. The build jobs' summary now says reusing the last release's objects and pack members is a nightly's.

L1: addressed. The build jobs' summary now says reusing the last release's objects and pack members is a nightly's.
docs(releases): the build jobs' summary: reuse is a nightly's
Some checks failed
PR description / Title and description (pull_request_target) Failing after 6s
CI / What the change needs (pull_request) Successful in 7s
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Waiting to run
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Waiting to run
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Waiting to run
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Waiting to run
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Waiting to run
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Waiting to run
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Waiting to run
CI / Website build and checks (pull_request) Waiting to run
CI / Third-party parts and guide screenshots (pull_request) Successful in 15s
9e51d4c895
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
HumanBean deleted branch records-docs 2026-12-05 19:28:17 +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!3269
No description provided.