Skip to content

Fix deadlock in syncLocal when receiver fails partway - #18

Merged
iampryce merged 1 commit into
mainfrom
sc-15-test-suite
Aug 2, 2026
Merged

Fix deadlock in syncLocal when receiver fails partway#18
iampryce merged 1 commit into
mainfrom
sc-15-test-suite

Conversation

@iampryce

@iampryce iampryce commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Neither side closed its io.Pipe half on failure, so the sender goroutine hung forever waiting for a reply that would never come. Caught by CI's -race leg on Linux; passed instantly on Windows without -race. Fixed by closing owned pipe halves on any return path.

Neither side closed its io.Pipe half on failure, so the sender
goroutine hung forever waiting for a reply that would never come.
Caught by CI's -race leg on Linux; passed instantly on Windows without
-race. Fixed by closing owned pipe halves on any return path.
@iampryce
iampryce requested a review from jasonmiller-cc August 2, 2026 20:20
@iampryce
iampryce merged commit 4ff845d into main Aug 2, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant