fix(wizard): register builds under a linked Linux home #308

Merged
HumanBean merged 1 commit from HumanBean/LongshotLauncher:fix/linked-home-build-registration into main 2026-11-27 18:50:24 +00:00
Owner

Summary

On Bazzite and Fedora Atomic, a build can finish successfully and still fail registration. The builder reports the game folder through /var/home, while the launcher has the same folder under the /home symlink.

Use the same directory comparison for wizard registration and version ownership on Linux and Windows. Registration still saves the launcher's path spelling. This follows #306, which fixed builder downloads through a linked cache parent.

Testing

  • Added a Unix regression fixture with home → var/home. It accepts the resolved builder path and the launcher alias in both directions, keeps the requested spelling, and rejects a missing build or a different version's directory.
  • Launcher core suite passed with 173 tests passed and one ignored. All 15 translation catalogs validated.
  • Tooling release suite passed with one skipped test.
  • Locked Clippy and formatting passed.
  • A real Bazzite build was not run. The symlink fixture exercises the reported path comparison.
## Summary On Bazzite and Fedora Atomic, a build can finish successfully and still fail registration. The builder reports the game folder through `/var/home`, while the launcher has the same folder under the `/home` symlink. Use the same directory comparison for wizard registration and version ownership on Linux and Windows. Registration still saves the launcher's path spelling. This follows #306, which fixed builder downloads through a linked cache parent. ## Testing - Added a Unix regression fixture with `home → var/home`. It accepts the resolved builder path and the launcher alias in both directions, keeps the requested spelling, and rejects a missing build or a different version's directory. - Launcher core suite passed with 173 tests passed and one ignored. All 15 translation catalogs validated. - Tooling release suite passed with one skipped test. - Locked Clippy and formatting passed. - A real Bazzite build was not run. The symlink fixture exercises the reported path comparison.
fix(wizard): register builds under a linked Linux home
Some checks failed
CI / What the change needs (pull_request) Successful in 17s
PR title / Conventional Commit title (pull_request) Successful in 13s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 33s
CI / Rust formatting, lint and tests (pull_request) Successful in 8m54s
CI / Release packages and stable upgrades (pull_request) Failing after 1h0m3s
811d531358
Assisted-by: OpenAI Codex
HumanBean changed title from WIP: fix(wizard): register builds under a linked Linux home to fix(wizard): register builds under a linked Linux home 2026-11-27 18:50:17 +00:00
HumanBean deleted branch fix/linked-home-build-registration 2026-11-27 18:50:24 +00:00
Sign in to join this conversation.
No reviewers
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
MagicBeanDev/LongshotLauncher!308
No description provided.