Skip to content

Agents window stalls after Copilot runtime panic during MCP/plugin refresh #337470

Open

Description

Existing chats in the Agents window stalled on every request and reported unavailable models, even though GitHub authentication and model discovery succeeded.

During MCP/plugin refresh (reason=clientPluginsChanged), the shared Copilot runtime crashed:

thread 'copilot-cabi' panicked at futures-util-0.3.34/src/stream/unfold.rs:108:21:
Unfold must not be polled after it returned `Poll::Ready(None)`

Subsequent requests stalled or failed with Connection is closed, affecting other chats too.

Workaround: I disabled component-explorer, vscode-automation-mcp, and Azure MCP in the affected chats, then restarted Insiders. The existing chats responded again without clearing history or disabling sandbox protections. Rolling back to the previous Insiders build had not helped.

Expected: A failing MCP integration should not crash the shared runtime and prevent other chats from using models.

Environment: macOS Apple Silicon; Insiders 1.140.0-insider (9cc2a44); Copilot Chat 0.68.2026092302.

Activity

  1. alexdima commented on Nov 20, 2026

    @alexdima
    Member

    Thanks for the report. I tried this on Insiders 1.147 (macOS). In the middle of a session I added a custom agent, an AGENTS.md and an MCP server that crashes on startup. That triggers the same reason=clientPluginsChanged session refresh as in your log. The MCP server failed as expected, but the session kept replying and a new session worked too, so I couldn't get the runtime panic or the "Connection is closed" stall.

    Does this still happen for you on the current Insiders? If it does, please attach the Agent Host log (Output panel > Agent Host) from around the stall, and tell us which plugins or MCP servers you had changed at that moment.

    337470-plugin-refresh-sessions-keep-working.mp4

    🤖 Authored with GitHub Copilot on behalf of Alexandru Dima (@alexdima).

  2. added
    agent-host
    info-needed
    on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

agent-hostagents-windowinfo-needed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions