You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Sequential Copilot Agent Host steering stays pending after the first message is consumed #345884
VS Code: source checkout at 80b58799654016b1c83e1eb2c14b517a3932b7fb (current main at investigation time)
Feature: Copilot Agent Host steering
Automated reproduction: fake SDK provider test on Linux; live SDK and UI were not independently verified
Model: not applicable to the automated reproduction
Steps to reproduce
Start a long-running Copilot agent task.
Send a steering message and wait until it is consumed while the agent continues working.
Send another steering message before the execution finishes.
Expected: Each sequential steering message is delivered immediately during the ongoing execution.
Actual: The first message is consumed, but subsequent steering can remain pending until execution finishes.
Investigation
A provider test that emits the first SDK user.message and continues with an assistant delta reproduces the failure: the first steering message is admitted, but the second and third are rejected before reaching the SDK. _beginSteeringTurn marks the promoted CopilotTurn running, but its sdkSendInvoked remains false, so hasRunningTurn rejects subsequent steering. This was also identified in the review of #340432.
This is distinct from the session-recreation scenario in #334023 and the multiple simultaneously pending messages addressed by #340669. The readiness guard predates #340669; causation by that PR has not been established.
I have the exact same issue, and it really breaks orchestration agent setup - while the main agent is waiting for sub-agents to finish, it only processes the first message, and the second gets stuck until the sub-agent finishes. So, the orchestrator becomes impossible to steer while sub-agents are working. I started noticing this in last month or so.
This looks like the hasRunningTurn rejection described above. A live sub-agent seems to keep it set.
A test prompt via Copilot chat:
Live-UI repro (Agent Host, Copilot, VS Code on macOS): a running background sub-agent triggers it too.
Steps
Ask the main agent to start a background sub-agent that runs about 30s (sleep 30), then end its turn ("waiting for the sub-agent").
While it runs, send "test 1". It is answered.
Send "test 2" before the sub-agent finishes.
Expected: both messages are answered.
Actual:
"test 1" is answered. "test 2" stays under "Steering" with "1 subagent running" and is never answered.
The queue stays stuck after the sub-agent finishes. The sub-agent shows as "idle" and the indicator doesn't clear.
The model does receive the queued messages later, so only the UI and delivery state is stuck.
Activity
vincasrazmabentley commentedon Nov 4, 2026
I have the exact same issue, and it really breaks orchestration agent setup - while the main agent is waiting for sub-agents to finish, it only processes the first message, and the second gets stuck until the sub-agent finishes. So, the orchestrator becomes impossible to steer while sub-agents are working. I started noticing this in last month or so.
This looks like the
hasRunningTurnrejection described above. A live sub-agent seems to keep it set.A test prompt via Copilot chat:
Live-UI repro (Agent Host, Copilot, VS Code on macOS): a running background sub-agent triggers it too.
Steps
sleep 30), then end its turn ("waiting for the sub-agent").Expected: both messages are answered.
Actual:
Tested on empty workspace. Result:
Version: 1.145.0 (Universal)
Commit: a717861
Date: 2026-11-03T15:03:51-08:00
Electron: 43.8.3
ElectronBuildId: 15784459
Chromium: 150.0.7871.250
Node.js: 24.22.1
V8: 15.0.245.31-electron.0
@github/copilot: 1.0.103.r41379698026.g3219c66
@github/copilot-sdk: 1.0.27.41379698026.g3219c66
OS: Darwin arm64 27.0.0