[PR #2801] [MERGED] Nightly builds name themselves on the title screen and in reports #4624

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

📋 Pull Request Information

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

Base: main ← Head: feat/nightly-game-label


📝 Commits (1)

  • 2af3308 Nightly builds name themselves on the title screen and in reports

📊 Changes

4 files changed (+58 additions, -3 deletions)

View changed files

📝 crates/horizon-client/src/crash.rs (+16 -3)
📝 crates/horizon-client/src/main.rs (+2 -0)
📝 crates/horizon-client/src/title.rs (+5 -0)
📝 crates/horizon-core/src/release.rs (+35 -0)

📄 Description

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

Part 3 of the Nightly channel (#2779 builds and publishes it; #2792 added the launcher's Nightly setting). A nightly game now says which build it is:

  • Title screen: "Nightly 2026-10-28 · 0c02067" in the top-left corner. This is the one spot no button reaches at any GUI scale; above the version line in the bottom-left corner it ran into Options. Releases and source builds draw nothing new.
  • Crash reports: "Horizon Version" is the nightly label.
  • Bug reports: the game log's first line is now Horizon <version>, so a launcher bug report that attaches the log names the build. Release builds get this line too; it is the only change they see.
  • Telemetry: the version is nightly-<date>-<sha>, the name the launcher installs the build under.

How it works: nightly-build.yml (#2779) sets HORIZON_NIGHTLY="<date> <sha>" for the build. horizon_core::release::{nightly_label, nightly_version} read it at compile time, and crash::version() / crash::release_tag() prefer it.

title screen of a nightly build

Tested: horizon-core tests pass both with and without HORIZON_NIGHTLY set. The screenshot is a fast build with HORIZON_NIGHTLY="2026-10-28 0c02067", run offscreen with scratch homes.

python3 tools/pr_ready.py --quick
Python tests ✅ 331 passed · rustfmt ✅ · clippy ✅ · tests horizon-client, horizon-core ✅ 1443 passed · doc tests ✅
Parity: 33 affected, to run in CI

🤖 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/2801 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/27/2026 **Status:** ✅ Merged **Merged:** 10/27/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `feat/nightly-game-label` --- ### 📝 Commits (1) - [`2af3308`](https://github.com/horizon-rust/horizon/commit/2af3308892de305bba2e1bdf843db7bc99e6cabb) Nightly builds name themselves on the title screen and in reports ### 📊 Changes **4 files changed** (+58 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/crash.rs` (+16 -3) 📝 `crates/horizon-client/src/main.rs` (+2 -0) 📝 `crates/horizon-client/src/title.rs` (+5 -0) 📝 `crates/horizon-core/src/release.rs` (+35 -0) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. Part 3 of the Nightly channel (#2779 builds and publishes it; #2792 added the launcher's Nightly setting). A nightly game now says which build it is: - **Title screen:** "Nightly 2026-10-28 · 0c02067" in the top-left corner. This is the one spot no button reaches at any GUI scale; above the version line in the bottom-left corner it ran into Options. Releases and source builds draw nothing new. - **Crash reports:** "Horizon Version" is the nightly label. - **Bug reports:** the game log's first line is now `Horizon <version>`, so a launcher bug report that attaches the log names the build. Release builds get this line too; it is the only change they see. - **Telemetry:** the version is `nightly-<date>-<sha>`, the name the launcher installs the build under. How it works: nightly-build.yml (#2779) sets `HORIZON_NIGHTLY="<date> <sha>"` for the build. `horizon_core::release::{nightly_label, nightly_version}` read it at compile time, and `crash::version()` / `crash::release_tag()` prefer it. ![title screen of a nightly build](https://raw.githubusercontent.com/ludovic111/horizon/screenshots/nightly-1/nightly-game/title-nightly.png) Tested: `horizon-core` tests pass both with and without `HORIZON_NIGHTLY` set. The screenshot is a fast build with `HORIZON_NIGHTLY="2026-10-28 0c02067"`, run offscreen with scratch homes. ``` python3 tools/pr_ready.py --quick Python tests ✅ 331 passed · rustfmt ✅ · clippy ✅ · tests horizon-client, horizon-core ✅ 1443 passed · doc tests ✅ Parity: 33 affected, to run in CI ``` 🤖 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:06:44 +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#4624
No description provided.