Skip to content

Conversation

@rmarinho
Copy link
Member

Description of Change

Update arcade sdk on main

Copilot AI review requested due to automatic review settings December 10, 2025 15:08
@github-actions
Copy link
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 33100

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 33100"

Copy link
Contributor

Copilot AI left a comment

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 the Arcade SDK infrastructure on the main branch, primarily upgrading MSBuild tooling versions and modernizing CI/CD configurations.

Key changes:

  • Updates MSBuild XCopy version from 17.13.0 to 18.0.0
  • Upgrades Azure DevOps build pool images from VS2022 to VS2026 Preview Scout
  • Adds .NET 8.0 SDK installation for Darc tooling compatibility

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
eng/common/tools.ps1 Updates default XCopy MSBuild version to 18.0.0
eng/common/sdk-task.ps1 Updates xcopy-msbuild default version to 18.0.0
eng/common/post-build/redact-logs.ps1 Minor formatting fix (removed line break in parameter definition)
eng/common/core-templates/steps/source-build.yml Adds proper quoting around token variable
eng/common/core-templates/steps/publish-logs.yml Adds proper quoting around BinlogToolVersion parameter
eng/common/core-templates/steps/install-microbuild.yml Refactors MicroBuild installation with parameterized output folder and adds global.json creation for non-Windows platforms
eng/common/core-templates/post-build/post-build.yml Updates build pool images to VS2026 Preview Scout and adds .NET 8.0 SDK installation for Darc
eng/common/core-templates/job/source-index-stage1.yml Updates build pool images to VS2026 Preview Scout and sets default condition to main branch only
eng/common/core-templates/job/publish-build-assets.yml Reorganizes parameters, adds .NET 8.0 SDK installation for Darc, and conditionalizes internal sources template

Comment on lines +36 to +46
cat << 'EOF' > ${{ parameters.microBuildOutputFolder }}/global.json
{
"sdk": {
"version": "$version",
"paths": [
"${{ parameters.microBuildOutputFolder }}/.dotnet-microbuild"
],
"errorMessage": "The .NET SDK version $version is required to install the MicroBuild signing plugin."
}
}
EOF
Copy link

Copilot AI Dec 10, 2025

Choose a reason for hiding this comment

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

The shell variable $version on lines 39 and 43 will not be expanded within single-quoted heredoc ('EOF'). Change to double-quoted heredoc ("EOF") or use unquoted EOF to enable variable substitution.

Copilot uses AI. Check for mistakes.
Comment on lines 124 to +125
- template: /eng/common/templates/steps/enable-internal-sources.yml
parameters:
legacyCredential: $(dn-bot-dnceng-artifact-feeds-rw)
${{ if eq(variables['System.TeamProject'], 'DevDiv') }}:
Copy link

Copilot AI Dec 10, 2025

Choose a reason for hiding this comment

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

The indentation of the conditional ${{ if eq(variables['System.TeamProject'], 'DevDiv') }}: appears incorrect. The parameters: block should be at the same level as the template path, but the conditional is one level above it. This creates ambiguity about whether the condition applies to the entire template call or just the parameters.

Suggested change
- template: /eng/common/templates/steps/enable-internal-sources.yml
parameters:
legacyCredential: $(dn-bot-dnceng-artifact-feeds-rw)
${{ if eq(variables['System.TeamProject'], 'DevDiv') }}:
- ${{ if eq(variables['System.TeamProject'], 'DevDiv') }}:
template: /eng/common/templates/steps/enable-internal-sources.yml

Copilot uses AI. Check for mistakes.
@rmarinho rmarinho merged commit 53a9dc7 into main Dec 12, 2025
145 of 159 checks passed
@rmarinho rmarinho deleted the update-sdk branch December 12, 2025 14:01
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.

2 participants