Skip to content

Extremely slow to load solution in Aspire repo #8152

Open
@dibarbet

Description

@dibarbet

Starting some dogfooding on aspire and noticed that the solution load is incredibly slow. While progress is seemingly being made, it has taken over 5 minutes and is not done.

I've noticed that the Roslyn server is getting spammed by two different requests (many many thousands of requests)

2025-04-08 10:19:01.645 [info] [Debug - 10:19:01 AM] [workspace/buildOnlyDiagnosticIds] [LanguageServerHost] Starting request handler
2025-04-08 10:19:01.645 [info] [Debug - 10:19:01 AM] [workspace/buildOnlyDiagnosticIds] [LanguageServerHost] Request handler completed successfully.

And

2025-04-08 10:11:42.162 [info] [Debug - 10:11:42 AM] [razor/dynamicFileInfoChanged] [LanguageServerHost] Starting request handler

~20k requests for each.

Additionally, there are many workspace/diagnostic requests as well, likely triggered by workspace refresh notifications.

Sometimes the project loads, but the request spam makes it so no other features work.

Prerelease version 2.73.16

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions