Skip to content

Merge branch 'main' into 'extensions' #78374

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

Merged
merged 150 commits into from
Apr 29, 2025

Conversation

AlekseyTs
Copy link
Contributor

No description provided.

dotnet-maestro bot and others added 30 commits April 9, 2025 05:02
…408.6

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.XliffTasks
 From Version 9.0.0-beta.25204.5 -> To Version 9.0.0-beta.25208.6
davidwengier and others added 16 commits April 29, 2025 07:14
…dotnet#78334)

In VS Code, Razor cohosting logs to the Razor Log output category as you
would expect, but all of the CLaSP logging ends up in the C# output,
including all of the MEF composition and ALC processing stuff, which is
relatively noisy. This fixes that by remapping logs to the Razor log
endpoint for contexts that specify the Razor language, and makes
requests for Razor specify that context.

This is a bit of speculative work on a Sunday, so feel free to reject or
suggest a different API. I don't really love having a separate method
for this, but having one method with two parameters would mean nobody
ever passes in both parameters.

The results at runtime in VS Code are huge though, and will make
investigating issues easier for us and you.

Part of dotnet/razor#11759
* Add dump reporting for dotnet#76225

This is very likely somehow related to dotnet#74728 but is proving very difficult to track down without a repro or a dump.
Followup to dotnet#78356.

Needed so we can access IDiagAnalyzerService in OOP. Currently one
cannot as it attempts to access the Workspace of a document passed into
it. We block WOrkspace access like for safety/clarity concerns (we don't
want a stateless OOP api call to have access to the mutable workspace
API).

This also cleans up some ugly initialization code IDiagAnalyzerService
had.
was reading logic on semantic search and thought to push a few
non-functional nit cleanup
fixes dotnet#76999

Support TypeSubstitutedLocalSymbol's in MethodToStateMachineRewriter.HoistRefInitialization
…tnet#78333)

About 4.1% of main thread CPU costs during solution load are in workspace eventing. This moves nearly all those costs to background threads. The majority of the workspace changed handler costs are associated with ProjectCodeModelFactoy.

If there were any questions about the event handler needing the main thread, this PR attempts to be safe, and continue to use the main thread.

Future PRs can judiciously look at moving event handlers to work on background threads.

Test insertion PR: https://dev.azure.com/devdiv/DevDiv/_git/VS/pullrequest/631924

See PR for before/after images of CPU usage characteristics.
@AlekseyTs AlekseyTs requested review from jjonescz and jcouv April 29, 2025 17:42
@AlekseyTs AlekseyTs requested review from a team as code owners April 29, 2025 17:42
@ghost ghost added the untriaged Issues and PRs which have not yet been triaged by a lead label Apr 29, 2025
@AlekseyTs AlekseyTs changed the title Merge remote-tracking branch 'main' into 'extensions' Merge branch 'main' into 'extensions' Apr 29, 2025
@AlekseyTs AlekseyTs enabled auto-merge April 29, 2025 18:07
@AlekseyTs AlekseyTs merged commit aaa4a65 into dotnet:features/extensions Apr 29, 2025
27 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead VSCode
Projects
None yet
Development

Successfully merging this pull request may close these issues.