fix(launcher): clarify build progress and allow cancelling pipeline loading #322

Merged
HumanBean merged 1 commit from HumanBean/LongshotLauncher:fix/build-progress-and-startup-cancel into main 2026-11-28 00:19:55 +00:00
Owner

Players could see “Build completed” while the launcher was still registering the game or cleaning up files. Pipeline loading also hid Cancel while the game was still starting.

Changes

  • Show Download and Game file as separate progress rows under This PC. Each row displays its own progress, with an animated bar when the total is unknown.
  • Append a compact Finalizing row to the stage list after the builder finishes. Write the final completion entry after registration and cleanup.
  • Show a single primary action on the launch screen. Cancel stops the managed launch during rebuilding, shader preparation, or pipeline loading. Once the game is running, Close returns to Home.

Verification

The launcher tests exercise the ordering of the final log entry, the cancellation boundary at game readiness, and cancellation of a synthetic builder process. Slint previews cover the download, verification, finalization and launch states. The pipeline-loading preview shows Cancel at 4% progress.

Still to test

A full build and launch using a player's local game files, including cancellation during pipeline loading on Windows. No real-game timing measurements were taken.

Players could see “Build completed” while the launcher was still registering the game or cleaning up files. Pipeline loading also hid Cancel while the game was still starting. ## Changes - Show Download and Game file as separate progress rows under This PC. Each row displays its own progress, with an animated bar when the total is unknown. - Append a compact Finalizing row to the stage list after the builder finishes. Write the final completion entry after registration and cleanup. - Show a single primary action on the launch screen. Cancel stops the managed launch during rebuilding, shader preparation, or pipeline loading. Once the game is running, Close returns to Home. ## Verification The launcher tests exercise the ordering of the final log entry, the cancellation boundary at game readiness, and cancellation of a synthetic builder process. Slint previews cover the download, verification, finalization and launch states. The pipeline-loading preview shows Cancel at 4% progress. ## Still to test A full build and launch using a player's local game files, including cancellation during pipeline loading on Windows. No real-game timing measurements were taken.
fix(launcher): clarify build progress and allow cancelling pipeline loading
Some checks failed
CI / What the change needs (pull_request) Successful in 4s
PR title / Conventional Commit title (pull_request) Successful in 7s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 9s
CI / Rust formatting, lint and tests (pull_request) Has been cancelled
CI / Release packages and stable upgrades (pull_request) Has been cancelled
dc8b5a3d93
Assisted-by: OpenAI Codex
Co-Authored-By: OpenAI Codex <[email protected]>
Author
Owner

Launcher previews with synthetic data, showing download, verification, finalization, and cancellation at 4% pipeline loading.

longshot-files-preview.png

longshot-check-preview.png

longshot-finalizing-preview.png

longshot-cancel-preview.png

Launcher previews with synthetic data, showing download, verification, finalization, and cancellation at 4% pipeline loading. ![longshot-files-preview.png](https://git.magicbean.dev/attachments/88fff660-6d74-4813-bf24-c22fb2456b93) ![longshot-check-preview.png](https://git.magicbean.dev/attachments/c38b90b5-5097-4551-a095-a0822d77e21f) ![longshot-finalizing-preview.png](https://git.magicbean.dev/attachments/5c9f14c4-29b2-4842-a747-62e532d6a9e8) ![longshot-cancel-preview.png](https://git.magicbean.dev/attachments/fef15ba7-1b5d-4675-ae36-a4a1006bb8b8)
Member

Possibly related, for context:

  • issue #212 Idea: Explain build steps, sizes, and time allocation — Build-step progress clarity overlaps this request to explain build stages.
  • issue #136 Idea: Pause and resume launcher updates and game builds — Touches cancellation controls during long-running build work.
  • PR #12 fix(ui): busy states for the launcher's update, the update check and the other long actions — Previously added busy states and cancellation patterns for launcher actions.
  • PR #310 fix(setup): show builder download progress below folder settings — Earlier builder-download progress UI change extended by these progress rows.
Possibly related, for context: - issue #212 Idea: Explain build steps, sizes, and time allocation — Build-step progress clarity overlaps this request to explain build stages. - issue #136 Idea: Pause and resume launcher updates and game builds — Touches cancellation controls during long-running build work. - PR #12 fix(ui): busy states for the launcher's update, the update check and the other long actions — Previously added busy states and cancellation patterns for launcher actions. - PR #310 fix(setup): show builder download progress below folder settings — Earlier builder-download progress UI change extended by these progress rows.
HumanBean force-pushed fix/build-progress-and-startup-cancel from dc8b5a3d93
Some checks failed
CI / What the change needs (pull_request) Successful in 4s
PR title / Conventional Commit title (pull_request) Successful in 7s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 9s
CI / Rust formatting, lint and tests (pull_request) Has been cancelled
CI / Release packages and stable upgrades (pull_request) Has been cancelled
to 540c8c6472
Some checks failed
CI / What the change needs (pull_request) Successful in 5s
PR title / Conventional Commit title (pull_request) Successful in 7s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 12s
CI / Rust formatting, lint and tests (pull_request) Has been cancelled
CI / Release packages and stable upgrades (pull_request) Has been cancelled
2026-11-28 00:15:20 +00:00
Compare
HumanBean force-pushed fix/build-progress-and-startup-cancel from 540c8c6472
Some checks failed
CI / What the change needs (pull_request) Successful in 5s
PR title / Conventional Commit title (pull_request) Successful in 7s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 12s
CI / Rust formatting, lint and tests (pull_request) Has been cancelled
CI / Release packages and stable upgrades (pull_request) Has been cancelled
to 6b1514e7ff
Some checks failed
CI / What the change needs (pull_request) Successful in 5s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 11s
PR title / Conventional Commit title (pull_request) Successful in 5s
CI / Rust formatting, lint and tests (pull_request) Has been cancelled
CI / Release packages and stable upgrades (pull_request) Has been cancelled
2026-11-28 00:15:39 +00:00
Compare
Author
Owner

Updated previews at 6b1514e7. Download fits on one line, and Finalizing appears as a compact progress step below shader preparation.

longshot-files-updated.png

longshot-check-updated.png

longshot-finalizing-updated.png

Updated previews at 6b1514e7. Download fits on one line, and Finalizing appears as a compact progress step below shader preparation. ![longshot-files-updated.png](https://git.magicbean.dev/attachments/815549ad-a4dd-4560-9180-6ee67921db8a) ![longshot-check-updated.png](https://git.magicbean.dev/attachments/14600ba1-bbad-4f0c-ae93-29c9a923aeec) ![longshot-finalizing-updated.png](https://git.magicbean.dev/attachments/d313edc6-12f2-42da-8fd0-828ce6647775)
Author
Owner

All progress stages now share one row layout. Finalizing uses the standard active dot and completion checkmark. A fixed-width marker column keeps the titles and details aligned. Verified in the Slint render.

longshot-aligned-stages.png

All progress stages now share one row layout. Finalizing uses the standard active dot and completion checkmark. A fixed-width marker column keeps the titles and details aligned. Verified in the Slint render. ![longshot-aligned-stages.png](https://git.magicbean.dev/attachments/0f26126b-14e3-4e34-8dd4-4fca7e4e873d)
HumanBean force-pushed fix/build-progress-and-startup-cancel from 6b1514e7ff
Some checks failed
CI / What the change needs (pull_request) Successful in 5s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 11s
PR title / Conventional Commit title (pull_request) Successful in 5s
CI / Rust formatting, lint and tests (pull_request) Has been cancelled
CI / Release packages and stable upgrades (pull_request) Has been cancelled
to 0ddfc1d478
Some checks failed
CI / What the change needs (pull_request) Successful in 5s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 10s
PR title / Conventional Commit title (pull_request) Successful in 4s
CI / Rust formatting, lint and tests (pull_request) Successful in 11m11s
CI / Release packages and stable upgrades (pull_request) Failing after 1h0m4s
2026-11-28 00:18:06 +00:00
Compare
HumanBean changed title from WIP: fix(launcher): clarify build progress and allow cancelling pipeline loading to fix(launcher): clarify build progress and allow cancelling pipeline loading 2026-11-28 00:19:46 +00:00
HumanBean deleted branch fix/build-progress-and-startup-cancel 2026-11-28 00:19:55 +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!322
No description provided.