[PR #3342] [MERGED] Launcher: the Nightly is the only game build, for everyone #4914

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

📋 Pull Request Information

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

Base: main ← Head: feat/launcher-nightly-only


📝 Commits (1)

  • a1bdb0d Launcher: the Nightly is the only game build, for everyone

📊 Changes

7 files changed (+257 additions, -272 deletions)

View changed files

📝 launcher/README.md (+17 -11)
📝 launcher/lang/fr.json (+0 -7)
📝 launcher/lang/ru.json (+0 -7)
📝 launcher/src/backend.rs (+149 -26)
📝 launcher/src/main.rs (+14 -126)
📝 launcher/src/nightly.rs (+71 -90)
📝 launcher/src/signed.rs (+6 -5)

📄 Description

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

Step 3 of Nightly only (Ludovic, 2026-10-28; proposed by kacpherek and levzzz5154). Same logo, no Nightly badge.

Players see: at the next check (start, or every 30 minutes), the launcher installs the current Nightly and plays it: "Nightly 2026-10-28 · 9b772b2 available" on Play and in Settings. Their worlds stay where they are: versions live in versions/, worlds in the game's folder. The "Nightly builds" setting is gone. Versions lists the current Nightly, the last week's, and the old vX.Y.Z releases (installable by hand, never as an update).

  • Update: game_releases reads the nightly pre-release from the list the launcher already fetches (no extra request) and lists it as nightly-<date>-<commit> (Release::nightly keeps its GitHub tag). backend::install checks it with signed::nightly_digest(tag, …) (signed for the Nightly channel, served from nightly or a dated nightly-<date>). ReleaseOrder::Nightly(date) ranks after every release; horizon_update offers the newest build that isn't installed and isn't older, so a second Nightly the same day is an update.
  • Moving players: select_after_update moves a player on nothing, on a Nightly, or on the newest installed release (everyone on the release channel today). A release picked by hand and instances pinned to a version stay. nightly::after_update points the old opt-in "Nightly" instance at the new build and removes older Nightlies that nothing selects or pins.
  • Removed: Settings::nightly, the Settings row, update_nightly/set_nightly, Msg::Nightly* and 7 strings in fr/ru. An old "nightly": true is ignored.
  • Msg::Updates is boxed (clippy large_enum_variant: Release grew).

Checked end to end with the CLI in scratch homes (HORIZON_HOME, HORIZON_LAUNCHER_HOME, XDG, trash/clipboard/desktop all mktemp -d; removed after): versions lists nightly-2026-10-28-9b772b2, nightly-2026-10-28-83f15fa, nightly-2026-10-27-7954902, then v0.2.95…; after install v0.2.95 (a release-channel player), update --check says nightly-2026-10-28-9b772b2 is available, and update installed it (signature checked) and selected it: * nightly-2026-10-28-9b772b2, v0.2.95 kept. New tests: every_launcher_updates_to_the_current_nightly, players_of_the_newest_release_move_to_the_nightly, only_unused_older_nightlies_are_removed. No GUI screenshot: the only visible change is the removed Settings row and the update line's text.

Rollout: merge after #3326 (a Nightly built on main's newest green commit, held by release-blocker) and #3331 (servers). Once a launcher release carries this, the train switches to Nightlies (next PR) and Kira follows (horizon-rust/kira#52). Until then, launchers that haven't updated keep getting vX.Y.Z.

⚠️ For Ludovic: whatever the reviewers' /nightly set holds reaches every player once this ships. Today that is #3048, about 116 open pull requests, not reviewed yet. /nightly clear makes the Nightly main alone.

pr_ready (tools/pr_ready.py --quick on ludovics-mac-mini, against origin/main at a1e56a4d1)

Check Result
Scope ✅ 7 files, +252 −268
Python tests ✅ 402 passed
launcher rustfmt ✅
launcher clippy ✅ after boxing Msg::Updates (rerun by hand: cargo clippy --all-targets -D warnings clean)
launcher tests ✅ 223 passed; account::tests::the_whole_chain fails on this Mac mini on main's code too (a stray / request reaches its local test server), so it is environmental. CI's launcher job runs it
Parity ➖ 1 affected, to run in CI: lan_integration

🤖 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/3342 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/28/2026 **Status:** ✅ Merged **Merged:** 10/28/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `feat/launcher-nightly-only` --- ### 📝 Commits (1) - [`a1bdb0d`](https://github.com/horizon-rust/horizon/commit/a1bdb0d22d09d43c2cc2ee9cb3412aac31c4b4cc) Launcher: the Nightly is the only game build, for everyone ### 📊 Changes **7 files changed** (+257 additions, -272 deletions) <details> <summary>View changed files</summary> 📝 `launcher/README.md` (+17 -11) 📝 `launcher/lang/fr.json` (+0 -7) 📝 `launcher/lang/ru.json` (+0 -7) 📝 `launcher/src/backend.rs` (+149 -26) 📝 `launcher/src/main.rs` (+14 -126) 📝 `launcher/src/nightly.rs` (+71 -90) 📝 `launcher/src/signed.rs` (+6 -5) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. Step 3 of **Nightly only** (Ludovic, 2026-10-28; proposed by kacpherek and levzzz5154). Same logo, no Nightly badge. **Players see:** at the next check (start, or every 30 minutes), the launcher installs the current Nightly and plays it: "Nightly 2026-10-28 · 9b772b2 available" on Play and in Settings. Their worlds stay where they are: versions live in `versions/`, worlds in the game's folder. The "Nightly builds" setting is gone. Versions lists the current Nightly, the last week's, and the old `vX.Y.Z` releases (installable by hand, never as an update). - **Update:** `game_releases` reads the `nightly` pre-release from the list the launcher already fetches (no extra request) and lists it as `nightly-<date>-<commit>` (`Release::nightly` keeps its GitHub tag). `backend::install` checks it with `signed::nightly_digest(tag, …)` (signed for the Nightly channel, served from `nightly` or a dated `nightly-<date>`). `ReleaseOrder::Nightly(date)` ranks after every release; `horizon_update` offers the newest build that isn't installed and isn't older, so a second Nightly the same day is an update. - **Moving players:** `select_after_update` moves a player on nothing, on a Nightly, or on the newest installed release (everyone on the release channel today). A release picked by hand and instances pinned to a version stay. `nightly::after_update` points the old opt-in "Nightly" instance at the new build and removes older Nightlies that nothing selects or pins. - **Removed:** `Settings::nightly`, the Settings row, `update_nightly`/`set_nightly`, `Msg::Nightly*` and 7 strings in fr/ru. An old `"nightly": true` is ignored. - `Msg::Updates` is boxed (clippy `large_enum_variant`: `Release` grew). **Checked end to end** with the CLI in scratch homes (`HORIZON_HOME`, `HORIZON_LAUNCHER_HOME`, XDG, trash/clipboard/desktop all `mktemp -d`; removed after): `versions` lists `nightly-2026-10-28-9b772b2`, `nightly-2026-10-28-83f15fa`, `nightly-2026-10-27-7954902`, then `v0.2.95`…; after `install v0.2.95` (a release-channel player), `update --check` says `nightly-2026-10-28-9b772b2 is available`, and `update` installed it (signature checked) and selected it: `* nightly-2026-10-28-9b772b2`, `v0.2.95` kept. New tests: `every_launcher_updates_to_the_current_nightly`, `players_of_the_newest_release_move_to_the_nightly`, `only_unused_older_nightlies_are_removed`. No GUI screenshot: the only visible change is the removed Settings row and the update line's text. **Rollout:** merge after #3326 (a Nightly built on main's newest green commit, held by `release-blocker`) and #3331 (servers). Once a launcher release carries this, the train switches to Nightlies (next PR) and Kira follows (horizon-rust/kira#52). Until then, launchers that haven't updated keep getting `vX.Y.Z`. ⚠️ **For Ludovic:** whatever the reviewers' `/nightly` set holds reaches every player once this ships. Today that is #3048, about 116 open pull requests, not reviewed yet. `/nightly clear` makes the Nightly main alone. **pr_ready** (`tools/pr_ready.py --quick` on ludovics-mac-mini, against origin/main at a1e56a4d1) | Check | Result | | --- | --- | | Scope | ✅ 7 files, +252 −268 | | Python tests | ✅ 402 passed | | launcher rustfmt | ✅ | | launcher clippy | ✅ after boxing `Msg::Updates` (rerun by hand: `cargo clippy --all-targets -D warnings` clean) | | launcher tests | ✅ 223 passed; `account::tests::the_whole_chain` fails on this Mac mini **on main's code too** (a stray `/` request reaches its local test server), so it is environmental. CI's launcher job runs it | | Parity | ➖ 1 affected, to run in CI: lan_integration | 🤖 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:08:53 +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#4914
No description provided.