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

Avoid contention in Roslyn language service #9471

Merged
merged 1 commit into from
May 20, 2024

Conversation

drewnoakes
Copy link
Member

@drewnoakes drewnoakes commented May 20, 2024

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

Roslyn recently introduced async API for obtaining and releasing "batch" objects for applying updates in dotnet/roslyn#72424.

This change increases the package versions, uses the newer API, fixes some obsolete usages, and gets things building by adding a few package references in order to break the tie on some assembly version conflicts during build.


This is another iteration of #9455, which was reverted due to issues it created during signing. Unlike that prior PR, this does not remove Microsoft.VisualStudio.Internal.MicroBuild.Swix.

Microsoft Reviewers: Open in CodeFlow

@drewnoakes drewnoakes added Feature-Language-Service Populating the Roslyn workspace with references, source files, analyzers, etc Tenet-Performance This issue affects the "Performance" tenet. Performance-Scenario-Solution-Open This issue affects solution open performance. Performance-Scenario-Responsiveness This issue affects UI responsiveness labels May 20, 2024
@drewnoakes drewnoakes requested a review from a team as a code owner May 20, 2024 05:56
Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1881089

Roslyn recently introduced async API for obtaining and releasing "batch" objects for applying updates in dotnet/roslyn#72424.

This change increases the package versions, uses the newer API, fixes some obsolete usages, and gets things building by adding a few package references in order to break the tie on some assembly version conflicts during build.

This is another iteration of dotnet#9455, which was reverted due to issues it created during signing. Unlike that prior PR, this does not remove Microsoft.VisualStudio.Internal.MicroBuild.Swix`, so I expct the same issues about duplicated items to appear.
@drewnoakes drewnoakes force-pushed the fix-contention-in-roslyn branch from bbfb941 to c2beee0 Compare May 20, 2024 11:34
@drewnoakes drewnoakes requested a review from ToddGrun May 20, 2024 11:36
@drewnoakes drewnoakes merged commit ebc15f3 into dotnet:main May 20, 2024
5 checks passed
@drewnoakes drewnoakes deleted the fix-contention-in-roslyn branch May 20, 2024 22:08
@dotnet-policy-service dotnet-policy-service bot added this to the 17.11 milestone May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature-Language-Service Populating the Roslyn workspace with references, source files, analyzers, etc Performance-Scenario-Responsiveness This issue affects UI responsiveness Performance-Scenario-Solution-Open This issue affects solution open performance. Tenet-Performance This issue affects the "Performance" tenet.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants