[PR #1129] [MERGED] Release train: a release line (0.2) for vX.Y.Z and launcher@X.Y.Z tags #3075

Closed
opened 2026-11-02 16:01:18 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: main ← Head: feat/release-line


📝 Commits (1)

  • 9a3237c Release train: a release line (0.2) for vX.Y.Z and launcher@X.Y.Z tags

📊 Changes

7 files changed (+245 additions, -49 deletions)

View changed files

📝 .github/workflows/launcher.yml (+9 -5)
📝 .github/workflows/release.yml (+2 -1)
📝 docs/release-flow.md (+28 -11)
📝 tests/test_release_channels.py (+17 -0)
📝 tests/test_release_train.py (+65 -0)
📝 tools/release_channels.py (+6 -13)
📝 tools/release_train.py (+118 -19)

📄 Description

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

Part 4 of 7 of the switch to 0.2 (design: #1126, docs/versioning.md). Safe to merge now: without .github/release-line.txt (added only by the go-day switch PR) the train keeps vYYYY.MM.DD[.N] and launcher-vX.Y.Z. Merging it does not re-enable anything and publishes nothing (workflows disabled, RELEASES_PAUSED=1).

What

  • tools/release_train.py: with a line in .github/release-line.txt (MAJOR.MINOR), game tags vMAJOR.MINOR.PATCH and launcher tags launcher@MAJOR.MINOR.PATCH, each the patch after the newest release on the line; never a line below one that has releases. A line's first release goes out at once (not while paused). tag_key ranks every 0.2 tag above every tag from before.
  • tools/release_channels.py uses the same tag test and key, so promotion and "latest only moves forward" work across the switch (v0.2.0 follows the last dated stable; no dated beta can follow v0.2.0).
  • Notes: a line's first release opens with a paragraph; 0.2.0's explains the numbering and the one command for a server that says it is up to date.
  • launcher.yml: strips either prefix for HORIZON_LAUNCHER_VERSION and passes HORIZON_LAUNCHER_TAG (the launcher's own line, #1128). release.yml: comment only.
  • docs/release-flow.md: a Tags section, the launcher's tags, notes titles.

Proof

python3 -m unittest tests.test_release_train tests.test_release_channels   26 OK (6 new)
python3 -m unittest discover -s tests   289 run, 2 errors (test_parity_runner / test_rust_parity: the same 2 on plain origin/main here)
actionlint launcher.yml release.yml     only the 2 shellcheck warnings main already has

Read-only decide runs against GitHub (head origin/main, nothing published):

no line file, RELEASES_PAUSED=1:   False "RELEASES_PAUSED is set"  launcher-v0.17.0   (the bridge)
line 0.2:  launcher               True "the first release of 0.2" launcher@0.2.0  (last launcher-v0.16.0)
line 0.2:  game                   True "the first release of 0.2" v0.2.0         (last v2026.10.21)

notes --tag v0.2.0 (read-only): "Horizon 0.2.0: Cave culling, weather, video settings, stars and 29 more changes", opening with "Horizon is numbered from now on: this is Horizon 0.2.0, the release after 2026.10.21. …".

The workflow edits can't be run before go-day (no dry runs while frozen); the version=${tag#launcher-v}; ${version#launcher@} and HORIZON_LAUNCHER_TAG lines are the only behavioural changes there.

🤖 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/1129 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/21/2026 **Status:** ✅ Merged **Merged:** 10/22/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `feat/release-line` --- ### 📝 Commits (1) - [`9a3237c`](https://github.com/horizon-rust/horizon/commit/9a3237c5ac31085e872dc87fa92159b1f331c486) Release train: a release line (0.2) for vX.Y.Z and launcher@X.Y.Z tags ### 📊 Changes **7 files changed** (+245 additions, -49 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/launcher.yml` (+9 -5) 📝 `.github/workflows/release.yml` (+2 -1) 📝 `docs/release-flow.md` (+28 -11) 📝 `tests/test_release_channels.py` (+17 -0) 📝 `tests/test_release_train.py` (+65 -0) 📝 `tools/release_channels.py` (+6 -13) 📝 `tools/release_train.py` (+118 -19) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. **Part 4 of 7 of the switch to 0.2** (design: #1126, docs/versioning.md). Safe to merge now: without `.github/release-line.txt` (added only by the go-day switch PR) the train keeps `vYYYY.MM.DD[.N]` and `launcher-vX.Y.Z`. Merging it does not re-enable anything and publishes nothing (workflows disabled, `RELEASES_PAUSED=1`). ## What - `tools/release_train.py`: with a line in `.github/release-line.txt` (`MAJOR.MINOR`), game tags `vMAJOR.MINOR.PATCH` and launcher tags `launcher@MAJOR.MINOR.PATCH`, each the patch after the newest release on the line; never a line below one that has releases. A line's first release goes out at once (not while paused). `tag_key` ranks every 0.2 tag above every tag from before. - `tools/release_channels.py` uses the same tag test and key, so promotion and "latest only moves forward" work across the switch (`v0.2.0` follows the last dated stable; no dated beta can follow `v0.2.0`). - Notes: a line's first release opens with a paragraph; 0.2.0's explains the numbering and the one command for a server that says it is up to date. - `launcher.yml`: strips either prefix for `HORIZON_LAUNCHER_VERSION` and passes `HORIZON_LAUNCHER_TAG` (the launcher's own line, #1128). `release.yml`: comment only. - `docs/release-flow.md`: a Tags section, the launcher's tags, notes titles. ## Proof ``` python3 -m unittest tests.test_release_train tests.test_release_channels 26 OK (6 new) python3 -m unittest discover -s tests 289 run, 2 errors (test_parity_runner / test_rust_parity: the same 2 on plain origin/main here) actionlint launcher.yml release.yml only the 2 shellcheck warnings main already has ``` Read-only `decide` runs against GitHub (head origin/main, nothing published): ``` no line file, RELEASES_PAUSED=1: False "RELEASES_PAUSED is set" launcher-v0.17.0 (the bridge) line 0.2: launcher True "the first release of 0.2" launcher@0.2.0 (last launcher-v0.16.0) line 0.2: game True "the first release of 0.2" v0.2.0 (last v2026.10.21) ``` `notes --tag v0.2.0` (read-only): "Horizon 0.2.0: Cave culling, weather, video settings, stars and 29 more changes", opening with "Horizon is numbered from now on: this is Horizon 0.2.0, the release after 2026.10.21. …". The workflow edits can't be run before go-day (no dry runs while frozen); the `version=${tag#launcher-v}; ${version#launcher@}` and `HORIZON_LAUNCHER_TAG` lines are the only behavioural changes there. 🤖 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 16:01:18 +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#3075
No description provided.