Skip to content
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 experimental diagnostics ids #4179

Merged
merged 1 commit into from
Jul 17, 2023
Merged

Add experimental diagnostics ids #4179

merged 1 commit into from
Jul 17, 2023

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

src/Shared/DiagnosticIds/Experiments.cs Show resolved Hide resolved
Directory.Build.targets Outdated Show resolved Hide resolved
src/Shared/DiagnosticIds/Experiments.cs Show resolved Hide resolved
@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
0 of 4 checks passed
@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
@@ -35,9 +35,8 @@
<!-- Prevent analyzer crashes from stopping things -->
Copy link
Member

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
Member

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
Member

RussKie commented Jul 18, 2023

@geeknoid @rafal-mz we need to do the same for https://github.com/Azure/dotnet-extensions-experimental/ too.

@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.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Define experimental diagnostics IDs
3 participants