Repository navigation
Restore 128 KiB node pipe buffers on .NET Framework - #15253
Conversation
Co-authored-by: Copilot App <[email protected]> Copilot-Session: dd4cf5d0-487b-4305-859e-5754c5732d53
Co-authored-by: Copilot App <[email protected]> Copilot-Session: dd4cf5d0-487b-4305-859e-5754c5732d53
There was a problem hiding this comment.
🟡 Changes recommended
The public change-wave documentation still incorrectly describes the default as 1 MiB for all runtimes.
1 open finding
What changed in this PR
Restores the 128 KiB named-pipe buffer default for .NET Framework while preserving .NET behavior.
Changes:
- Applies a runtime-specific buffer default.
- Updates regression-test expectations.
| File | Description |
|---|---|
src/Framework/Traits.cs |
Selects buffer size by runtime. |
src/Build.UnitTests/ChangeWaves_Tests.cs |
Tests runtime-specific defaults. |
🧠 Review effort: Balanced
There was a problem hiding this comment.
✅ 24/24 dimensions clean — no findings.
Warning
Firewall blocked 5 domains
The following domains were blocked by the firewall during workflow execution:
api.github.comcafe.github.comgithub.comr.jina.airaw.githubusercontent.com
[!TIP]
api.github.com is blocked because GitHub API access uses the built-in GitHub tools by default. Instead of adding api.github.com to network.allowed, use tools.github.mode: gh-proxy for direct pre-authenticated GitHub CLI access without requiring network access to api.github.com:
tools:
github:
mode: gh-proxySee GitHub Tools for more information on gh-proxy mode.
To allow these domains, add them to the network.allowed list in your workflow frontmatter:
network:
allowed:
- defaults
- "api.github.com"
- "cafe.github.com"
- "github.com"
- "r.jina.ai"
- "raw.githubusercontent.com"See Network Configuration for more information.
Generated by Expert Code Review (on open) for #15253 · copilot · gpt56 · 593.4 AIC · ⌖ 0.5 AIC · ⊞ 24.9K
Related issue(s): #15172 ### Context The increased named-pipe buffer regresses .NET Framework build performance. First-party customer reported that Windows parallel builds with substantial logging traffic can spend significantly more main-process kernel CPU and take longer with MSBuild’s new 1 MiB node pipe buffers than with the previous 128 KiB setting. ### Changes Made Restore the 128 KiB default for .NET Framework only. Update the existing regression test. ### Compatibility .NET retains its 1 MiB default and 18.9 change-wave behavior. The environment override remains honored on both runtimes. ### Testing Unit tests were updated Performance measurements supporting the decision are reported in #15172. ### Dependencies and Follow-up Backport of #15253. Co-authored-by: Copilot App <[email protected]> Copilot-Session: dd4cf5d0-487b-4305-859e-5754c5732d53
Related issue(s): #15172 ### Context The increased named-pipe buffer regresses .NET Framework build performance. First-party customer reported that Windows parallel builds with substantial logging traffic can spend significantly more main-process kernel CPU and take longer with MSBuild’s new 1 MiB node pipe buffers than with the previous 128 KiB setting. ### Changes Made Restore the 128 KiB default for .NET Framework only. Update the existing regression test. ### Compatibility .NET retains its 1 MiB default and 18.9 change-wave behavior. The environment override remains honored on both runtimes. ### Testing Unit tests were updated Performance measurements supporting the decision are reported in #15172. ### Notes Backport of #15253 Co-authored-by: Copilot App <[email protected]> Copilot-Session: dd4cf5d0-487b-4305-859e-5754c5732d53

Related issue(s): #15172
Context
The increased named-pipe buffer regresses .NET Framework build performance. First-party customer reported that Windows parallel builds with substantial logging traffic can spend significantly more main-process kernel CPU and take longer with MSBuild’s new 1 MiB node pipe buffers than with the previous 128 KiB setting.
Changes Made
Restore the 128 KiB default for .NET Framework only.
Update the existing regression test.
Compatibility
.NET retains its 1 MiB default and 18.9 change-wave behavior.
The environment override remains honored on both runtimes.
Testing
Unit tests were updated
Performance measurements supporting the decision are reported in #15172.