Skip to content

Enable -mt by default for local arcadified builds - #9411

Merged
ViktorHofer merged 2 commits into
mainfrom
enable-mt-local-builds
Sep 16, 2026
Merged

ViktorHofer merged 2 commits into
mainfrom
enable-mt-local-builds

Conversation

@ViktorHofer

@ViktorHofer ViktorHofer commented Sep 16, 2026 •

Copy link
Copy Markdown
Member

Restores -mt as the default for local arcadified builds, effectively reverting 6107c18 from #8151 while preserving subsequent build-script changes.

  • Keep CI opt-in and preserve explicit overrides. Explicitly disable -mt for repos configured to use VS MSBuild, retaining the restriction from Only apply DotNetBuildMT on core msbuild #9230.
  • Keep the NuGet build-script migration and ASP.NET Core node-reuse cleanup intact.
  • Have shell wrapper comments defer to tools.sh instead of documenting its default policy. Retain default documentation in the ASP.NET Core PowerShell script, which owns that default.

Restore local -mt defaults while keeping CI opt-in and VS MSBuild disabled. Keep shell wrapper comments independent of shared-script defaults.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 9947b762-f3b3-4e00-9359-eb8a97c08991
@ViktorHofer
ViktorHofer requested review from a team as code owners September 16, 2026 10:02
Copilot AI lite review requested due to automatic review settings September 16, 2026 10:02
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

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.

Copilot review overview

🟡 Changes recommended

Unresolved issues affect CI callers, VS MSBuild restrictions, and non-Windows ASP.NET Core builds.

Get a fresh assessment by requesting another Copilot review.

Review tier: Lite
Findings: 1 Medium severity

Open (1)
What changed in this PR

Restores MSBuild -mt as the default for local VMR builds while preserving CI opt-in and explicit overrides.

Changes:

  • Updates shared and repository-specific build defaults.
  • Propagates multi-threading settings through VMR orchestration.
  • Updates wrapper comments and ASP.NET Core documentation.
File Description
src/​roslyn/​eng/​build.sh Defers -mt default resolution to shared tooling.
src/​roslyn/​eng/​build.ps1 Enables the local multi-threading default.
src/​fsharp/​eng/​build.sh Defers -mt default resolution to shared tooling.
src/​fsharp/​eng/​Build.ps1 Enables the local multi-threading default.
src/​aspnetcore/​eng/​build.sh Defers -mt default resolution to shared tooling.
src/​aspnetcore/​eng/​build.ps1 Documents and applies the local default.
src/​arcade/​eng/​common/​tools.sh Resolves local and CI shell defaults.
src/​arcade/​eng/​common/​tools.ps1 Resolves local and CI PowerShell defaults.
src/​arcade/​eng/​common/​msbuild.ps1 Applies CI handling for the default.
src/​arcade/​eng/​common/​build.ps1 Applies CI handling for the default.
repo-projects/​Directory.Build.targets Translates VMR multi-threading settings into repository arguments.
eng/​common/​tools.sh Updates VMR shell default resolution.
eng/​common/​tools.ps1 Updates VMR PowerShell default resolution.
eng/​common/​msbuild.ps1 Applies VMR CI handling.
eng/​common/​build.ps1 Applies VMR CI handling.
eng/​build.ps1 Enables and propagates the local default.
build.sh Defers the root shell default to shared tooling.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

Comment thread repo-projects/Directory.Build.targets Resolved
@ViktorHofer
ViktorHofer force-pushed the enable-mt-local-builds branch from 91a21d6 to 84938e2 Compare September 16, 2026 16:16
@ViktorHofer
ViktorHofer merged commit 4361375 into main Sep 16, 2026
8 of 11 checks passed
@ViktorHofer
ViktorHofer deleted the enable-mt-local-builds branch September 16, 2026 19:24
@ViktorHofer ViktorHofer changed the title Enable -mt by default for local VMR builds Enable -mt by default for local arcadified builds Sep 16, 2026
T-Gro added a commit to dotnet/fsharp that referenced this pull request Sep 24, 2026
Diff: https://github.com/dotnet/dotnet/compare/3d2a4811a58d8ba08bc2162cced36034f98c6b5d..4cf3cfaf13a63f39d81ad15f97f4d922ab31aa95
From: dotnet/dotnet@3d2a481
To: dotnet/dotnet@4cf3cfa

Resolve the divergent-branch backflow against FSharp main. Preserve its newer source changes and whitespace cleanup while retaining the local-build multithreading defaults from dotnet/dotnet#9411. Keep dependency versions unchanged as required by the subscription's excluded assets.

Co-authored-by: Copilot App <[email protected]>
T-Gro added a commit to dotnet/fsharp that referenced this pull request Sep 25, 2026
* Initial commit for subscription 33aad187-a5d7-4947-b09f-777f8ea29e81

* [fsharp] Source update 3d2a481 -> 4cf3cfa

Diff: https://github.com/dotnet/dotnet/compare/3d2a4811a58d8ba08bc2162cced36034f98c6b5d..4cf3cfaf13a63f39d81ad15f97f4d922ab31aa95
From: dotnet/dotnet@3d2a481
To: dotnet/dotnet@4cf3cfa

Resolve the divergent-branch backflow against FSharp main. Preserve its newer source changes and whitespace cleanup while retaining the local-build multithreading defaults from dotnet/dotnet#9411. Keep dependency versions unchanged as required by the subscription's excluded assets.

Co-authored-by: Copilot App <[email protected]>

* Update dependencies from build 333699
No dependency updates to commit
[[ commit created by automation ]]

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Tomas Grosup <[email protected]>
Co-authored-by: Copilot App <[email protected]>
bartelink pushed a commit to bartelink/fsharp that referenced this pull request Oct 7, 2026
* Initial commit for subscription 33aad187-a5d7-4947-b09f-777f8ea29e81

* [fsharp] Source update 3d2a481 -> 4cf3cfa

Diff: https://github.com/dotnet/dotnet/compare/3d2a4811a58d8ba08bc2162cced36034f98c6b5d..4cf3cfaf13a63f39d81ad15f97f4d922ab31aa95
From: dotnet/dotnet@3d2a481
To: dotnet/dotnet@4cf3cfa

Resolve the divergent-branch backflow against FSharp main. Preserve its newer source changes and whitespace cleanup while retaining the local-build multithreading defaults from dotnet/dotnet#9411. Keep dependency versions unchanged as required by the subscription's excluded assets.

Co-authored-by: Copilot App <[email protected]>

* Update dependencies from build 333699
No dependency updates to commit
[[ commit created by automation ]]

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Tomas Grosup <[email protected]>
Co-authored-by: Copilot App <[email protected]>
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.

3 participants