Repository navigation
Remove hard requirement on nodereuse=false on CI - #7273
Merged
Merged
Conversation
We just discussed in our msbuild sync that nodereuse=false in CI isn't what we recommend and document for our customers. While there are still cases when it makes sense, forbidding it in the eng/common build scripts is the wrong thing to do.
JanProvaznik
approved these changes
Jun 17, 2026
mmitche
approved these changes
Jun 17, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates Arcade’s shared eng/common MSBuild wrappers to stop hard-failing CI builds when MSBuild node reuse is enabled, aligning the common build scripts with current guidance that /nodeReuse:false should not be universally mandated.
Changes:
- Removed the CI-only “node reuse must be disabled” enforcement block from
tools.sh’sMSBuildfunction. - Removed the equivalent CI-only enforcement block from
tools.ps1’sMSBuild()function.
Show a summary per file
| File | Description |
|---|---|
src/arcade/eng/common/tools.sh |
Drops the CI-time node reuse failure check from the bash MSBuild wrapper (and retains CI binary log enforcement). |
src/arcade/eng/common/tools.ps1 |
Drops the CI-time node reuse failure check from the PowerShell MSBuild wrapper (and retains CI binary log enforcement). |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 2/2 changed files
- Comments generated: 3
The error message referenced `-noBinaryLog` but the correct switch exposed by the build entrypoints is `--excludeCIBinarylog` (or `-nobl`). The tools.ps1 already used the correct `-excludeCIBinarylog` switch name.
rainersigwald
approved these changes
Jun 17, 2026
akoeplinger
approved these changes
Jun 29, 2026
JanProvaznik
added a commit
to JanProvaznik/dotnet
that referenced
this pull request
Jul 9, 2026
The ChangeValidation ToolingFilesValidation step forbids modifying root eng/common (^eng/common/.*). The main repos already receive the node-reuse opt-in from src/arcade/eng/common (merged dotnet#7211/dotnet#7273) via the build-time UpdateEngCommonFiles copy, so root eng/common edits are unnecessary for server engagement in the important repos. Co-authored-by: Copilot <[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.
We just discussed in our msbuild sync that nodereuse=false in CI isn't what we recommend and document for our customers to use.
While there are still cases when it makes sense, forbidding it in the eng/common build scripts is wrong.