Skip to content

[release/10.0.4xx] Capture WER LocalDumps for crossgen2 (port of #7279, diagnose dotnet/runtime#125699) - #7296

Merged
mmitche merged 1 commit into
dotnet:release/10.0.4xxfrom
AndyAyersMS:wer-dumps-crossgen2-125699-10.0.4xx
Jun 19, 2026
Merged

mmitche merged 1 commit into
dotnet:release/10.0.4xxfrom
AndyAyersMS:wer-dumps-crossgen2-125699-10.0.4xx

Conversation

@AndyAyersMS

Copy link
Copy Markdown
Member

What

Forward-port of #7279 to release/10.0.4xx.

Why

dotnet/runtime#125699 is the crossgen2 FailFast at ProfileDataManager.GetAllowSynthesis+0x31 during the SDK crossgen layout step. The most recent recurrence — build 3001312, 2026-06-16, Windows_x64 — was on this branch, so it's the obvious port target.

Difference vs main

On release/10.0.4xx, BuildLogs is populated post-build via a CopyFiles@2 step (artifacts/log/**) with CleanTargetFolder: true, rather than via templateContext.outputs on $(Build.ArtifactStagingDirectory)/BuildLogs. Writing dumps to the staging directory would get wiped, so on this branch the dump path is $(sourcesPath)\artifacts\log\crossgen2-dumps\. The existing artifacts/log/** glob then carries them out into the BuildLogs artifact unchanged.

Everything else (DumpType 2 / DumpCount 3 / continueOnError: true) is identical to #7279.

Note

Drafted with AI (GitHub Copilot) assistance.

…sgen2

Forward-port of dotnet#7279 to release/10.0.4xx. Diagnoses
dotnet/runtime#125699; the most recent recurrence (build 3001312,
2026-06-16, Windows_x64) was on this branch. The release branch wraps
BuildLogs differently than main (CopyFiles@2 with artifacts/log/**), so
dumps go under sourcesPath\artifacts\log\crossgen2-dumps.
@AndyAyersMS
AndyAyersMS requested review from a team as code owners June 19, 2026 14:07
@dotnet-policy-service
dotnet-policy-service Bot requested a review from a team June 19, 2026 14:07
@mmitche
mmitche merged commit 9ae5b4b into dotnet:release/10.0.4xx Jun 19, 2026
8 checks passed
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