Skip to content

Conversation

@CyrusNajmabadi
Copy link
Member

We've gone more than a full release now with async lightbulbs being on and working fine. Removing the now-legacy codepaths for synchronous lightbulbs from 17.7

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner March 29, 2023 00:25
@CyrusNajmabadi CyrusNajmabadi requested a review from a team March 29, 2023 00:25
@ghost ghost added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Mar 29, 2023
internal partial class SuggestedActionsSourceProvider
{
private partial class AsyncSuggestedActionsSource : SuggestedActionsSource, IAsyncSuggestedActionsSource
private partial class SuggestedActionsSource : IAsyncSuggestedActionsSource
Copy link
Member Author

Choose a reason for hiding this comment

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

merged subclass into parent class (and make parent concrete/sealed).

private partial class SuggestedActionsSource
{
protected sealed class State : IDisposable
private sealed class State : IDisposable
Copy link
Member Author

Choose a reason for hiding this comment

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

no subclassing. so these types and helpers became private.

auto-merge was automatically disabled March 29, 2023 03:14

Pull request was closed

@CyrusNajmabadi CyrusNajmabadi merged commit 7033bb2 into dotnet:main Mar 29, 2023
@ghost ghost added this to the Next milestone Mar 29, 2023
mavasani added a commit to mavasani/roslyn that referenced this pull request Mar 29, 2023
`isExplicit` flag was added in dotnet#67392 to indicate explicit user-invoked diagnostic request. However, I incorrectly set this value to `isExplicit: isBlocking` in CodeFixService. `isBlocking` flag indicates if we are executing sync lightbulb or async lightbulb, and this flag is always false for the current default async lightbulb.

This PR adjusts `isExplicit` argument to be always true for `GetDiagnosticsForSpanAsync` call from `CodeFixService.StreamFixesAsync` in release/dev17.6 branch. I will create a separate PR targeting main branch that builds on top of dotnet#67536 and completely removes the `isBlocking` flag as we no longer support sync lightbulb source in main branch.
@CyrusNajmabadi CyrusNajmabadi deleted the removeSyncLightbulb branch March 29, 2023 16:05
CyrusNajmabadi pushed a commit to CyrusNajmabadi/roslyn that referenced this pull request Mar 29, 2023
`isExplicit` flag was added in dotnet#67392 to indicate explicit user-invoked diagnostic request. However, I incorrectly set this value to `isExplicit: isBlocking` in CodeFixService. `isBlocking` flag indicates if we are executing sync lightbulb or async lightbulb, and this flag is always false for the current default async lightbulb.

This PR adjusts `isExplicit` argument to be always true for `GetDiagnosticsForSpanAsync` call from `CodeFixService.StreamFixesAsync` in release/dev17.6 branch. I will create a separate PR targeting main branch that builds on top of dotnet#67536 and completely removes the `isBlocking` flag as we no longer support sync lightbulb source in main branch.
@dibarbet dibarbet modified the milestones: Next, 17.7 P1 Apr 25, 2023
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