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

Remove notification on diagnostic updates in inline-diagnostics #72562

Merged
merged 2 commits into from
Mar 18, 2024

Conversation

CyrusNajmabadi
Copy link
Member

This is an old vestige of talking to the push-diagnostics system. We don't need this anymore as inline-diags can just listen for workspace-changes, and then just update itself a short delay after that happens (like how all other taggers work).

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner March 15, 2024 17:39
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Mar 15, 2024
@CyrusNajmabadi CyrusNajmabadi requested a review from akhera99 March 15, 2024 17:39
@@ -38,14 +39,12 @@ private sealed class SingleDiagnosticKindPullTaggerProvider(
AbstractDiagnosticsTaggerProvider<TTag> callback,
DiagnosticKind diagnosticKind,
IThreadingContext threadingContext,
IDiagnosticService diagnosticService,
IDiagnosticAnalyzerService analyzerService,
Copy link
Member Author

Choose a reason for hiding this comment

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

note, the IDiagnosticAnalyzerService is where we actually get the diagnostics from. the IDiagnosticService is the legacy service that serves to push out notifications that diagnostics cahnged to registered listeners. We're removing hte latter.

@CyrusNajmabadi CyrusNajmabadi merged commit 1eb6570 into dotnet:main Mar 18, 2024
24 of 27 checks passed
@CyrusNajmabadi CyrusNajmabadi deleted the diagUpdates branch March 18, 2024 18:27
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Mar 18, 2024
@RikkiGibson RikkiGibson modified the milestones: Next, 17.10 P3 Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants