Skip to content

Remove hard requirement on nodereuse=false on CI - #7273

Merged
ViktorHofer merged 2 commits into
mainfrom
AllowNodeReuseInCI
Jun 29, 2026
Merged

ViktorHofer merged 2 commits into
mainfrom
AllowNodeReuseInCI

Conversation

@ViktorHofer

@ViktorHofer ViktorHofer commented Jun 17, 2026 •

Copy link
Copy Markdown
Member

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.

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.

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.

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’s MSBuild function.
  • Removed the equivalent CI-only enforcement block from tools.ps1’s MSBuild() 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

Comment thread src/arcade/eng/common/tools.sh Resolved
Comment thread src/arcade/eng/common/tools.sh Resolved
Comment thread src/arcade/eng/common/tools.ps1 Resolved
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.
@dotnet-policy-service
dotnet-policy-service Bot requested a review from a team June 17, 2026 15:06
@ViktorHofer
ViktorHofer merged commit d3d091e into main Jun 29, 2026
11 checks passed
@ViktorHofer
ViktorHofer deleted the AllowNodeReuseInCI branch June 29, 2026 10:35
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]>
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.

7 participants