Repository navigation
Separate SOS runtime discovery from ClrMD - #6189
Merged
max-charlamb merged 8 commits intoNov 5, 2026
Merged
Conversation
Discover runtimes through registered SOS description providers and convert captured metadata into ClrInfo on a shared DataTarget. Split normal and single-file recognition, add provider priority and hint-first traversal, and share runtime header parsing with diagnostics. Add offline cross-platform discovery, metadata parity, symbol-budget, and shared-target lifetime coverage. Co-authored-by: Copilot <[email protected]> Copilot-Session: dc2f081b-c77b-449b-a16c-7e09bf1cd9e2
Make the provider name explicit about converting runtime descriptions into IRuntime instances. Update the filename, tests, and documentation. Co-authored-by: Copilot <[email protected]> Copilot-Session: dc2f081b-c77b-449b-a16c-7e09bf1cd9e2
Restore the existing document so it is excluded from this PR's diff. Co-authored-by: Copilot <[email protected]> Copilot-Session: dc2f081b-c77b-449b-a16c-7e09bf1cd9e2
Co-authored-by: Copilot <[email protected]> Copilot-Session: 25eb53f8-927f-498d-94f9-0c2da243e293
Run normal .NET discovery before hinted modules. Exhaust priority discovery and use first-match fallback unless --all is requested. Co-authored-by: Copilot <[email protected]> Copilot-Session: dc2f081b-c77b-449b-a16c-7e09bf1cd9e2
max-charlamb
marked this pull request as ready for review
November 5, 2026 17:41
added 2 commits
November 5, 2026 12:51
Keep runtime hints limited to direct diagnostic-header reads and the Windows entry point. Update discovery tests to verify crash-info services are not requested. Co-authored-by: Copilot <[email protected]> Copilot-Session: dc2f081b-c77b-449b-a16c-7e09bf1cd9e2
Exhaust normal runtime recognition before trying hinted modules, then remaining modules. Share provider-first probing and validation across passes, with stopping policy controlled by the coordinator. Preserve exhaustive discovery with --all and avoid retrying handled modules. Co-authored-by: Copilot <[email protected]> Copilot-Session: dc2f081b-c77b-449b-a16c-7e09bf1cd9e2
steveisok
approved these changes
Nov 5, 2026
Simplify runtime-description API comments and use explicit module name/base pairs in provider tests. Co-authored-by: Copilot <[email protected]> Copilot-Session: dc2f081b-c77b-449b-a16c-7e09bf1cd9e2
steveisok
approved these changes
Nov 5, 2026
Member
Author
|
/ba-g flaky x86 test |
This was referenced Nov 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Builds on #6010 and preserves its reference-counted shared-target lifetime.
IRuntimeDescriptionProvider,RuntimeDescription, and debugging-library metadata contracts.DescriptionBasedRuntimeProvider: crash/runtime hints and the Windows entry point come first, followed by remaining modules. Default enumeration stops at the first recognized runtime;--allcontinues through every module.ClrInfoand register them on one sharedDataTargetwith automatic ClrMD discovery disabled, without repeating export probes during conversion.IModuledirectly for metadata construction and share the fixed-buffer runtime-header parser with diagnostic commands through linked source, without an ExtensionCommands reference to the Implementation assembly.The provider rename is a separate follow-up commit for easier review.
Validation
Follow-ups