You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add a native-Quit wallet-creation shutdown regression with restart-state checks #98
PR #87 removes the source-level worker-to-GUI mutual-wait cycle described by #79, but its regression tests do not exercise the production shutdown race end to end. The tests do not start CreateWalletActivity, pause at a durable creation boundary, deliver native/Cmd-Q QEvent::Quit through application shutdown, or verify wallet and startup state after restart.
The missing regression leaves the most important reachability and recovery guarantees unproved.
Current behavior
The added coverage proves that direct notification adoption is queued, that deleting a controller discards an already queued adoption, and that load activity completes after adoption. It does not overlap native application Quit with an actively running create/encrypt/setup operation. The reported Cocoa run also did not complete the existing modal wallet suite.
Expected behavior
A deterministic qbit-qt regression should prove that native application Quit completes within a fixed bound while wallet creation is paused at relevant durable boundaries. After restart, durable wallet state, loaded-wallet state, and startup selection should agree and clearly describe whether creation completed.
Acceptance criteria
Add latch-controlled coverage for both notification-driven and activity-driven model adoption.
Start CreateWalletActivity and pause before or during at least the NotifyWalletLoaded/model-adoption boundary; cover other durable creation boundaries identified by Quit during wallet creation can deadlock qbit-qt #79 where practical.
Deliver native/Cmd-Q QEvent::Quit through the production application shutdown path rather than directly deleting only the controller.
Assert bounded shutdown completion with no GUI/worker mutual wait.
After restart, inspect listwalletdir, listwallets, getwalletinfo, active-wallet selection, and startup settings.
Run the regression under the normal Qt suite and a sanitizer configuration.
Retain ordinary wallet load, unload, create, restore, and shutdown coverage.
Activity