Skip to content

Agents Window: tool search stays stuck on another client after a live chat move #346456

Closed

Description

  • Copilot Chat Extension Version: Agent Host / Copilot SDK 1.0.106-6; extension version not captured.
  • VS Code Version: Code - Insiders; exact build not captured.
  • OS Version: macOS arm64.
  • Feature (e.g. agent/edit/ask mode): Agents Window, local Agent Host.
  • Selected model (e.g. GPT 4.1, Claude 3.7 Sonnet): gpt-6.1-sol.
  • Logs: Agent Host debug export analyzed locally. Raw logs are not attached because they contain workspace contents.

The session remained stuck for over 15 minutes showing:

Running Search tools on another client... Skip?
Thinking

Steps to Reproduce

Observed sequence, not yet reduced to a reliable repro:

  1. A running peer chat is moved into its own session.
  2. The agent calls tool_search_tool to discover computer-use tools.
  3. The tool is assigned to another client, and the turn never resumes. Opening the new session in the visible window does not unblock it.

Log evidence

Times are local (PST), November 5, 2026. Client A is the window displaying the stalled chat; client B is the client stamped as the tool's owner.

Time Observed
17:58:22 The live chat moves from its original session into a new standalone session.
18:03:39 The SDK emits external_tool.requested for tool_search_tool. SDK diagnostics record successful host delivery. AHP chat/toolCallStart assigns the call to client B, not client A.
18:03:47 The parallel shell/SQL calls have completed. Tool search is the only unfinished tool call in the session event stream.
18:18:44 Client A opens the standalone session and sends session/activeClientSet. The outstanding search does not complete.
18:19:25 The export ends with no external_tool.completed, no tool.execution_complete for the search, and no subsequent model activity.

Client A's renderer logs contain no execution of this search call. The agent was waiting for a client-tool result, rather than continuing model generation or waiting on a computer-use permission prompt.

Investigation

The confirmed failure is an external tool request that never receives its completion. The preceding chat move suggests a mismatch between client-tool ownership and the session-level execution watcher, but that cause is not proven.

Relevant paths:

The export does not include client B's renderer logs, and large AHP channel payloads are redacted. These gaps prevent confirming why client B did not service the request.

Expected

The client-tool call completes or reports a failure so the agent can continue. Moving or reopening a live chat should not leave the turn waiting indefinitely on another client.

Related: #335565 (closed, similar cross-client blocking symptom) and #322990 (open, different client-tool hang involving active-client removal and a browser click).

🤖 Posted by GitHub Copilot on Harald's behalf.

Activity

  1. added a commit that references this issue on Nov 7, 2026
    c0673ca
  2. added
    unreleased
    on Nov 7, 2026
  3. added this to the 1.146.0 milestone on Nov 7, 2026
  4. added
    insiders-released
    and removed
    unreleased
    on Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

insiders-released

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions