Skip to content

Repair VMR asset comparison pipeline - #8648

Merged
akoeplinger merged 1 commit into
dotnet:mainfrom
akoeplinger:fix-vmr-asset-comparison
Aug 25, 2026
Merged

akoeplinger merged 1 commit into
dotnet:mainfrom
akoeplinger:fix-vmr-asset-comparison

Conversation

@akoeplinger

Copy link
Copy Markdown
Member

Summary

  • make associated unified-build lookup work under network isolation while preserving exact resource-trigger metadata
  • compare constituent outputs against the canonical merged VMR asset manifest and remove obsolete Razor and signing jobs
  • fix BuildComparer archive handling and assembly-version reporting, ignore unstable NuGet metadata, and baseline intentional constituent-versus-VMR differences

Validation

  • VMR comparison build 3056890 succeeded with 0 evaluation errors and 0 non-baselined issues
  • the Azure DevOps extension installed from the approved dnceng PyPI feed without a blocked pypi.org request

Copilot AI lite review requested due to automatic review settings August 25, 2026 11:32
@akoeplinger
akoeplinger requested review from a team as code owners August 25, 2026 11:32
@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.

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 repairs and simplifies the VMR-vs-constituent asset comparison pipeline, making it work under network isolation and aligning comparisons to the canonical merged VMR asset manifest while reducing noise from known/unstable differences.

Changes:

  • Update the VMR comparison pipeline to run only asset comparisons (dropping signing/Razor paths) and to resolve the associated unified-build metadata under network isolation.
  • Adjust BuildComparer to load the canonical AssetManifests/MergedManifest.xml, improve archive/stream handling, and correct assembly-version mismatch reporting.
  • Expand the comparison baseline to account for additional intentional version/metadata/content differences (NuGet/Roslyn/Diagnostics/VSTest cases).

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
eng/vmr-msft-comparison-baseline.json Broadens/updates baselines for known intentional diffs (assembly versions, package metadata, missing/extra content).
eng/tools/BuildComparer/Utils.cs Ignores additional unstable package metadata files (.psmdcp) in comparisons.
eng/tools/BuildComparer/BuildComparer.cs Switches VMR manifest loading to the canonical merged manifest path.
eng/tools/BuildComparer/AssetComparer.cs Refines archive stream handling and fixes assembly-version mismatch message labeling.
eng/pipelines/vmr-compare.yml Removes obsolete comparison-type parameter plumbing.
eng/pipelines/templates/steps/vmr-compare.yml Makes build lookup work under network isolation; simplifies to assets-only comparison and updates artifact download patterns.
eng/pipelines/templates/stages/vmr-compare.yml Collapses stage to a single Windows asset-compare job; removes signing jobs and extra pools.
eng/pipelines/templates/jobs/sdk-diff-tests.yml Updates Azure DevOps extension installation to use the internal PyPI feed under network isolation.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

Restore reliable comparison runs by installing the Azure DevOps CLI extension from the approved feed and resolving both resource-triggered and manually selected unified builds.

Compare constituent outputs against the canonical merged VMR asset manifest, remove obsolete Razor and signing jobs, and download only the required VMR artifacts.

Harden BuildComparer package handling, correct assembly-version reporting, ignore unstable generated NuGet metadata, and baseline the intentional Roslyn, Diagnostics, NuGet, and VSTest differences that remain between constituent and unified builds.

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

Copilot-Session: 788bd539-8312-4285-8c08-9df8958d3840
@akoeplinger
akoeplinger force-pushed the fix-vmr-asset-comparison branch from 0635584 to 47c90d0 Compare August 25, 2026 12:37
@akoeplinger
akoeplinger enabled auto-merge (squash) August 25, 2026 13:21
@akoeplinger
akoeplinger merged commit 96ff632 into dotnet:main Aug 25, 2026
11 checks passed
@akoeplinger
akoeplinger deleted the fix-vmr-asset-comparison branch August 25, 2026 18:41
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.

3 participants