[PR #1430] [MERGED] Releases: one channel, every release is the latest once its checks pass #3518

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

📋 Pull Request Information

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

Base: main ← Head: feat/release-single-channel


📝 Commits (1)

  • 0e65e85 Releases: one channel, every release is the latest once its checks pass

📊 Changes

21 files changed (+212 additions, -583 deletions)

View changed files

📝 .github/CODEOWNERS (+0 -1)
➖ .github/workflows/promote.yml (+0 -55)
📝 .github/workflows/release.yml (+25 -10)
📝 docs/release-flow.md (+45 -70)
📝 docs/security.md (+10 -11)
📝 docs/versioning.md (+8 -8)
➖ tests/test_release_channels.py (+0 -147)
📝 tests/test_release_train.py (+27 -1)
➖ tools/release_channels.py (+0 -220)
📝 tools/release_train.py (+71 -28)
📝 website/build.mjs (+4 -3)
📝 website/docs/faq.md (+1 -1)
📝 website/docs/index.md (+1 -1)
📝 website/docs/install.md (+4 -9)
📝 website/docs/multiplayer.md (+1 -1)
📝 website/docs/settings.md (+2 -2)
📝 website/src/index.html (+1 -1)
📝 website/src/main.js (+4 -4)
📝 website/src/releases.html (+3 -4)
📝 website/src/releases.js (+3 -3)

...and 1 more files

📄 Description

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

What

Ludovic's decision (2026-10-23, 09:40Z): "No more distinction between Alpha and Stable … Alpha becomes our new Stable."

  • release.yml publishes every game release as the release and GitHub's latest (--latest). It no longer uses --prerelease --latest=false. Launchers, horizon-server update and install.sh take each release at once.
  • The checks that gated a promotion now run in the release itself. If either fails, nothing is published:
    • decide holds the train while an issue labelled release-blocker is open. Forced runs are held too. Reason line: held by release-blocker #N.
    • The publish job runs tools/release_train.py gate --smoke dist/smoke-test.json --blockers right before gh release create. The Mac mini's smoke report must be there and show a world was drawn (the same criteria as the build step), and no blocker may be open. That catches an issue labelled while the builds ran. A failed gate fails the job (::error::Nothing published); in a dry run it only warns. smoke-test.json is still attached to the release.
    • issues: read is added for the blocker lookup.
  • Retired: promote.yml, tools/release_channels.py and tests/test_release_channels.py are deleted (promote stays disabled; there is nothing left to enable), along with the CODEOWNERS line. release_train.py notes --stable and the "This is an alpha build" footer are removed.
  • Notes cover everything since the last release that is not a pre-release, so the first single-channel release lists all of it since v0.2.0. The old Alpha pre-releases (v0.2.1 on) are ignored.
  • Cadence unchanged: a 5-minute settle, at most 20 minutes, release-now at once. The 3-hour cooldown mentioned in the brief doesn't exist on main: it was replaced on 2026-10-15 (86e0e122, "no 3-hour gap"), so nothing was changed there.
  • Docs and site: one channel in docs/release-flow.md (a new "One channel" section), docs/versioning.md, docs/security.md, and on the site: the FAQ, install ("One version for everyone"), multiplayer/settings/index ("In Alpha builds" dropped), the home page lede and the Releases page (filter: All / Game / Launcher; badge Game). No player-facing "Alpha" is left. Launcher-side changes are in #1429.

How tested

  • python3 -m unittest tests.test_release_train: 18 pass. New tests cover the open blocker holding even forced runs, gate / smoke_problem, and notes never saying alpha/beta/Stable.
  • python3 -m unittest discover -s tests: 284 run, 2 errors (test_parity_runner…reuses_until…, test_rust_parity…sources_changed…). They fail the same way on plain origin/main (local environment).
  • tools/check_public_tree.py: passed. node --test website/src website/scripts: 19/19.
  • actionlint .github/workflows/release.yml: only the existing SC2034 on the signing step.

Release dry run on this branch: https://github.com/ludovic111/horizon/actions/runs/39935111815, every job green (decide, build linux/windows/macos with the Mac mini smoke test, sign, publish):

decide:  "reason": "28 pull requests changed what players run", "tag": "v0.2.13", "last": "v0.2.0"
publish: The signature, checked as launchers check it: v0.2.13: 4 files match SHA256SUMS
         {"chunks": 17, "elapsed_seconds": 3.26, "error": null, "frames": 5784, "generated": 17, "meshed_sections": 104, "player": [160.5, 78.0, 160.5]}
         Ready to publish: the smoke test passed and no release-blocker is open
         Would publish v0.2.13 at 0e65e858 as the release and latest: Horizon 0.2.13: Benchmark, screen overlays and 25 more changes
         SHA256SUMS, SHA256SUMS.sig, horizon-linux-x86_64.tar.gz, horizon-macos-arm64.zip,
         horizon-server-linux-x86_64.tar.gz, horizon-windows-x64.zip, smoke-test.json

Needs Ludovic

  • Merge order: #1428 first (as planned), then this, then #1429 (launcher), then ludovic111/kira#7.
  • #1428's release: it is player-facing, so the train starts a release 5 minutes after it merges. If this PR isn't merged inside that window, #1428 ships as one more pre-release under the old flow. Either way, the first single-channel release goes out on the next player-facing merge after this one.
  • No more 6-hour beta: a merged change reaches every player within minutes, gated only by checks, the smoke test and release-blocker (docs/security.md now says so).
  • New #releases pin: the text is in the agent's report to Ludovic.

🤖 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/1430 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/23/2026 **Status:** ✅ Merged **Merged:** 10/23/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `feat/release-single-channel` --- ### 📝 Commits (1) - [`0e65e85`](https://github.com/horizon-rust/horizon/commit/0e65e8587825144712e797bd9f5ac399ec94cd24) Releases: one channel, every release is the latest once its checks pass ### 📊 Changes **21 files changed** (+212 additions, -583 deletions) <details> <summary>View changed files</summary> 📝 `.github/CODEOWNERS` (+0 -1) ➖ `.github/workflows/promote.yml` (+0 -55) 📝 `.github/workflows/release.yml` (+25 -10) 📝 `docs/release-flow.md` (+45 -70) 📝 `docs/security.md` (+10 -11) 📝 `docs/versioning.md` (+8 -8) ➖ `tests/test_release_channels.py` (+0 -147) 📝 `tests/test_release_train.py` (+27 -1) ➖ `tools/release_channels.py` (+0 -220) 📝 `tools/release_train.py` (+71 -28) 📝 `website/build.mjs` (+4 -3) 📝 `website/docs/faq.md` (+1 -1) 📝 `website/docs/index.md` (+1 -1) 📝 `website/docs/install.md` (+4 -9) 📝 `website/docs/multiplayer.md` (+1 -1) 📝 `website/docs/settings.md` (+2 -2) 📝 `website/src/index.html` (+1 -1) 📝 `website/src/main.js` (+4 -4) 📝 `website/src/releases.html` (+3 -4) 📝 `website/src/releases.js` (+3 -3) _...and 1 more files_ </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. ## What Ludovic's decision (2026-10-23, 09:40Z): "No more distinction between Alpha and Stable … Alpha becomes our new Stable." - **release.yml** publishes every game release as the release and GitHub's **latest** (`--latest`). It no longer uses `--prerelease --latest=false`. Launchers, `horizon-server update` and install.sh take each release at once. - **The checks that gated a promotion now run in the release itself.** If either fails, nothing is published: - `decide` holds the train while an issue labelled `release-blocker` is open. Forced runs are held too. Reason line: `held by release-blocker #N`. - The publish job runs `tools/release_train.py gate --smoke dist/smoke-test.json --blockers` right before `gh release create`. The Mac mini's smoke report must be there and show a world was drawn (the same criteria as the build step), and no blocker may be open. That catches an issue labelled while the builds ran. A failed gate fails the job (`::error::Nothing published`); in a dry run it only warns. `smoke-test.json` is still attached to the release. - `issues: read` is added for the blocker lookup. - **Retired**: `promote.yml`, `tools/release_channels.py` and `tests/test_release_channels.py` are deleted (promote stays disabled; there is nothing left to enable), along with the CODEOWNERS line. `release_train.py notes --stable` and the "This is an alpha build" footer are removed. - **Notes** cover everything since the last release that is not a pre-release, so the first single-channel release lists all of it since v0.2.0. The old Alpha pre-releases (v0.2.1 on) are ignored. - **Cadence unchanged**: a 5-minute settle, at most 20 minutes, `release-now` at once. The 3-hour cooldown mentioned in the brief doesn't exist on main: it was replaced on 2026-10-15 (86e0e122, "no 3-hour gap"), so nothing was changed there. - **Docs and site**: one channel in docs/release-flow.md (a new "One channel" section), docs/versioning.md, docs/security.md, and on the site: the FAQ, install ("One version for everyone"), multiplayer/settings/index ("In Alpha builds" dropped), the home page lede and the Releases page (filter: All / Game / Launcher; badge `Game`). No player-facing "Alpha" is left. Launcher-side changes are in #1429. ## How tested - `python3 -m unittest tests.test_release_train`: 18 pass. New tests cover the open blocker holding even forced runs, `gate` / `smoke_problem`, and notes never saying alpha/beta/Stable. - `python3 -m unittest discover -s tests`: 284 run, 2 errors (`test_parity_runner…reuses_until…`, `test_rust_parity…sources_changed…`). They fail the same way on plain origin/main (local environment). - `tools/check_public_tree.py`: passed. `node --test website/src website/scripts`: 19/19. - `actionlint .github/workflows/release.yml`: only the existing SC2034 on the signing step. **Release dry run** on this branch: https://github.com/ludovic111/horizon/actions/runs/39935111815, every job green (decide, build linux/windows/macos with the Mac mini smoke test, sign, publish): ``` decide: "reason": "28 pull requests changed what players run", "tag": "v0.2.13", "last": "v0.2.0" publish: The signature, checked as launchers check it: v0.2.13: 4 files match SHA256SUMS {"chunks": 17, "elapsed_seconds": 3.26, "error": null, "frames": 5784, "generated": 17, "meshed_sections": 104, "player": [160.5, 78.0, 160.5]} Ready to publish: the smoke test passed and no release-blocker is open Would publish v0.2.13 at 0e65e858 as the release and latest: Horizon 0.2.13: Benchmark, screen overlays and 25 more changes SHA256SUMS, SHA256SUMS.sig, horizon-linux-x86_64.tar.gz, horizon-macos-arm64.zip, horizon-server-linux-x86_64.tar.gz, horizon-windows-x64.zip, smoke-test.json ``` ## Needs Ludovic - **Merge order**: #1428 first (as planned), then this, then #1429 (launcher), then ludovic111/kira#7. - **#1428's release**: it is player-facing, so the train starts a release 5 minutes after it merges. If this PR isn't merged inside that window, #1428 ships as one more pre-release under the old flow. Either way, the first single-channel release goes out on the next player-facing merge after this one. - **No more 6-hour beta**: a merged change reaches every player within minutes, gated only by checks, the smoke test and `release-blocker` (docs/security.md now says so). - **New #releases pin**: the text is in the agent's report to Ludovic. 🤖 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 04:10:06 +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#3518
No description provided.