fix(desktop): preserve setup on reopen and avoid false quit warnings - #562
Merged
Merged
Conversation
davidmckayv
requested review from
MikeRyanDev,
guidovizoso,
mxmzb and
tylerslaton
as code owners
September 15, 2026 17:27
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
Reopening the macOS window reloaded setup and erased the current wizard step and API-key entry. Restore now preserves the current setup or owned application page, including its route, while retaining deployment ownership and recovery checks.
Quitting after only viewing setup also reported a container cleanup failure when an old Compose file existed. Quit now cleans containers owned by the session; failed starts retain ownership and still report real shutdown failures. Explicit Stop continues to reject unknown runtime ownership.
Where it runs
Desktop shell only.
Boundary and audit
Changelog
The deployed server behaves identically; these fixes affect only local desktop window restoration and setup-only Quit.
Proof
0.0.10-internal.g123057ad91bb.Report: https://copilotkit.slack.com/archives/D0C2VM6KEBA/p1789490973618219