[PR #133] [MERGED] Release train 1/4: cached verify, and a parity job on the Mac mini for what a PR can affect #2343

Closed
opened 2026-11-02 15:55:09 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: main ← Head: ci/release-train


📝 Commits (6)

  • 874d111 checks: cached verify, and a parity job on the Mac mini for the harnesses a PR can affect
  • 989f843 vanilla-data.sh: keep everything horizon-prepare writes per preparer version, beside the shared data
  • f6191fe parity_hosts.json: linux_only, empty: the four harnesses that once differed on macOS pass there
  • 7b82ee8 Two Horizon runners on the Mac mini: one preparation at a time; docs
  • cfad57d Mac runner: the game's sounds in each preparation; save_roundtrip Linux-only
  • 9e016b6 vanilla-data.sh: clone the sounds into each preparation instead of linking them

📊 Changes

8 files changed (+306 additions, -5 deletions)

View changed files

➕ .github/actionlint.yaml (+3 -0)
📝 .github/workflows/ci.yml (+48 -0)
➕ docs/release-flow.md (+71 -0)
📝 tests/test_parity_runner.py (+19 -0)
➕ tools/ci/runner-env.sh (+16 -0)
➕ tools/ci/vanilla-data.sh (+91 -0)
📝 tools/parity.py (+55 -5)
📝 tools/parity_hosts.json (+3 -0)

📄 Description

Part 1 of the release train (docs/release-flow.md describes the whole flow; parts 2–4 are stacked on this branch).

  • verify keeps dependencies and the workspace build in a cache saved by main's runs (Swatinem/rust-cache, pull requests read it). Superseded runs of a PR are cancelled.
  • parity (new) runs on the Mac mini's runner ([self-hosted, horizon-game]), which holds the maintainer's own Minecraft files:
    • tools/ci/runner-env.sh: the machine's Python 3.13 and pinned JDK on the PATH.
    • tools/ci/vanilla-data.sh: .local/ links to the runner's own copy of the vanilla data (cloned once into the runner's work folder), and .local/horizon-client is prepared by the PR's own horizon-prepare, once per preparer version.
    • tools/parity.py --changed <base sha>: harnesses whose traced dependencies changed since the merge base (or that nothing is recorded about), minus those that already passed with their current inputs. Logs of failures as an artifact. 25 min per harness, 45 per job.
    • Fork PRs: only when a maintainer adds run-parity, once per label, on the commit the PR had then.
  • tools/parity_hosts.json linux_only: harnesses that differ on macOS for a reason that is not a Horizon bug, skipped there with the reason (unless named).
  • Labels created: feature, release-now, skip-release, run-parity, parity-regression.

Test runs are listed in the comments below.

🤖 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/133 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/14/2026 **Status:** ✅ Merged **Merged:** 10/14/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `ci/release-train` --- ### 📝 Commits (6) - [`874d111`](https://github.com/horizon-rust/horizon/commit/874d111d6059a22e692ff41992c54bb703353ee0) checks: cached verify, and a parity job on the Mac mini for the harnesses a PR can affect - [`989f843`](https://github.com/horizon-rust/horizon/commit/989f843b1c744946f8bac7a9ddd6c2e08724c1a7) vanilla-data.sh: keep everything horizon-prepare writes per preparer version, beside the shared data - [`f6191fe`](https://github.com/horizon-rust/horizon/commit/f6191fe8ee050eab8c6cc3a4c40c477e4375fb14) parity_hosts.json: linux_only, empty: the four harnesses that once differed on macOS pass there - [`7b82ee8`](https://github.com/horizon-rust/horizon/commit/7b82ee8c16dd42fc0f76538102383576727c7c62) Two Horizon runners on the Mac mini: one preparation at a time; docs - [`cfad57d`](https://github.com/horizon-rust/horizon/commit/cfad57d0b17b95d6ba4edd44c4c631f0f35b9d49) Mac runner: the game's sounds in each preparation; save_roundtrip Linux-only - [`9e016b6`](https://github.com/horizon-rust/horizon/commit/9e016b623502bab7a2e90a42e11219e50952633b) vanilla-data.sh: clone the sounds into each preparation instead of linking them ### 📊 Changes **8 files changed** (+306 additions, -5 deletions) <details> <summary>View changed files</summary> ➕ `.github/actionlint.yaml` (+3 -0) 📝 `.github/workflows/ci.yml` (+48 -0) ➕ `docs/release-flow.md` (+71 -0) 📝 `tests/test_parity_runner.py` (+19 -0) ➕ `tools/ci/runner-env.sh` (+16 -0) ➕ `tools/ci/vanilla-data.sh` (+91 -0) 📝 `tools/parity.py` (+55 -5) 📝 `tools/parity_hosts.json` (+3 -0) </details> ### 📄 Description Part 1 of the release train (docs/release-flow.md describes the whole flow; parts 2–4 are stacked on this branch). - **verify** keeps dependencies and the workspace build in a cache saved by main's runs (`Swatinem/rust-cache`, pull requests read it). Superseded runs of a PR are cancelled. - **parity** (new) runs on the Mac mini's runner (`[self-hosted, horizon-game]`), which holds the maintainer's own Minecraft files: - `tools/ci/runner-env.sh`: the machine's Python 3.13 and pinned JDK on the PATH. - `tools/ci/vanilla-data.sh`: `.local/` links to the runner's own copy of the vanilla data (cloned once into the runner's work folder), and `.local/horizon-client` is prepared by the PR's own `horizon-prepare`, once per preparer version. - `tools/parity.py --changed <base sha>`: harnesses whose traced dependencies changed since the merge base (or that nothing is recorded about), minus those that already passed with their current inputs. Logs of failures as an artifact. 25 min per harness, 45 per job. - Fork PRs: only when a maintainer adds `run-parity`, once per label, on the commit the PR had then. - `tools/parity_hosts.json` `linux_only`: harnesses that differ on macOS for a reason that is not a Horizon bug, skipped there with the reason (unless named). - Labels created: `feature`, `release-now`, `skip-release`, `run-parity`, `parity-regression`. Test runs are listed in the comments below. 🤖 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-02 15:55:09 +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#2343
No description provided.