Skip to content

Retire legacy OtherCommands and StackAndOtherTests scripts - #6121

Merged
max-charlamb merged 4 commits into
dotnet:mainfrom
max-charlamb:dev/max-charlamb/retire-other-command-scripts
Oct 22, 2026
Merged

max-charlamb merged 4 commits into
dotnet:mainfrom
max-charlamb:dev/max-charlamb/retire-other-command-scripts

Conversation

@max-charlamb

@max-charlamb max-charlamb commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Summary

  • replace the remaining OtherCommands.script and StackAndOtherTests.script behavior with focused modern SOS tests
  • add stress-log target environment support for dump and live hosts, with DumpLog coverage across the standard host/flavor/DAC matrix
  • add source-line bpmd, bpmd -clearall, and native CLRMA coverage with managed hosting disabled
  • remove the legacy registrations/configuration and mark both scripts retired

Testing

  • dotnet build src\tests\SOS.Tests\SOS.Tests.csproj --no-restore
  • dotnet build src\tests\SOS.UnitTests\SOS.UnitTests.csproj --no-restore
  • DiagnosticCommandTests.DumpLog_DumpsStressLog under Framework/cdb/live and Core/dotnet-dump/dump
  • LiveBpmdTests.RawBpmd_ClearsBreakpointsAndBreaksOnSourceLine under Framework/cdb/live
  • DiagnosticCommandTests.Clrma_UsesNativeDacProviderWithoutManagedHosting

Move the remaining OtherCommands and StackAndOtherTests coverage into focused modern SOS tests, including stress-log dumping and source-line breakpoint handling.

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

Copilot-Session: 2d5c60f7-9c89-42e6-b9fc-04ef78c8f8d8
@max-charlamb
max-charlamb requested a review from a team as a code owner October 21, 2026 16:54
Max Charlamb added 2 commits October 21, 2026 13:07
Preserve the legacy SetHostRuntime=-none coverage by loading SOS in a dedicated cdb child with managed hosting disabled and verifying the native DAC CLRMA provider.

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

Copilot-Session: 2d5c60f7-9c89-42e6-b9fc-04ef78c8f8d8
Model managed and disabled SOS hosting as a TestConfig axis. Use the axis for CLRMA coverage, isolate debugger sessions by hosting mode, and exclude unsupported dotnet-dump no-host rows.

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

Copilot-Session: 2d5c60f7-9c89-42e6-b9fc-04ef78c8f8d8
Correct HostRuntime validation, stage the Framework stress-log debuggee, clear debugger-native breakpoints, and configure SOS DAC discovery for single-file dumps.

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

Copilot-Session: 2d5c60f7-9c89-42e6-b9fc-04ef78c8f8d8
@max-charlamb

Copy link
Copy Markdown
Member Author

/ba-g unrelated test failure

@max-charlamb
max-charlamb enabled auto-merge (squash) October 22, 2026 14:44
@max-charlamb
max-charlamb disabled auto-merge October 22, 2026 14:46
@max-charlamb
max-charlamb merged commit f1021b5 into dotnet:main Oct 22, 2026
22 of 24 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 22, 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.

3 participants