Repository navigation
Prevent idle Windows MCP pipes from blocking unrelated I/O - #59726
Merged
copyberry[bot] merged 1 commit intoNov 5, 2026
Conversation
## Why Idle reads from local MCP servers on Windows can occupy Tokio's blocking threads and delay unrelated filesystem operations. ## What changed Use IOCP-backed named pipes for local MCP server stdin, stdout, and stderr on Windows. Connect child endpoints before launch, restrict pipe access to the owner and SYSTEM, and reject remote clients. Preserve the shared legacy and modern protocol framing. ## Testing Add Windows regression tests to verify that idle MCP reads leave blocking I/O available in both protocol modes and that child output handles support querying the pipe mode. GitOrigin-RevId: ca39b940a54427a2cd7bab5291011b0b09143b3f
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/ca39b940a54427a2cd7bab5291011b0b09143b3f
branch
from
November 5, 2026 19:46
8040388 to
119a547
Compare
Contributor
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
|
I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/ca39b940a54427a2cd7bab5291011b0b09143b3f
branch
November 5, 2026 19:46
SuperDuperDave
temporarily deployed
to
issue-triage
November 5, 2026 19:51 — with
GitHub Actions
Inactive
SuperDuperDave
temporarily deployed
to
issue-triage
November 5, 2026 19:51 — with
GitHub Actions
Inactive
SuperDuperDave
temporarily deployed
to
issue-triage
November 5, 2026 19:51 — with
GitHub Actions
Inactive
SuperDuperDave
temporarily deployed
to
issue-triage
November 5, 2026 19:52 — with
GitHub Actions
Inactive
This branch was previously 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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Prevent idle Windows MCP pipes from blocking unrelated I/O
Why
Idle reads from local MCP servers on Windows can occupy Tokio's blocking threads and delay unrelated filesystem operations.
What changed
Use IOCP-backed named pipes for local MCP server stdin, stdout, and stderr on Windows. Connect child endpoints before launch, restrict pipe access to the owner and SYSTEM, and reject remote clients. Preserve the shared legacy and modern protocol framing.
Testing
Add Windows regression tests to verify that idle MCP reads leave blocking I/O available in both protocol modes and that child output handles support querying the pipe mode.