-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Add explicit reference to Microsoft.Bcl.AsyncInterfaces
in HealthChecks
#46920
Conversation
@JamesNK, @BrennanConroy, @captainsafia you've all made HealthChecks changes. But I'm not sure who the current "HealthCheck team members" are. Suggestions for reviewers / discussion participants❔ |
I think tagging @dotnet/minimal-apis should be good for this area. |
1193f3a
to
01bbe18
Compare
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.
Looks good!
Agree this change looks good. However, it's necessary but not sufficient. Need to check projects for transitive dependencies (perhaps searching project.assets.json or |
01bbe18
to
6769fbe
Compare
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.
I agree with @dougbu that we should automatically detect this issue, but fixing the known issue in the meantime still seems good.
Yeah, I think this should be tracked as a separate infrastructure issue. For the moment, we've addressed the user reported instance. |
Agreed, mostly. I wasn't suggesting an ongoing check for indirect references to BCL packages, just a one-time search and another PR. |
I see. I can give this a stab tomorrow. |
Add explicit reference to
Microsoft.Bcl.AsyncInterfaces
in HealthChecksAddresses #46683 by adding an explicit reference to
Microsoft.Bcl.AsyncInterfaces
fromMicrosoft.Extensions.Diagnostics.HealthChecks
when the target framework isnetstandard2.0
.Opening initially as a draft PR to gather feedback.