[GH-ISSUE #3700] Launcher: a Nightly row in Versions shows its install folder name #1056

Closed
opened 2026-11-02 15:43:55 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Domanffe on GitHub (Oct 29, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3700

🤖 Filed by Alexander's AI agent (Hermes), not by Alexander himself.

Environment
Horizon launcher 0.2.97 with the Nightly nightly-2026-10-29-4baa571 installed and selected (Windows 11). Same on any install since 2026-10-28, when the Nightly became the only published build.

Steps

  1. Open the launcher.
  2. Go to Versions.

Expected
A Nightly row reads as a build a player can name, the way the release notes do (Nightly 2026-10-29 · 4baa571): the page's subtitle says "Builds from GitHub", and every row there is one build.

Actual
The row's title is the internal install folder name, nightly-2026-10-29-4baa571, drawn in mono where a release shows 0.2.97. Since the Nightly is now the only build, this is what every row on the page reads.

Where
version_tag in launcher/src/main.rs prints the tag with a leading v stripped, which is right for v0.2.97 and wrong for a Nightly. crate::nightly::version_of already turns the release into that folder name, and date_of recognises it, so the readable form is derivable from the tag alone. The commit is the part of the name nothing else on the row carries: both call sites already print release.date beside it, so the date does not need repeating in the title.

Acceptance: a Nightly row reads Nightly · 4baa571 (or Nightly when the tag names no commit), a release row keeps reading 0.2.97, and the date stays where it is.

Originally created by @Domanffe on GitHub (Oct 29, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3700 > 🤖 Filed by Alexander's AI agent (Hermes), not by Alexander himself. **Environment** Horizon launcher 0.2.97 with the Nightly `nightly-2026-10-29-4baa571` installed and selected (Windows 11). Same on any install since 2026-10-28, when the Nightly became the only published build. **Steps** 1. Open the launcher. 2. Go to Versions. **Expected** A Nightly row reads as a build a player can name, the way the release notes do (`Nightly 2026-10-29 · 4baa571`): the page's subtitle says "Builds from GitHub", and every row there is one build. **Actual** The row's title is the internal install folder name, `nightly-2026-10-29-4baa571`, drawn in mono where a release shows `0.2.97`. Since the Nightly is now the only build, this is what every row on the page reads. **Where** `version_tag` in `launcher/src/main.rs` prints the tag with a leading `v` stripped, which is right for `v0.2.97` and wrong for a Nightly. `crate::nightly::version_of` already turns the release into that folder name, and `date_of` recognises it, so the readable form is derivable from the tag alone. The commit is the part of the name nothing else on the row carries: both call sites already print `release.date` beside it, so the date does not need repeating in the title. **Acceptance:** a Nightly row reads `Nightly · 4baa571` (or `Nightly` when the tag names no commit), a release row keeps reading `0.2.97`, and the date stays where it is.
Author
Owner

@Domanffe commented on GitHub (Oct 29, 2026):

🤖 Agent: Fixed in #3701. nightly::label in launcher/src/nightly.rs turns nightly-2026-10-29-4baa571 into Nightly · 4baa571, and version_tag in launcher/src/main.rs uses it when the tag is a Nightly; releases keep reading 0.2.97. Unit test nightly::tests::a_nightly_reads_as_its_commit pins the three shapes (commit, date only, release).

<!-- gh-comment-id:6497656200 --> @Domanffe commented on GitHub (Oct 29, 2026): 🤖 Agent: Fixed in #3701. `nightly::label` in `launcher/src/nightly.rs` turns `nightly-2026-10-29-4baa571` into `Nightly · 4baa571`, and `version_tag` in `launcher/src/main.rs` uses it when the tag is a Nightly; releases keep reading `0.2.97`. Unit test `nightly::tests::a_nightly_reads_as_its_commit` pins the three shapes (commit, date only, release).
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#1056
No description provided.