Skip to content

[vs18.11] Restore 128 KiB node pipe buffers on .NET Framework - #15256

Merged
AR-May merged 1 commit into
dotnet:vs18.11from
AR-May:backport/framework-buffer-size-vs18.11
Oct 13, 2026
Merged

AR-May merged 1 commit into
dotnet:vs18.11from
AR-May:backport/framework-buffer-size-vs18.11

Conversation

@AR-May

@AR-May AR-May commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

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

Backport of dotnet#15253. Bump VersionPrefix to 18.11.1.

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: dd4cf5d0-487b-4305-859e-5754c5732d53
@AR-May
AR-May marked this pull request as ready for review October 12, 2026 13:35
@AR-May
AR-May requested a review from a team as a code owner October 12, 2026 13:35
Copilot AI balanced review requested due to automatic review settings October 12, 2026 13:35
@AR-May
AR-May temporarily deployed to copilot-pat-pool October 12, 2026 13:35 — with GitHub Actions Inactive
@AR-May
AR-May temporarily deployed to copilot-pat-pool October 12, 2026 13:35 — with GitHub Actions Inactive
@AR-May
AR-May temporarily deployed to copilot-pat-pool October 12, 2026 13:37 — with GitHub Actions Inactive

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The public Change Wave documentation still incorrectly describes the .NET Framework default.

1 open finding
What changed in this PR

Backports the .NET Framework node-pipe performance fix from #15253.

Changes:

  • Restores 128 KiB buffers on .NET Framework.
  • Preserves .NET Change Wave behavior and overrides.
  • Updates tests and servicing version.
File Description
src/​Framework/​Traits.cs Selects runtime-specific buffer defaults.
src/​Build.UnitTests/​ChangeWaves_Tests.cs Verifies defaults for each runtime.
eng/​Versions.props Bumps version to 18.11.1.

🧠 Review effort: Balanced

Comment thread src/Framework/Traits.cs Resolved
@AR-May
AR-May temporarily deployed to copilot-pat-pool October 12, 2026 13:48 — with GitHub Actions Inactive
@AR-May
AR-May temporarily deployed to copilot-pat-pool October 12, 2026 13:49 — with GitHub Actions Inactive

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error Message Quality — LGTM

Warning

Firewall blocked 3 domains

The following domains were blocked by the firewall during workflow execution:

  • api.github.com
  • github.com
  • raw.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-proxy

See 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"
    - "github.com"
    - "raw.githubusercontent.com"

See Network Configuration for more information.

Generated by Expert Code Review (on open) for #15256 · copilot · gpt56 · 609.4 AIC · ⌖ 0.515 AIC · ⊞ 24.8K

Comment thread eng/Versions.props Resolved
@AR-May

AR-May commented Oct 13, 2026

Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.

@AR-May
AR-May merged commit 940033b into dotnet:vs18.11 Oct 13, 2026
25 checks passed

This branch was previously deployed

1 inactive deployment
copilot-pat-pool — 9bb333d7 Deployed Oct 12, 2026 by AR-May via conclusion #1000
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.

4 participants