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

Only start scanning for task-list items once the Task-List window is actually open. #64543

Merged
merged 7 commits into from
Oct 6, 2022

Conversation

CyrusNajmabadi
Copy link
Member

@CyrusNajmabadi CyrusNajmabadi commented Oct 6, 2022

Prevents registering solution-crawler incremental analyzer that just does work that won't even be visible.

Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1610934

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner October 6, 2022 19:19
@@ -93,6 +105,35 @@ private async Task StartAsync(Workspace workspace)
}
}

private async Task WaitUntilTaskListActivatedAsync()
Copy link
Member Author

Choose a reason for hiding this comment

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

from Dabid Pugh, this is the correct way to both determine if hte task-list is actually visible, and register to find out if it is visible if not.

@CyrusNajmabadi CyrusNajmabadi merged commit 75bbc51 into dotnet:main Oct 6, 2022
@ghost ghost added this to the Next milestone Oct 6, 2022
@CyrusNajmabadi CyrusNajmabadi deleted the taskSubscribe branch October 6, 2022 21:36
@CyrusNajmabadi
Copy link
Member Author

CyrusNajmabadi commented Oct 6, 2022

@arkalyanms
Copy link
Member

Here is the new insertion with this fix - https://dev.azure.com/devdiv/DevDiv/_git/VS/pullrequest/428517#view=discussion. We are working through some infra issues to get it into VS main before evaluating a drop in RPS and then cherry-picking it to 17.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants