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 legacy incremental-analyzer implementation of TaskList. part2 #72406

Merged

Conversation

CyrusNajmabadi
Copy link
Member

@CyrusNajmabadi CyrusNajmabadi commented Mar 5, 2024

Followup to #72315. This removes legacy options that are no longer supported as a public way for users to control this behavior.

Note: we still have the internal support for this to be controlled by control tower if we run into any issues.

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner March 5, 2024 20:49
@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 5, 2024
@CyrusNajmabadi CyrusNajmabadi force-pushed the removeLegacyTaskListAndPushOption branch from 34f671d to 127efc2 Compare March 5, 2024 20:56
@@ -8,21 +8,22 @@ namespace Microsoft.CodeAnalysis.Diagnostics;

internal static class InternalDiagnosticsOptionsStorage
{
private static readonly EditorConfigValueSerializer<DiagnosticMode> s_editorConfigValueSerializer = EditorConfigValueSerializer.CreateSerializerForEnum<DiagnosticMode>();
Copy link
Member Author

Choose a reason for hiding this comment

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

the crux of this change is that we don't actually support any serializing of the options to control the underlyign diagnosticmode. it's always going to be 'pull' for razor/liveshare. And it's always going to be 'default' for normal diagnostics. 'default' means we then go look at the control tower feature flag (inside vs), which allows us to flip the option back to solution-crawler if we have to pull the emergency brake.

@CyrusNajmabadi
Copy link
Member Author

Going to move forward on this. @dibarbet for awareness once you've returned. Thanks.

@CyrusNajmabadi CyrusNajmabadi merged commit a86a0bc into dotnet:main Mar 6, 2024
24 of 27 checks passed
@CyrusNajmabadi CyrusNajmabadi deleted the removeLegacyTaskListAndPushOption branch March 6, 2024 00:28
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.

2 participants