Skip to content
This repository was archived by the owner on Sep 25, 2026. It is now read-only.

Revert "Re-add static interface trimming with more testing (#2791)" - #2841

Merged
sbomer merged 1 commit into
dotnet:mainfrom
jtschuster:revertStaticInterfacesAgain
Jun 16, 2022
Merged

sbomer merged 1 commit into
dotnet:mainfrom
jtschuster:revertStaticInterfacesAgain

Conversation

@jtschuster

Copy link
Copy Markdown
Member

This reverts commit ff646e0.

The latest linker update in dotnet/runtime#70614 with the static interface trimming has more failures than the previous and they look similar to the previous failures static interface trimming has caused. I think we should revert static interface trimming in the meantime.

@sbomer sbomer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Are you able to repro this locally? We should make sure we can run apicompat the same way as it's run in ci so that we can validate the fix in advance next time.

@jtschuster

Copy link
Copy Markdown
Member Author

Are you able to repro this locally? We should make sure we can run apicompat the same way as it's run in ci so that we can validate the fix in advance next time.

I haven't been able to repro yet. Should we consider making a pipeline for apicompat in this repo to test riskier linker changes?

@sbomer

sbomer commented Jun 15, 2022

Copy link
Copy Markdown
Member

I think setting up a runtime build in the linker ci is going to be more effort than it's worth - I would rather spend some time figuring out how to run ApiCompat locally - that's something we should be able to do anyway. Once we can do that, let's add test coverage for the new failure, and then I think it's ok to try again.

It's not the end of the world if we then have to revert again, but let's at least try to catch problems locally if we can.

@sbomer
sbomer merged commit 4bed0da into dotnet:main Jun 16, 2022
@sbomer

sbomer commented Jun 16, 2022

Copy link
Copy Markdown
Member

I went ahead and hit merge, just to make sure we don't ship the bug in the next preview.

jtschuster added a commit to jtschuster/linker that referenced this pull request Jun 22, 2022
sbomer added a commit to sbomer/linker that referenced this pull request Jun 24, 2022
jtschuster added a commit to jtschuster/linker that referenced this pull request Jun 24, 2022
agocke pushed a commit to dotnet/runtime that referenced this pull request Nov 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants