Skip to content

Clean up unsigned DAC registry override after Helix tests - #137443

Merged
max-charlamb merged 1 commit into
dotnet:mainfrom
max-charlamb:dev/max-charlamb/cleanup-unsigned-dac-registry
Nov 12, 2026
Merged

max-charlamb merged 1 commit into
dotnet:mainfrom
max-charlamb:dev/max-charlamb/cleanup-unsigned-dac-registry

Conversation

@max-charlamb

Copy link
Copy Markdown
Member

Helix Windows workers reuse the same VM across work items, while normal worker cleanup removes work-item files and restores only the current user's environment registry hive. The cDAC dump tests currently leave the machine-wide DisableAuxProviderSignatureCheck value enabled for later work items.

Add Helix post-commands that delete the value after cDAC dump work items complete. x86 work items also clean the WoW64 registry view.

This matches the cleanup added to dotnet/diagnostics#6230.

Validation:

  • Both modified MSBuild files parse as valid XML.
  • git diff --check passes.

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

Copilot-Session: ab215431-2cf9-4421-8822-d411adca0f92
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 4 pipeline(s).
11 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @steveisok, @tommcdon, @dotnet/dotnet-diag
See info in area-owners.md if you want to be subscribed.

max-charlamb added a commit to dotnet/diagnostics that referenced this pull request Nov 12, 2026
Based on #6223.

With .NET 11 released, move servicing coverage to .NET 11.0.0, 10.0.15,
and 8.0.34, dropping .NET 9. Advance Latest and dependency-flow assets
to .NET 12, including the test SDK and Roslyn dependencies, and remove
the obsolete build-specific feed.

Additional changes in this PR:

- Move Windows x64 and x86 SOS testing from Server 2022 to the rolling
runtime queues (`Windows.Amd64.Open.rt` publicly and `Windows.Amd64.rt`
internally), whose OS images respect the general unsigned-DAC registry
override.
- Run .NET 12 SOS coverage with cDAC instead of the legacy DAC.
- Use Helix pre/post commands to enable the general unsigned-DAC
signature override for each SOS work item and remove it afterward; x86
also manages the WoW64 registry view.
- Retain `eng/DisableSignatureCheck.ps1` for existing/manual usage
without staging it in the Helix payload.

The corresponding runtime cleanup is dotnet/runtime#137443.

Validation:

- `SOS.Tests` targeted build passed with 0 warnings and 0 errors.
- `TestConfigValidityTests` passed 25/25.
- A controlled Server 2022 run reproduced the junction-path failure
exactly; the rolling Windows queues avoid relying on the unsupported
Server 2022 flag-only behavior.

---------

Co-authored-by: Juan Sebastian Hoyos Ayala <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Max Charlamb <[email protected]>
Copilot-Session: ab215431-2cf9-4421-8822-d411adca0f92
@max-charlamb

Copy link
Copy Markdown
Member Author

/ba-g infra flake

@max-charlamb
max-charlamb merged commit 9a5af36 into dotnet:main Nov 12, 2026
87 of 91 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants