Skip to content

Conversation

@MichalStrehovsky
Copy link
Member

typeof(RegionInfo).Assembly.GetType is too difficult to analyze for trimming. Native AOT outerloop runs crash with a NullReferenceException because the property is not reflection-visible.

@MichalStrehovsky
Copy link
Member Author

/azp run runtime-nativeaot-outerloop

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@MichalStrehovsky
Copy link
Member Author

@carlossanlop this test was backported to both .NET 8 and .NET 9 and has been failing in outerloops ever since. We're about to ship .NET 9 GA with 16 out of 20 runtime-nativeaot-outerloop jobs consistently failing. I assume this means they are not part of our shipping criteria. Do you know how would I go about proposing adding runtime-nativeaot-outerloop to the shipping criteria?

Cc @dotnet/ilc-contrib

@MichalStrehovsky
Copy link
Member Author

This doesn't fix all of outerloop because people were being productive writing more trim-unfriendly test code. I'll fix in a follow up in case we need to backport this PR.

@MichalStrehovsky MichalStrehovsky merged commit cc8948a into main Oct 16, 2024
88 of 105 checks passed
@MichalStrehovsky MichalStrehovsky deleted the MichalStrehovsky-patch-2 branch October 16, 2024 12:35
@MichalStrehovsky
Copy link
Member Author

/backport to release/9.0

@github-actions
Copy link
Contributor

Started backporting to release/9.0: https://github.com/dotnet/runtime/actions/runs/11399867413

@MichalStrehovsky
Copy link
Member Author

/backport to release/8.0

@github-actions
Copy link
Contributor

Started backporting to release/8.0: https://github.com/dotnet/runtime/actions/runs/11399872244

@github-actions github-actions bot locked and limited conversation to collaborators Nov 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants