Repository navigation
Enable -mt by default for local arcadified builds - #9411
Merged
Merged
Conversation
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
|
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. |
Contributor
There was a problem hiding this comment.
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
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.
ViktorHofer
force-pushed
the
enable-mt-local-builds
branch
from
September 16, 2026 16:16
91a21d6 to
84938e2
Compare
akoeplinger
approved these changes
Sep 16, 2026
3 of 4 tasks
This was referenced Sep 18, 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]>
This was referenced Oct 6, 2026
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]>
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Restores
-mtas the default for local arcadified builds, effectively reverting 6107c18 from #8151 while preserving subsequent build-script changes.-mtfor repos configured to use VS MSBuild, retaining the restriction from Only apply DotNetBuildMT on core msbuild #9230.tools.shinstead of documenting its default policy. Retain default documentation in the ASP.NET Core PowerShell script, which owns that default.