Skip to content

Conversation

@geeknoid
Copy link
Member

@geeknoid geeknoid commented Jul 17, 2023

Fixes #4161

I also deleted a bunch of now useless analyzers (since they exist in the main Roslyn analyzers instead)

Microsoft Reviewers: Open in CodeFlow

@ghost ghost assigned geeknoid Jul 17, 2023
@geeknoid geeknoid force-pushed the geeknoid/exp branch 3 times, most recently from cf5c52b to a46831c Compare July 17, 2023 13:26
@geeknoid geeknoid requested a review from rafal-mz July 17, 2023 13:36
@geeknoid geeknoid enabled auto-merge (squash) July 17, 2023 20:12
@geeknoid geeknoid force-pushed the geeknoid/exp branch 3 times, most recently from 9ff2fae to a87b42d Compare July 17, 2023 22:03
@geeknoid geeknoid disabled auto-merge July 17, 2023 23:20
@geeknoid geeknoid merged commit 5352825 into main Jul 17, 2023
@geeknoid geeknoid deleted the geeknoid/exp branch July 17, 2023 23:21
@ghost ghost added this to the 8.0 Preview7 milestone Jul 17, 2023
<!-- TODO: to be re-enabled and all warnings fixed (https://github.com/dotnet/extensions/issues/4002) -->
<NoWarn>$(NoWarn);IL2026;IL2087;IL2067;IL2075;IL2091;IL2072;IL2090;CA1825;IL2070;IL2098;IL2057</NoWarn>

<!-- Prevent analyzer crashes from stopping things -->
Copy link
Contributor

Choose a reason for hiding this comment

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

Lines 19-20 should have been deleted as well
image

Comment on lines +20 to +30
internal const string Resilience = "EXTEXP0001";
internal const string Compliance = "EXTEXP0002";
internal const string Telemetry = "EXTEXP0003";
internal const string TimeProvider = "EXTEXP0004";
internal const string AutoClient = "EXTEXP0005";
internal const string AsyncState = "EXTEXP0006";
internal const string HealthChecks = "EXTEXP0007";
internal const string ResourceMonitoring = "EXTEXP0008";
internal const string Hosting = "EXTEXP0009";
internal const string ObjectPool = "EXTEXP0010";
internal const string DocumentDb = "EXTEXP0011";
Copy link
Contributor

Choose a reason for hiding this comment

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

We also need a doc listing all current IDs and explaining which API is each of these IDs light up, if enabled.
The doc should also give guidance on what to do if the ID is encountered - for example, dotnet/aspnetcore has already encountered the TBD warning in the past (dotnet/aspnetcore#49297 (comment)), so once these new IDs flow through what should the maintainers of the repo do. Is it safe to suppress, or should dotnet/aspnetcore rewrite something?

@RussKie
Copy link
Contributor

RussKie commented Jul 18, 2023

@ghost ghost locked as resolved and limited conversation to collaborators Aug 17, 2023
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.

Define experimental diagnostics IDs

4 participants