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

@jtschuster jtschuster 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.

@jtschuster jtschuster self-assigned this Aug 20, 2026
Copilot AI lite review requested due to automatic review settings August 20, 2026 03:49
@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.

Copilot AI 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
@jtschuster jtschuster changed the title Fix failure in CI Fix TypeMap failure in CI Aug 20, 2026
@jkoritzinsky
jkoritzinsky merged commit cb8ddc8 into dotnet:main Aug 20, 2026
98 checks passed
@github-project-automation github-project-automation Bot moved this to Done in AppModel Aug 20, 2026
Sign up for free to 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