Skip to content

[release/11.0.2xx] Fix workload BuildPass2 shared component inputs - #10249

Merged
mthalman merged 10 commits into
release/11.0.2xxfrom
marcpopMSRC-fix11.0.2xx
Oct 27, 2026
Merged

mthalman merged 10 commits into
release/11.0.2xxfrom
marcpopMSRC-fix11.0.2xx

Conversation

@marcpopMSFT

Copy link
Copy Markdown
Member

Summary

Fix the release/11.0.2xx Windows workload BuildPass2 and source-build configuration so non-1xx builds consume the matching 1xx shared-component inputs.

  • Flow the shared-component and runtime-dependent artifacts into Windows_Workloads_x64_BuildPass2.
  • Download shared components with a platform-appropriate shell: PowerShell on Windows and Bash on Unix.
  • Derive the 1xx runtime pack version from the selected live/shared-component packages rather than the current 2xx runtime version.
  • Pin the 1xx workload manifest MSI version to the exact package version available on the internal feed.

The open emsdk redesign in #9995 targets main and is not a servicing fix for this failure.

Validation

  • Azure build 3107504 completed the main build and Windows_Workloads_x64_BuildPass2 successfully.
  • Focused MSBuild checks verified the derived runtime version and exact workload manifest MSI version are propagated to the SDK workload build.
  • The later Linux installer validation failures in that build were independent transient ci.dot.net blob 404s affecting both x64 and arm64; the existing package URLs returned HTTP 200 afterward.
  • No full local build was run because this is a servicing branch; the PR build is the end-to-end validation.

Resolve the 1xx runtime version after build inputs are available and keep the downloaded source-built SDK in the pipeline artifact directory across container tasks.

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

Copilot-Session: 815bb0bd-3ca5-4ccb-b933-44e49e49abff
Co-authored-by: Copilot <[email protected]>

Copilot-Session: 815bb0bd-3ca5-4ccb-b933-44e49e49abff
Co-authored-by: Copilot <[email protected]>

Copilot-Session: 815bb0bd-3ca5-4ccb-b933-44e49e49abff
Run the shared component download with Bash and translate the Windows artifact path for WSL. Keep the download helper LF-only so Windows checkouts can source it.

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

Copilot-Session: 815bb0bd-3ca5-4ccb-b933-44e49e49abff
Use PowerShell for Windows build legs because the managed VS 2026 image does not provide Bash. Preserve the existing source-build URL fallback and keep Bash behavior unchanged on Unix agents.

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

Copilot-Session: 815bb0bd-3ca5-4ccb-b933-44e49e49abff
Co-authored-by: Copilot <[email protected]>

Copilot-Session: 815bb0bd-3ca5-4ccb-b933-44e49e49abff
@marcpopMSFT
marcpopMSFT requested review from a team as code owners October 16, 2026 20:27
@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.

@marcpopMSFT

Copy link
Copy Markdown
Member Author

I noticed that the internal 11.0.2xx CI was broken. I had copilot iterate and this is the set of fixes it came up with. I have an internal passing CI build that works but I don't know the vmr infrastructure well enough to know if these are the right changes.

@mthalman mthalman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Rath

Comment thread repo-projects/Directory.Build.targets Resolved
Comment thread eng/.gitattributes Resolved
Replace runtime version discovery and shared-component download plumbing with an explicit Microsoft.NETCore.App.Ref dependency matching the existing 1xx SDK build.

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

Copilot-Session: b2b92de4-4ec7-4f17-a449-42c25d85d06c
@marcpopMSFT
marcpopMSFT requested a review from mthalman October 21, 2026 19:06
@marcpopMSFT

Copy link
Copy Markdown
Member Author

@mthalman my internal test build is still failing in pass2: https://dev.azure.com/dnceng/internal/_build/results?buildId=3113040&view=logs&s=56cc5bc2-3154-5d19-920f-2db03d3b8537&j=1f4b87d2-8b32-5fba-8e36-bb3e59a333c5

My copilot wants to hack it but even pointing it back as how you solved this in 10.0.2xx, it's wanting to do weird things like hard code versions so I'm pausing it to consult with you..

Here's a summary of the versioning it's seeing in the builds:
image

@dotnet-policy-service
dotnet-policy-service Bot requested a review from a team October 27, 2026 14:07
mthalman and others added 2 commits October 27, 2026 10:24
…RC-fix11.0.2xx

# Conflicts:
#	eng/Version.Details.props
#	eng/Versions.props
@akoeplinger

Copy link
Copy Markdown
Member

@marcpopMSFT @mthalman was this ported to main (apart from the changes that flow through sdk)?

@marcpopMSFT

Copy link
Copy Markdown
Member Author

@akoeplinger not yet — opened #11062 to port it to main. It isn't needed for main today (all of this is gated on non-1xx builds), but a future release/12.0.2xx branched from the 1xx line would otherwise inherit the old logic and hit the same failures.

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.

5 participants