-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[release/7.0] Fix handling generic custom attributes #78304
Conversation
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approved. we will take for consideration in 7.0.x
@MichalStrehovsky / @jeffschwMSFT I don't see a Tactics approval email. Can one of you please send one? Today's the due date for merging December release servicing fixes. |
adding @agocke |
Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas Issue DetailsBackport of #78297 to release/7.0 Customer ImpactIt's not possible to reflection-inspect generic custom attributes that reference their T in the constructor or properties. Attempting to inspect them throws an exception. Generic attributes are new in .NET 7 and this bug constitutes a severely broken 7.0 scenario. TestingTargeted testing. CI. RiskLow. The fix is small.
|
This was approved via email, but Tactics is also asking if this should include tests. |
Adding the blocked label until the test question gets addressed. |
/azp run runtime-wasm-libtests |
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
@radical this file doesn't compile into Mono at all, let's save electricity and environment of unnecessary runs. |
lol my mistake! 👍 |
The question was answered via email: "the product change was validated with all generic attributes testing we have". Also, "ran the specific CoreCLR test manually and verified it's okay". |
But I'll wait for Tactics to reply on the email before merging. |
Sounds good, merge when ready. |
Tactics confirmed we're good to merge. Signed off by area owners. No OOB package authoring changes needed. CI failure is a timeout cancelation. |
Backport of #78297 to release/7.0
/cc @MichalStrehovsky
Customer Impact
It's not possible to reflection-inspect generic custom attributes that reference their T in the constructor or properties. Attempting to inspect them throws an exception.
Generic attributes are new in .NET 7 and this bug constitutes a severely broken 7.0 scenario.
Testing
Targeted testing. CI.
Risk
Low. The fix is small.