Skip to content

Fix TypeMap failure in CI - #132549

Merged
jkoritzinsky merged 1 commit into
dotnet:mainfrom
jtschuster:fix-wasm-ci-regression
Aug 20, 2026
Merged

Fix TypeMap failure in CI#132549
jkoritzinsky merged 1 commit into
dotnet:mainfrom
jtschuster:fix-wasm-ci-regression

Conversation

@jtschuster

@jtschusterjtschuster commented Aug 20, 2026

Copy link
Copy Markdown
Member

Looks like 00ecce5 is causing issues in CI.

Fix the blob-only TypeMap test to query its proxy mapping in the correct source -> proxy direction. Use new Lib5Type1().GetType() so NativeAOT trimming retains the source entry.

Investigated and fixed by Copilot.

@azure-pipelines

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

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the TypeMap interop test to validate proxy mappings using the same “source type → proxy type” direction that the TypeMapAssociation attributes encode, aligning this blob-only scenario with the established pattern used elsewhere in the TypeMap tests.

Changes:

  • Adjusts the blob-only proxy-map assertion to query using the source type (Lib5Type1) and expect the proxy type (Lib5Proxy1).
  • Uses new Lib5Type1().GetType() for the lookup key, consistent with other proxy-map tests that rely on runtime type usage patterns.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/interop-contrib
See info in area-owners.md if you want to be subscribed.

@jkoritzinsky
jkoritzinsky enabled auto-merge (squash) August 20, 2026 04:19
@jtschusterjtschuster changed the title Fix failure in CIFix TypeMap failure in CIAug 20, 2026
@jkoritzinsky
jkoritzinsky merged commit cb8ddc8 into dotnet:mainAug 20, 2026
98 checks passed
@dotnet-milestone-botdotnet-milestone-botBot added this to the 12.0-preview1 milestone Aug 21, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants

@jtschuster@jkoritzinsky@AaronRobinsonMSFT