[PR #3820] [MERGED] horizon-prepare: OUTPUT_VERSION 2 (the command registries now export selected_entities) #5236

Closed
opened 2026-11-03 05:11:10 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/3820
Author: @ludovic111
Created: 10/29/2026
Status: ✅ Merged
Merged: 10/29/2026
Merged by: @levzzz5154

Base: main ← Head: fix/prepare-output-version-2


📝 Commits (2)

  • 7ed5855 horizon-prepare: OUTPUT_VERSION 2 (command registries export selected_entities)
  • 0c49146 Merge remote-tracking branch 'origin/main' into fix/prepare-output-version-2

📊 Changes

2 files changed (+2 additions, -1 deletions)

View changed files

📝 crates/horizon-prepare/output-versions.txt (+1 -0)
📝 crates/horizon-prepare/src/lib.rs (+1 -1)

📄 Description

🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself.

What and why

Every parity run since about 17:20Z fails at "The prepared output is the one the preparer's OUTPUT_VERSION says": the prepared output changed (digest 55f3f289…), but OUTPUT_VERSION is still 1. Examples: run 40901362573 (#3756) and run 40915163390.

The cause is #3410, merged 15:51Z. It made VanillaCommandParseOracle, which also writes command-registries.json during preparation, export selected_entities. That is a real change to the prepared files, so players need to prepare again. #3410 was proven in a local union, and that path skips CI parity, so it skipped this check too. The orchestrator's union proofs will run prepare_output.py check from now on.

This bumps OUTPUT_VERSION to 2 and appends 2 55f3f28952309654cb7202fcd051e6b90c034c5ee96ec64472cc6a488597254d to output-versions.txt, as the check asks.

I compared the last good preparation on the Mac mini runner (key 4ab36185…) with the new one (5e8927c7…). Besides lambda addresses and tag order, which canonical() already ignores, the only content change is selected_entities in command-registries.json.

Vanilla reference

none (preparer version number)

Self-check

  • cargo test -p horizon-prepare --lib: 41 passed. This includes the test that the constant matches output-versions.txt.
  • python3 tools/prepare_output.py check on the runner's new preparation: prepared output: OUTPUT_VERSION 2 (23055 files, 55f3f28952309654).

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/3820 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/29/2026 **Status:** ✅ Merged **Merged:** 10/29/2026 **Merged by:** [@levzzz5154](https://github.com/levzzz5154) **Base:** `main` ← **Head:** `fix/prepare-output-version-2` --- ### 📝 Commits (2) - [`7ed5855`](https://github.com/horizon-rust/horizon/commit/7ed5855e4a5afc3798accfc7123ae4a85dedfb21) horizon-prepare: OUTPUT_VERSION 2 (command registries export selected_entities) - [`0c49146`](https://github.com/horizon-rust/horizon/commit/0c49146fc809dd7aa6265b696e3fa58ee5602627) Merge remote-tracking branch 'origin/main' into fix/prepare-output-version-2 ### 📊 Changes **2 files changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-prepare/output-versions.txt` (+1 -0) 📝 `crates/horizon-prepare/src/lib.rs` (+1 -1) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. ## What and why Every parity run since about 17:20Z fails at "The prepared output is the one the preparer's OUTPUT_VERSION says": the prepared output changed (digest `55f3f289…`), but `OUTPUT_VERSION` is still 1. Examples: run 40901362573 (#3756) and run 40915163390. The cause is #3410, merged 15:51Z. It made `VanillaCommandParseOracle`, which also writes `command-registries.json` during preparation, export `selected_entities`. That is a real change to the prepared files, so players need to prepare again. #3410 was proven in a local union, and that path skips CI parity, so it skipped this check too. The orchestrator's union proofs will run `prepare_output.py check` from now on. This bumps `OUTPUT_VERSION` to 2 and appends `2 55f3f28952309654cb7202fcd051e6b90c034c5ee96ec64472cc6a488597254d` to `output-versions.txt`, as the check asks. I compared the last good preparation on the Mac mini runner (key `4ab36185…`) with the new one (`5e8927c7…`). Besides lambda addresses and tag order, which `canonical()` already ignores, the only content change is `selected_entities` in `command-registries.json`. ## Vanilla reference none (preparer version number) ## Self-check - `cargo test -p horizon-prepare --lib`: 41 passed. This includes the test that the constant matches `output-versions.txt`. - `python3 tools/prepare_output.py check` on the runner's new preparation: `prepared output: OUTPUT_VERSION 2 (23055 files, 55f3f28952309654)`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:11:10 +07:00
Sign in to join this conversation.
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
horizon-rust/horizon#5236
No description provided.