Repository navigation
fix: recover control socket after pathname loss - #84
Open
teamleaderleo wants to merge 83 commits into
Open
teamleaderleo wants to merge 83 commits into
teamleaderleo wants to merge 83 commits into
Conversation
Make tagged terminal-kit builds inherit the release cmux Ghostty config when no tag-specific config exists, with focused resolver coverage. Clarify semantic hover-copy by anchoring the control to the block start, labeling the copied block, and restricting click cursor feedback to the control.
teamleaderleo
force-pushed
the
fix/socket-path-monitor-registration
branch
from
September 19, 2026 02:33
d3712ac to
efc9cb8
Compare
teamleaderleo
force-pushed
the
fix/socket-path-monitor-registration
branch
from
September 19, 2026 02:34
efc9cb8 to
4213b91
Compare
4 of 7 tasks
This branch has not been deployed
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.
Problem
The control socket can become unreachable when its pathname disappears before the directory watcher is armed, or when another inode replaces the bound pathname while the listener is still running. In the first case no filesystem event is delivered to the newly-created watcher. In the second case configuration reconciliation could chmod the replacement path while leaving the original listener unreachable.
What changed
Validation
swift test --package-path Packages/macOS/CmuxControlSocket --filter 'SocketControlServer|SocketTransportPath|SocketListener'xcodebuild ... -scheme cmux-unit ... build-for-testingTEST BUILD SUCCEEDED.git diff --checkpassed.The test-only regression commit is intentionally separate from the fix commit so the failure is visible in the PR history.
Related: manaflow-ai#632