Skip to content

Copilot takes several minutes to respond, any query #341543

Closed

Description

@javierrey

Type: Bug

After updating VSCode, 1.141.1, Copilot takes several minutes evaluating very simple messages, like "Nice, thanks"
It says "This is taking a little longer than usual" for 5 minutes...
And then "You're welcome"

VS Code version: Code 1.141.1 (Universal) (7baac39, 2026-10-12T12:00:06-07:00)
OS version: Darwin arm64 25.6.0
Modes:

System Info
Item Value
CPUs Apple M4 Pro (14 x 2400)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x106b [Google Inc. (Apple)], DEVICE=0x0000 [ANGLE (Apple, ANGLE Metal Renderer: Apple M4 Pro, Version 26.7.1 (Build 25G241))], DRIVER_VENDOR=Apple, DRIVER_VERSION=26.7.1 ACTIVE
Machine model name: Mac
Machine model version: 16.7
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: enabled_on
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 2, 2, 3
Memory (System) 48.00GB (11.55GB free)
Process Argv --crash-reporter-id 6bc1a76c-0d78-4f4a-8b6b-33fa0bcc8530
Screen Reader no
VM 0%
Extensions (15)
Name Identifier Author Version
CodeSnap adpyke.codesnap adpyke 1.3.4
Git History donjayamanne.githistory donjayamanne 0.6.20
GitLens — Git supercharged eamodio.gitlens eamodio 19.3.0
GitHub Actions github.vscode-github-actions github 0.32.3
GraphQL: Language Feature Support graphql.vscode-graphql GraphQL 0.13.4
GraphQL: Syntax Highlighting graphql.vscode-graphql-syntax GraphQL 1.3.13
Checkpoints micnil.vscode-checkpoints micnil 1.3.3
JSON5 syntax mrmlnc.vscode-json5 mrmlnc 1.0.0
WSL ms-vscode-remote.remote-wsl ms-vscode-remote 0.104.3
JavaScript Debugger (Nightly) ms-vscode.js-debug-nightly ms-vscode 2026.10.1317
Ollama ollama.ollama Ollama 0.0.12
shellman remisa.shellman Remisa 5.7.0
Live Server ritwickdey.liveserver ritwickdey 5.7.10
Partial Diff ryu1kn.partial-diff ryu1kn 1.4.6
Change All End Of Line Sequence vs-publisher-1448185.keyoti-changeallendoflinesequence vs-publisher-1448185 0.0.4
A/B Experiments
vsliv368cf:30146710
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
envsactivate1:31551504
gh487529:31544284
cloudbuttont:31379625
3efgi100_wstrepl:31403338
56b7f661:31457055
ec5jj548:31422691
cp_cls_t_966_ss:31526232
4je02754:31572277
8hhj4413:31478653
ge8j1254_inline_auto_hint_haiku:31490510
cp_cls_c_1081:31454833
conptydll_true:31498968
e9c30283:31461165
c9b86496:31447327
ei9d7968:31496641
chat:31457767
8hig5102:31480529
89g7j272:31518289
2d1bi976:31596492
i2gc6536:31499202
52612955:31516516
23c7c724:31520045
ddid_t:31478206
hmra_i5g22:31518061
7df3h592:31512476
cp_cls_t_1082:31535311
608b4df9:31595861
logging_enabled_new:31498466
j0d79568:31499440
jb_cp_cls_t_632:31543129
56dj4588:31512888
32d76977:31512328
ha629193:31508444
a1ije391_t:31540920
jbcp_cls_pctr_t:31531130
cp_intellij_t_nes:31548657
ahp-both-windows:31556933
ihg5j128:31534457
9gg7f176:31542112
sandbox-ui-on-2:31543161
enable_editor_pane_layout:31569726
allow-none:31555437
36h42362:31564511
1h923230:31564177
treatment-23-1:31555779
unuse_dynamic_mcp:31555281
0d8dfbc3:31570291
a1hcc538:31559322
0c1h4866:31566224
session-mark-done:31591648
multi-root:31593626
5b8j3302:31564601
autotiers:31584978
mangle-name-treatment:31572634
atk_rai_validation_enable:31598258
allow-signed-out:31592042
80db41fc-e686-49f5-b9db-830fbb843f14:31589249
intellij_nes_preview_t:31580086
39a5d156:31574986
links-treatment:31596176
aw-autom-on:31583758
issue9151-7215f35b:31597540
revealsession_treatment_7ed7e840:31597558
usage_tips_endabled_0911:31587631
7g328426_fixed:31595622
codex-agent-host-stable-editor:31596219
54hd3363:31588611
skill-budget-30000:31597277
0485115c-2712-4002-b6e9-b5d4e30fb963:31595629
sessioninlinediffenabled_disabled:31587634
intellij_copilot_command_preview_c:31598260
welcomesignin9359t:31590011
b169b0b1-b17e-475c-9032-91b9b24dde97:31589214
d6a5dc66-a24d-4215-bf31-317b28ac768a:31589212
5a177259:31599157
i67i8290:31599156
edbgf432:31599155
msft-auth-on:31593345
permission_prompt_treatment:1332566
ccr_pr_nudge_auto_review:1319472
vsc_wsm_t:1340632
1g5a5742:1379227
jc553158:1433349
cmc_aa_t:1435711
plus-and-new:1454857
c_ws_f8jhi663:1455089
seataa-a98d0257:1447868

Pinned by connor4312

Activity

  1. changed the title [-]Copilot responds after 5 minutes, any query[/-] [+]Copilot responds after several minutes, any query[/+] on Oct 14, 2026
  2. changed the title [-]Copilot responds after several minutes, any query[/-] [+]Copilot takes several minutes to respond, any query[/+] on Oct 14, 2026
  3. EnriqueJMP-holcim commented on Oct 14, 2026

    @EnriqueJMP-holcim

    Its happening to me also. "1.142.0-insider (user setup)", Windows 11.

    Note: this only happens to me when I'm using "Copilot" harness in the chat. When using "Local" the chat works OK. Also using the "copilot" CLI in the terminal works without problems.

    I did the same just saying "Hi" with various copilot models even selecting another BYK provider and keeps stale with "Evaluating" and after some minutes then it says "This is taking a little longer than usual" and finally ~5 minutes as you say it responses back.

  4. YashodipD commented on Oct 14, 2026

    @YashodipD

    #341528, I also reported the same 2 hrs ago you reported,

  5. dyollb commented on Oct 14, 2026

    @dyollb

    I see the same behavior since updating today.

  6. briankinsella commented on Oct 14, 2026

    @briankinsella

    Same behavior for me. The update to Version: 1.141.2 (user setup) today from 1.141.1 set my default harness to Copilot - switching away from Local harness prior default. Local harness behaving with expected speed and responsiveness (variety of models); Copilot harness SLOW SLOW SLOW.

  7. javierrey commented on Oct 14, 2026

    @javierrey
    Author

    I managed to fix it, disabling Gitkraken MCP server in settings.json (with some external AI help), and ultimately, uninstalling GitLens extension.

  8. dtsao commented on Oct 14, 2026

    @dtsao

    I can reproduce what appears to be a 1.141.x Copilot harness performance regression on Windows 11.

    A/B results:

    • VS Code 1.140.0 + Copilot harness → normal/fast
    • VS Code 1.141.2 + Copilot harness → very slow
    • VS Code 1.141.2 + Local harness → normal/fast again

    Current build:

    Version: 1.141.2 (user setup)
    Commit: 16507d91be0dc1ce4f94c04d4d0430210b8685d9
    Date: 2026-10-14T11:07:23Z
    Electron: 43.7.7
    @github/copilot: 1.0.92-4.unstable.r37397886721.gad270aa
    

    The slowdown started immediately after upgrading VS Code today. Switching the harness from Copilot → Local restores normal responsiveness without downgrading VS Code. This suggests the regression may be specific to the Copilot harness/agent-host path rather than general model/service latency.

  9. briankinsella commented on Oct 14, 2026

    @briankinsella

    10. I managed to fix it, disabling Gitkraken MCP server in settings.json (with some external AI help), and ultimately, uninstalling GitLens extension.

    Nice find Javier Rey (@javierrey) - I since switched to local agent harness to meet today's deadlines before seeing your update (local working as expected with expected responsiveness thankfully). While I've not had time to disable / uninstall GitKraken/premium CodeLens to retest Github harness: I too have GitKracken and premium CodeLens. My GitKraken baseline config: GitKraken MCP server disabled; GitKracken CLI disabled (from prior poor experience); premium CodeLens features: enabled with my GK license. Seems GitKraken VS Code integrations might be a factor with Copilot harness.

  10. vijayupadya commented on Oct 14, 2026

    @vijayupadya
    Contributor

    With new chats defaulting to the Copilot harness, the runtime is waiting up to 3–5 minutes for configured or extension-provided MCP servers to start up or authenticate before sending the user's message to the model. Compounding this, a UI state bug prevents the "Skip" or "Authenticate" prompt from appearing during this wait, leaving chats stuck on "Evaluating" until the 3–5 minute MCP timeout expires and the model finally responds. Disabling unused MCP servers should help work around the issue temporarily while we fix the issue.

  11. isaacviel commented on Oct 14, 2026

    @isaacviel
  12. 25 remaining items

  13. connor4312 commented on Oct 16, 2026

    @connor4312
    Member

    Gitlens/GitKraken has now released their fix for Stable users. Their Insiders is not out yet, but I would expect to see that soon.

    The fix on our side has also been merged and will be on its way in the next Insiders.

  14. added this to the 1.143.0 milestone on Oct 16, 2026
  15. connor4312 commented on Oct 16, 2026

    @connor4312
    Member

    Connor's agent driving:

    Verification steps

    These steps use a tiny MCP server built on mcp-go v1.1.0, the same library version GitKraken's gk mcp shipped. Over stdio it acknowledges the subscriptions/listen request and then never reads another message, so it never answers tools/list. Building the same program against mcp-go v1.3.0 gives a working server for comparison.

    You need:

    1. Build the server

    Save this as main.go in an empty folder:

    // Minimal stdio MCP server built on mcp-go.
    // With mcp-go v1.1.0 it hangs after subscriptions/listen, like GitKraken's `gk mcp` did.
    // With v1.3.0 it works; set TOOLS_DELAY (e.g. 20s) to answer tools/list late instead.
    package main
    
    import (
    	"context"
    	"log"
    	"os"
    	"time"
    
    	"github.com/mark3labs/mcp-go/mcp"
    	"github.com/mark3labs/mcp-go/server"
    )
    
    func main() {
    	hooks := &server.Hooks{}
    	if delay, err := time.ParseDuration(os.Getenv("TOOLS_DELAY")); err == nil {
    		hooks.AddBeforeListTools(func(context.Context, any, *mcp.ListToolsRequest) { time.Sleep(delay) })
    	}
    	s := server.NewMCPServer("mcp-go-stall", "1.0.0", server.WithToolCapabilities(true), server.WithHooks(hooks))
    	s.AddTool(mcp.NewTool("hello", mcp.WithDescription("Says hello")),
    		func(context.Context, mcp.CallToolRequest) (*mcp.CallToolResult, error) {
    			return mcp.NewToolResultText("hello from mcp-go"), nil
    		})
    	if err := server.ServeStdio(s); err != nil {
    		log.Fatal(err)
    	}
    }

    Then build one binary per library version (on Windows, add .exe to the -o names):

    go mod init mcp-go-stall
    go get github.com/mark3labs/[email protected] && go mod tidy && go build -o mcp-go-stall-v1.1.0 .
    go get github.com/mark3labs/[email protected] && go mod tidy && go build -o mcp-go-stall-v1.3.0 .

    2. Scenario A: a server that never lists its tools (v1.1.0)

    This is the GitLens case. Open any folder and add .vscode/mcp.json, using the absolute path to your build:

    {
    	"servers": {
    		"stall": { "type": "stdio", "command": "/absolute/path/to/mcp-go-stall-v1.1.0" }
    	}
    }

    Open Output → Agent Host to watch the server's state, then start a new chat with the Copilot harness (not Local).

    1. Send hi.
      • ✅ The chat shows Waiting for MCP servers stall... Skip, and the Agent Host log shows MCP server 'stall' connected (starting).
      • ✅ The reply arrives after about 60 seconds. The log shows MCP server 'stall' failed (error): MCP request timed out after 60000 ms, and the server shows that error in the UI.
      • ❌ Before the fixes, the server showed as ready right away, the chat said "This is taking a little longer than usual", and the first reply took about 4 minutes.
    2. Send another message.
      • ✅ It replies right away, with no waiting message, and the server stays failed.
      • ❌ Before the fixes, every later message took about 2 more minutes.
    3. Start another new Copilot-harness chat, send hi, and click Skip while it is waiting.
      • ✅ The reply starts right away.
      • ✅ Send a second message: it also replies right away, with no waiting message.
      • ❌ Before the fixes, Skip didn't release a server stuck in tools/list, and a skipped server blocked the next message again.

    3. Scenario B: a server that lists its tools late (v1.3.0, 20s delay)

    Replace the config with this one, then start a new Copilot-harness chat:

    {
    	"servers": {
    		"late": { "type": "stdio", "command": "/absolute/path/to/mcp-go-stall-v1.3.0", "env": { "TOOLS_DELAY": "20s" } }
    	}
    }
    1. Send Call the hello tool and tell me what it returned.
      • ✅ For about 20 seconds the chat shows Waiting for MCP servers late.... The server shows as starting, not running, and the log says MCP server 'late' connected (starting).
      • ✅ The server then switches to running. The model calls hello and replies with hello from mcp-go.
      • ❌ Before the fixes, the server showed as running for those 20 seconds even though its tools weren't available yet.
    2. Remove the env entry and start a new chat.
      • ✅ The server is running almost immediately, and there is no waiting message.
  16. anthonykim1 commented on Oct 19, 2026

    @anthonykim1
    Contributor

    Verified on macOS 26.7.1 arm64 using VS Code Insiders 1.143.0-insider (a0c6520313624aceb3f3a80eff7932be6a00405a) with its bundled @github/copilot-sdk 1.0.23-preview.5.

    I followed the verification steps above with the mcp-go test server built against v1.1.0 (stall) and v1.3.0 (late, with and without TOOLS_DELAY=20s). Everything ran in an isolated profile where the test server was the only configured MCP server, using new Copilot harness chats.

    Verified:

    • Scenario A: a first message, a second message in the same chat, and a new chat where I clicked Skip while it was waiting
    • Scenario B: the late server, then the same server without the delay
    • The Agent Host log for the server states and the timeout, and that it used the @github/copilot-sdk bundled with Insiders

    Results:

    • The first message showed "Waiting for MCP servers stall... Skip" and replied once the MCP request timed out ("Completed 2 steps in 1m 4s"). The log shows connected (starting) and then MCP request timed out after 60000 ms exactly 60 seconds later
    • The next message in that chat replied in about 1.5 seconds with no waiting message
    • In a new chat, Skip cleared the waiting message within a second, and the model started responding 3.9 seconds after Skip, the same as a new chat in a folder with no MCP servers (3.8 seconds). The follow-up message had no waiting message
    • With the late server, the chat showed "Waiting for MCP servers late..." while its tools loaded, with the server reported as starting, then called hello and replied "hello from mcp-go". Without the delay there was no waiting message and the reply took about 7 seconds

    The multi-minute wait on an MCP server that never lists its tools no longer reproduces in current Insiders.

    Copilot harness with mcp-go test servers: bounded wait with Skip for a server that never lists its tools, immediate follow-up messages, and a late server waited on until its tools load

  17. wUEZRs commented on Oct 21, 2026

    @wUEZRs

    Holy crap the Agents window in VSCode is slow. I am not even sure if I can create a separate issue on it as it seems to still be an issue but everywhere I look the issues are "closed/duplicates"

    • Copilot Chat Extension Version: Latest
    • VS Code Version: 1.1xx (Agents Window)
    • OS Version: Windows 11
    • Feature (e.g. agent/edit/ask mode): Agents Window (isSessionsWindow / Agent Sessions)
    • Selected model: I would say this goes for all I've tested.
    • Logs: N/A

    Anything is 5-10x slower than just doing it in Copilot CLI

    Extremely hard to give feedback too - just a mass of closed issues with no actual fix in the app itself?
    I come from Claude Code and was taken aback and almost had to demand the license back before my colleague said to use the CLI instead (which is not how I usually work)

    This is even for the least intensive tasks in the world. Ask it if the sky is blue and it will churn for 10 minutes

    Image
  18. adam-toth-at-spare-cores commented on Nov 2, 2026

    @adam-toth-at-spare-cores

    Same symptom here, but the stalled server is Pylance's built-in MCP server, not GitLens (I don't have GitLens or any user- or workspace-configured MCP servers).

    • VS Code 1.144.0 (user setup), commit 2c33b50, Windows 11
    • Pylance (ms-python.vscode-pylance) 2026.4.1, Python extension 2026.10.0
    • Copilot harness, model picker on Auto

    New chats show "Waiting for MCP servers pylance mcp server..." before the first reply. Skip releases it. It looks like Pylance's MCP server may also never finish listing its tools, so it might be worth looping in the Pylance team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

agent-hostbugimportantverified

Type

No type

Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions