fix(launcher): replace FSR pins and preserve conflicting upgrade files #332

Merged
HumanBean merged 1 commit from HumanBean/LongshotLauncher:fix/upgrade-destination-collisions into main 2026-11-28 04:35:50 +00:00
Owner

An FSR-enabled build can finish successfully and then stop during installation because the old FSR library already occupies the destination. Other files with the same name can stop the swap in the same way.

  • Replace an existing launcher-pinned FSR library as part of the journaled upgrade. Keep the installed pin when the new build has no replacement.
  • Keep unrelated conflicting entries alongside the new ones with an available .pre-upgrade suffix, and report that location in the build log.
  • Use the no-replace move helper for publication and rollback so a newly occupied destination is preserved.

Testing

  • 229 launcher tests passed with one network package test ignored. A synthetic swap verified both FSR pins, an occupied backup suffix, and restoration after registration fails.
  • Formatting, locked Clippy, and all 46 Tooling release tests passed.
  • The attached screenshot shows the warning and successful completion in a synthetic transcript. The original transcript did not record the occupied filename and still needs a retest with the patched launcher.
An FSR-enabled build can finish successfully and then stop during installation because the old FSR library already occupies the destination. Other files with the same name can stop the swap in the same way. - Replace an existing launcher-pinned FSR library as part of the journaled upgrade. Keep the installed pin when the new build has no replacement. - Keep unrelated conflicting entries alongside the new ones with an available .pre-upgrade suffix, and report that location in the build log. - Use the no-replace move helper for publication and rollback so a newly occupied destination is preserved. ## Testing - 229 launcher tests passed with one network package test ignored. A synthetic swap verified both FSR pins, an occupied backup suffix, and restoration after registration fails. - Formatting, locked Clippy, and all 46 Tooling release tests passed. - The attached screenshot shows the warning and successful completion in a synthetic transcript. The original transcript did not record the occupied filename and still needs a retest with the patched launcher.
fix(launcher): replace FSR pins and preserve conflicting upgrade files
Some checks failed
CI / What the change needs (pull_request) Successful in 6s
PR title / Conventional Commit title (pull_request) Successful in 9s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 10s
CI / Rust formatting, lint and tests (pull_request) Successful in 10m1s
CI / Release packages and stable upgrades (pull_request) Failing after 1h0m3s
a64fe4c453
Member

Possibly related, for context:

  • issue #329 Launcher: Nightly update build completes but registration is refused because destination folder is non-empty — Reports update registration refusal on conflicting destination contents.
  • PR #321 fix(launcher): refresh local installations and keep upgrades connected — Merged upgrade staging and rollback foundation extended here.
Possibly related, for context: - issue #329 Launcher: Nightly update build completes but registration is refused because destination folder is non-empty — Reports update registration refusal on conflicting destination contents. - PR #321 fix(launcher): refresh local installations and keep upgrades connected — Merged upgrade staging and rollback foundation extended here.
Author
Owner

Synthetic build transcript showing the preserved-file warning followed by successful registration. Upgrade finishes after preserving the existing file

Synthetic build transcript showing the preserved-file warning followed by successful registration. ![Upgrade finishes after preserving the existing file](https://git.magicbean.dev/attachments/2c49a73f-cf49-48c9-b531-e5f40257aaf9)
HumanBean deleted branch fix/upgrade-destination-collisions 2026-11-28 04:35:50 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
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!332
No description provided.