-
Notifications
You must be signed in to change notification settings - Fork 40.6k
Switching sessions is too slow #320303
Copy link
Copy link
Open
Labels
agent-hostIssues for the agent-host implementation (not the protocol)Issues for the agent-host implementation (not the protocol)bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugperf
Milestone
Metadata
Metadata
Assignees
Labels
agent-hostIssues for the agent-host implementation (not the protocol)Issues for the agent-host implementation (not the protocol)bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugperf
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
StatusShow more project fields
Done
One problem is that we do
listSessionsway too often, and this is slow and blocksresumeSession.When we open a session for the first time, we add it as a workspace folder, and this triggers multiple refreshes
vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListController.ts
Lines 169 to 172 in 6a33563
vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.ts
Line 534 in 6a33563