Preserve pending server and player selections across restart #3

Merged
alaric merged 1 commit from codex/server-seed into main 2026-10-18 22:58:40 +00:00
Owner

After Get Seed succeeds, editing or clearing the Player or Server and restarting could restore the previous seed's player or server. That lost the pending selection and could remove the requirement to fetch the intended room/player before preparing.

Restore the explicitly saved fields, including empty values, when reopening that same fetched seed. The page retains the previous fetched binding and displays the refetch requirement until Get Seed succeeds. Existing manual-file fallback remains unchanged.

Validation: the original production code reproduced the lost Player selection after restart. Four native Qt data rows now pass for changed and cleared Player and Server (6 total including setup/cleanup, 0 failures or skips, 69.31 seconds). Each row checks refusal to prepare before refetch, exact saved/restored input, a successful retry, and preparation afterward. Applicable rows also cover an intervening failed fetch. The earlier four-suite and real-server checks apply to the preceding implementation; final immutable release checks are run separately against this new commit.

After Get Seed succeeds, editing or clearing the Player or Server and restarting could restore the previous seed's player or server. That lost the pending selection and could remove the requirement to fetch the intended room/player before preparing. Restore the explicitly saved fields, including empty values, when reopening that same fetched seed. The page retains the previous fetched binding and displays the refetch requirement until Get Seed succeeds. Existing manual-file fallback remains unchanged. Validation: the original production code reproduced the lost Player selection after restart. Four native Qt data rows now pass for changed and cleared Player and Server (6 total including setup/cleanup, 0 failures or skips, 69.31 seconds). Each row checks refusal to prepare before refetch, exact saved/restored input, a successful retry, and preparation afterward. Applicable rows also cover an intervening failed fetch. The earlier four-suite and real-server checks apply to the preceding implementation; final immutable release checks are run separately against this new commit.
Preserve pending fetched-seed selections across launcher restart
Some checks failed
Build and Prerelease / get-info (push) Has been cancelled
Build and Prerelease / clang-format (push) Has been cancelled
Archipelago integration / windows-integration (pull_request) Has been cancelled
Build and Prerelease / build-windows (push) Has been cancelled
Build and Prerelease / build-windows-noUAC (push) Has been cancelled
Build and Prerelease / build-macos (push) Has been cancelled
Build and Prerelease / build-linux (push) Has been cancelled
Build and Prerelease / build-linux-downloader (push) Has been cancelled
Build and Prerelease / pre-release (push) Has been cancelled
9cf5647fc1
alaric merged commit a02dd6cf0b into main 2026-10-18 22:58:40 +00:00
Sign in to join this conversation.
No reviewers
No labels
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
alaric/BB_Launcher-AP!3
No description provided.