WIP: fix(tests): repair the packaged launcher smoke and updater handoff #370

Draft
futondestroyer wants to merge 2 commits from futondestroyer/LongshotLauncher:fix/launcher-linux-window-fixture into main
Member

The Launcher packaging job hit two fixture bugs. The Linux window could not select a synthetic version without its ownership record. After that was fixed, the Windows updater under Wine inherited a Linux-only setting and tried to launch xvfb-run.

  • Give each synthetic version the three required fields in version.json. Keep launching both relative selections from a second process and asserting that the original window updates.
  • Run the Xvfb first-start check only for the Linux asset. Keep both Windows flows verifying and self-checking the executable, swapping it in, and restoring the previous bytes on rollback.

Testing

  • The first patch passed the packaged Linux window smoke and native Linux signed upgrade and rollback. Its Wine run reached xvfb-run in the Windows process, then timed out after Wine started its debugger. Forgejo packaging run
  • On native Windows, the old fixture reproduced the same xvfb-run launch error. At 4dca1cbd, a copied Launcher nightly passed the Windows setup and portable signed handoffs with the same HANDOFF_GUI_TEST value set. Both paths verified, self-checked, swapped and rolled back byte-for-byte in isolated folders.
  • In the earlier native Windows window smoke analogue, both relative selections failed before the synthetic ownership records were added and selected correctly in the original process afterwards.
  • Independent review and the exact source and base maps passed. The changes are confined to packaging tests.

Still to test

  • Run the updated packaging job on Ubuntu to confirm the Linux first start, signed upgrades and both Windows paths under Wine in one run.
The Launcher packaging job hit two fixture bugs. The Linux window could not select a synthetic version without its ownership record. After that was fixed, the Windows updater under Wine inherited a Linux-only setting and tried to launch `xvfb-run`. - Give each synthetic version the three required fields in `version.json`. Keep launching both relative selections from a second process and asserting that the original window updates. - Run the Xvfb first-start check only for the Linux asset. Keep both Windows flows verifying and self-checking the executable, swapping it in, and restoring the previous bytes on rollback. ## Testing - The first patch passed the packaged Linux window smoke and native Linux signed upgrade and rollback. Its Wine run reached `xvfb-run` in the Windows process, then timed out after Wine started its debugger. [Forgejo packaging run](https://git.magicbean.dev/MagicBeanDev/LongshotLauncher/actions/runs/1508/jobs/3) - On native Windows, the old fixture reproduced the same `xvfb-run` launch error. At `4dca1cbd`, a copied Launcher nightly passed the Windows setup and portable signed handoffs with the same `HANDOFF_GUI_TEST` value set. Both paths verified, self-checked, swapped and rolled back byte-for-byte in isolated folders. - In the earlier native Windows window smoke analogue, both relative selections failed before the synthetic ownership records were added and selected correctly in the original process afterwards. - Independent review and the exact source and base maps passed. The changes are confined to packaging tests. ## Still to test - Run the updated packaging job on Ubuntu to confirm the Linux first start, signed upgrades and both Windows paths under Wine in one run.
fix(tests): register synthetic versions in the Linux window smoke
Some checks failed
CI / What the change needs (pull_request) Successful in 7s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 15s
PR title / Conventional Commit title (pull_request) Successful in 7s
CI / Rust formatting, lint and tests (pull_request) Successful in 12m3s
CI / Release packages and stable upgrades (pull_request) Failing after 1h0m5s
1a48bef7df
Assisted-by: OpenAI Codex
Member

Possibly related, for context:

  • PR #358 fix(tests): the launcher's tests follow version folders and builder protocol 2 — Merged tests established that version scanning requires version.json; this smoke fixture applies that contract.
Possibly related, for context: - PR #358 fix(tests): the launcher's tests follow version folders and builder protocol 2 — Merged tests established that version scanning requires version.json; this smoke fixture applies that contract.
futondestroyer changed title from WIP: fix(tests): register synthetic versions in the Linux window smoke to WIP: fix(tests): repair the packaged launcher smoke and updater handoff 2026-11-29 21:03:24 +00:00
fix(tests): run the Xvfb first-start check only for Linux
All checks were successful
CI / What the change needs (pull_request) Successful in 10s
PR title / Conventional Commit title (pull_request) Successful in 10s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 16s
CI / Rust formatting, lint and tests (pull_request) Successful in 11m41s
CI / Release packages and stable upgrades (pull_request) Successful in 28m38s
4dca1cbd25
Author
Member

The packaged Linux smoke and Linux stable upgrade passed. The next failure was the Windows process trying to start the Linux-only Xvfb check. The fix reproduces the old error and passes both signed Windows handoffs in isolated local fixtures.

The packaged Linux smoke and Linux stable upgrade passed. The next failure was the Windows process trying to start the Linux-only Xvfb check. The fix reproduces the old error and passes both signed Windows handoffs in isolated local fixtures.
Owner

We should nuke the C# lol

We should nuke the C# lol
All checks were successful
CI / What the change needs (pull_request) Successful in 10s
PR title / Conventional Commit title (pull_request) Successful in 10s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 16s
CI / Rust formatting, lint and tests (pull_request) Successful in 11m41s
CI / Release packages and stable upgrades (pull_request) Successful in 28m38s
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u 'fix/launcher-linux-window-fixture:futondestroyer-fix/launcher-linux-window-fixture'
git switch 'futondestroyer-fix/launcher-linux-window-fixture'
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 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!370
No description provided.