Repository navigation
Stop the Mac receiver when its native client exits - #3
Merged
Merged
Conversation
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.
The Mac receiver previously outlived a closed or crashed client because it did not monitor the parent control pipe. The UI also had no authoritative listener/authentication/input status.
Add opt-in
receive --control-stdiosupervision: parent EOF or a stop command requests cooperative cleanup, malformed commands/output failure stop with an error, and bounded status frames report actual receiver state. Final success is emitted only after input ownership, discovery and logs have finished cleanup. Existing callers and injection defaults remain unchanged. This provides the core interface for SwiftUI integration; the UI is not wired yet.Validation: Windows workspace (177 core, 4 CLI, 1 ordinary process, 7 bridge), 5 real DrySink child-process tests, 2 observer tests, 7 input transport and 2 reconnect tests passed. Windows and Apple-target Clippy passed. Native Mac CI now includes the new observer and process tests; results pending. No OS input or physical smoothness acceptance is claimed.