Merge pull request #1947 from ludovic111/feat/prepare-output-check

🤖 Agent: verified: OUTPUT_VERSION = 1 and output-versions.txt carry the digest measured on 10 CI preparations. tools/prepare_output.py check passes on v0.2.64's preparation and fails on v0.2.47's. This head's own parity job prepares with its preparer and checks the digest. Merging.
This commit is contained in:
Ludovic Marie
2026-10-26 00:47:05 +01:00
committed by GitHub
6 changed files with 283 additions and 0 deletions
+4
View File
@@ -39,6 +39,10 @@ copy is: the Mac mini. Its runner runs as the maintainer's account and keeps its
depend only on the Minecraft version, are kept once in `shared-local/sounds/<version>/` (copied from a folder
`horizon-prepare sounds` made from the maintainer's own game; the Mac mini has no official launcher of its own)
and cloned into each preparation (not linked: vanilla's packs refuse symbolic links), for the audio harnesses.
`tools/prepare_output.py check` then compares what was prepared with `crates/horizon-prepare/output-versions.txt`:
launchers keep a player's prepared resources across releases whose preparer declares the same `OUTPUT_VERSION`
(`crates/horizon-prepare/src/lib.rs`), so a change to the prepared files fails here until it bumps the number
and appends the new digest (the error gives both lines).
3. `tools/parity.py --changed <base sha>` picks the harnesses whose traced dependencies (their script, Python
modules, Java oracles and every Rust source their probes compile) changed since the merge base, plus any
harness nothing is recorded about yet, and runs those that have no pass for their current inputs. A change to