Skip to content

Conversation

@cdmihai
Copy link
Contributor

@cdmihai cdmihai commented Jun 16, 2021

Based on #6568. Review that one first. First commit of this PR is Don't launch debugger window for all tests.

Context

Turns out the VS workaround was initializing the plugin on every project query, thus crashing the cache.

Changes Made

Initialization is happening only once now.
ProjectCacheService is now asserting that it's always in expected states.

Testing

Unit tests.

Notes

Does not affect non project cache code paths so should be no risk for 16.11.

@cdmihai cdmihai changed the title Assert cache states Ensure cache initialization happens only once. Jun 16, 2021
@cdmihai cdmihai changed the title Ensure cache initialization happens only once. Ensure cache initialization happens only once Jun 16, 2021
@cdmihai cdmihai changed the title Ensure cache initialization happens only once Ensure project cache initialization happens only once Jun 16, 2021
@cdmihai cdmihai force-pushed the assertCacheStates branch from 4814ffb to 13fc8b6 Compare June 18, 2021 19:44
@Forgind Forgind added the merge-when-branch-open PRs that are approved, except that there is a problem that means we are not merging stuff right now. label Jun 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-when-branch-open PRs that are approved, except that there is a problem that means we are not merging stuff right now.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants