Skip to content

Move DbgShim and DebugServices tests to Helix - #6070

Merged
max-charlamb merged 2 commits into
dotnet:mainfrom
max-charlamb:helix-final-projects
Sep 28, 2026
Merged

max-charlamb merged 2 commits into
dotnet:mainfrom
max-charlamb:helix-final-projects

Conversation

@max-charlamb

Copy link
Copy Markdown
Member

Summary

  • Move DbgShim.UnitTests and Microsoft.Diagnostics.DebugServices.UnitTests to the existing Helix platform matrix, excluding them from legacy CI execution.
  • Stage relocatable test assemblies, platform-selected dump fixtures, native DbgShim, and Windows debugger dependencies.
  • Publish DbgShim single-file debuggees during the build for each configured runtime/RID; consume prebuilt outputs on workers without building or restoring.
  • Preserve SOS.UnitTests on legacy CI and leave the already-disabled DotnetStack.UnitTests unchanged.

Local validation

  • Targeted managed builds and DbgShim single-file publishing succeeded.
  • Relocated Windows x64 payloads ran using runtime-only dotnet and an empty NuGet cache. All 178 existing DbgShim cases passed (181 with the temporary local helper regression tests); all 43 executed DebugServices cases passed.
  • DebugServices Windows x86: all 19 executed cases passed in the earlier relocated run.
  • Payload staging checked for all seven configured platforms. DbgShim private-build/servicing selection and missing-input/stale-runtime rejection were also checked.
  • Verified legacy-CI exclusion applies to the two migrated suites but not SOS.UnitTests.

Known caveats

  • DebugServices XML reports two existing fatal "Cannot find test case metadata" errors for empty Clrma theories despite a successful process exit. The same errors are present in the pre-migration local baseline; this PR does not suppress them.
  • A very long Windows validation path exposed an existing XML configuration-loading failure; the shorter relocated path executes the full case set.
  • Non-Windows execution requires CI validation. Existing symbol-server lookups remain unchanged.

Stage relocatable prebuilt payloads and publish DbgShim single-file debuggees during the build. Keep SOS.UnitTests on legacy CI.

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

Copilot-Session: 90d32376-768b-4f8c-a982-54247c372cf3
@max-charlamb
max-charlamb requested a review from a team as a code owner September 28, 2026 13:56
Use prebuilt debuggees in the original platform configurations and remove the Helix-only wrapper. Preserve local path defaults while allowing Helix runtime and native-library overrides.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 90d32376-768b-4f8c-a982-54247c372cf3
@max-charlamb
max-charlamb merged commit a7ca332 into dotnet:main Sep 28, 2026
23 checks passed
@max-charlamb
max-charlamb deleted the helix-final-projects branch September 28, 2026 21:19
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 29, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants