Skip to content

Handle unavailable module image metadata - #5963

Draft
hoyosjs wants to merge 1 commit into
dotnet:mainfrom
hoyosjs:juhoyosa/fix-module-image-info-flake
Draft

Handle unavailable module image metadata#5963
hoyosjs wants to merge 1 commit into
dotnet:mainfrom
hoyosjs:juhoyosa/fix-module-image-info-flake

Conversation

@hoyosjs

@hoyosjs hoyosjs commented Aug 13, 2026

Copy link
Copy Markdown
Member

Summary

  • Distinguish unavailable module image metadata from valid native modules through an additive IModuleImageInfo module service.
  • Keep DebugServicesTests.ModuleTests deterministic and offline by default while retaining dump-directory image resolution.
  • Skip only metadata-dependent comparisons when image acquisition is unavailable, and render unavailable module classification as <unknown>.

This addresses intermittent DebugServicesTests.ModuleTests failures where a failed PE image acquisition was cached and surfaced as IsManaged=false.

Compatibility

IModule is unchanged. The new service is additive and introduces no breaking API changes for external module implementations.

Manual validation

Ran ModuleTests five times behind a failing local proxy with remote symbol acquisition disabled: 45/45 passed. The captured results still include hard IsManaged=true comparisons for locally resolved managed modules.

Expose image metadata availability as an additive module service and keep dump tests offline unless remote symbols are explicitly enabled.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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.

1 participant