[PR #1013] [MERGED] Launcher: stable builds by default, a "Beta builds" switch, and each version's channel #2986

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

📋 Pull Request Information

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

Base: main ← Head: feat/launcher-beta-builds


📝 Commits (1)

  • 10d76ad Launcher: stable builds by default, a "Beta builds" switch, and each version's channel

📊 Changes

7 files changed (+101 additions, -17 deletions)

View changed files

📝 launcher/src/backend.rs (+63 -4)
📝 launcher/src/backend/release_loading_tests.rs (+4 -0)
📝 launcher/src/cli.rs (+3 -2)
📝 launcher/src/main.rs (+27 -8)
📝 launcher/src/mcp.rs (+1 -1)
📝 website/build.mjs (+2 -1)
📝 website/src/main.js (+1 -1)

📄 Description

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

Security brief (Ludovic, 2026-10-19), item 1, player side. It pairs with #1012, which makes every game release a beta that becomes stable 6 hours later. Merge it after #1012 or before it: without #1012 there are no betas, and this changes nothing for players.

What

  • The launcher's backend reads GitHub's prerelease flag as Release::beta. New versions install by themselves from the stable channel by default (backend::channel). The same goes for install latest from the CLI/MCP.
  • Settings → "Beta builds" (off by default): "New versions as soon as they are released, before they become stable 6 hours later." Turning it on checks for updates again at once, and installs if auto-install is on.
  • The Versions page shows each build's channel (Stable · 2026-10-19 · 120 MB). horizon-launcher versions and --json add a channel column/field, and so does the MCP releases output.
  • A player who already has a beta installed is never "updated" to an older stable version.
  • Website: the patch notes (baked and live) list stable releases only. Its download buttons point at the launcher, whose releases aren't betas.

Kira needs no change: it already skips pre-releases and posts a release when it becomes stable. horizon-server update reads releases/latest, which is stable.

How tested

  • cargo test --features gpui/runtime_shaders in launcher/: all pass (63 + 6 + 1). The new updates_follow_the_stable_channel_unless_betas_are_on covers stable vs beta offers, an installed beta never downgraded, and the setting's default.
  • cargo clippy --features gpui/runtime_shaders --all-targets -- -D warnings: clean. cargo fmt: clean. node --check on website/src/main.js and website/build.mjs.
  • No screenshot: the Mac mini's session is locked, so screencapture only sees the lock screen. The Settings row reuses the same index_row + switch as "Install new versions automatically".

Needs Ludovic

Nothing. Labelled feature (the switch is player-facing).

🤖 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/1013 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/19/2026 **Status:** ✅ Merged **Merged:** 10/19/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `feat/launcher-beta-builds` --- ### 📝 Commits (1) - [`10d76ad`](https://github.com/horizon-rust/horizon/commit/10d76ad89d96c0f66cda7a2a5e8e0b0ab54697be) Launcher: stable builds by default, a "Beta builds" switch, and each version's channel ### 📊 Changes **7 files changed** (+101 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `launcher/src/backend.rs` (+63 -4) 📝 `launcher/src/backend/release_loading_tests.rs` (+4 -0) 📝 `launcher/src/cli.rs` (+3 -2) 📝 `launcher/src/main.rs` (+27 -8) 📝 `launcher/src/mcp.rs` (+1 -1) 📝 `website/build.mjs` (+2 -1) 📝 `website/src/main.js` (+1 -1) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. Security brief (Ludovic, 2026-10-19), item 1, player side. It pairs with #1012, which makes every game release a beta that becomes stable 6 hours later. Merge it after #1012 or before it: without #1012 there are no betas, and this changes nothing for players. ## What - The launcher's backend reads GitHub's `prerelease` flag as `Release::beta`. New versions install by themselves from the **stable** channel by default (`backend::channel`). The same goes for `install latest` from the CLI/MCP. - **Settings → "Beta builds"** (off by default): "New versions as soon as they are released, before they become stable 6 hours later." Turning it on checks for updates again at once, and installs if auto-install is on. - The **Versions page** shows each build's channel (`Stable · 2026-10-19 · 120 MB`). `horizon-launcher versions` and `--json` add a `channel` column/field, and so does the MCP `releases` output. - A player who already has a beta installed is never "updated" to an older stable version. - Website: the patch notes (baked and live) list stable releases only. Its download buttons point at the launcher, whose releases aren't betas. Kira needs no change: it already skips pre-releases and posts a release when it becomes stable. `horizon-server update` reads `releases/latest`, which is stable. ## How tested - `cargo test --features gpui/runtime_shaders` in launcher/: all pass (63 + 6 + 1). The new `updates_follow_the_stable_channel_unless_betas_are_on` covers stable vs beta offers, an installed beta never downgraded, and the setting's default. - `cargo clippy --features gpui/runtime_shaders --all-targets -- -D warnings`: clean. `cargo fmt`: clean. `node --check` on website/src/main.js and website/build.mjs. - No screenshot: the Mac mini's session is locked, so `screencapture` only sees the lock screen. The Settings row reuses the same `index_row` + `switch` as "Install new versions automatically". ## Needs Ludovic Nothing. Labelled `feature` (the switch is player-facing). 🤖 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:00:38 +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#2986
No description provided.