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
"This is taking a little longer than usual" shows while a foreground terminal command is running #338915
When chat.experimental.persistentProgress is enabled, the chat working footer switches to "This is taking a little longer than usual" after 90s without any change to the response model. This fires while the agent is running a long foreground terminal command (e.g. a long test run), even though the agent is working fine and simply waiting on the command.
The message should only appear when the agent is truly not responding, not while a tool (such as a foreground terminal command) is actively executing.
Why it happens
ChatWorkingProgressContentPart (src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatProgressContentPart.ts) schedules the message via DELAYED_PROGRESS_MESSAGE_TIMEOUT_MS = 90_000 and only resets the timer on response.model.onDidChange.
For tool invocations, Response in src/vs/workbench/contrib/chat/common/model/chatModel.ts only fires a change when the invocation's state transitions or toolSpecificDataKind changes. Terminal output and the executing state's progress observable do not fire a change, so a running command looks idle until it exits.
getPersistentWorkingProgress in chatListRenderer.ts sets showDelayedProgressMessage: !activityLabel. getPersistentActivityLabel only produces a label for background terminals (isActiveBackgroundTerminalToolInvocation requires isBackground or didContinueInBackground), active subagents, or blocking get_terminal_output/read_bash/read_powershell/read_agent calls. A foreground run_in_terminal call gets no label, so the delayed message is allowed.
Steps to reproduce
Set chat.experimental.persistentProgress to a value other than off.
Ask the agent to run a command in the foreground terminal that takes more than 90s (e.g. a long test suite).
After ~90s the footer reads "This is taking a little longer than usual" while the command is still running normally.
Expected
No "taking longer" message while a foreground terminal command (or any executing tool) is running. Only show it when the agent/model has genuinely stopped producing activity.
Possible fixes
Treat an executing foreground terminal invocation as activity (e.g. give it an activity label / suppress showDelayedProgressMessage, like the background terminal case).
More generally, don't arm the delayed-progress timer while any tool invocation is in the Executing state, and/or reset it on tool progress updates.
I have noticed this message a few times recently, but apparently there was no background/pending agent executions anymore.
I'm not entirely sure I'm able to see, other than in the Chat view, the active agents execution. In the Chat view itself, the request seems finished. Not only this message appears, but the glowing effect around the chat input box stays active.
I was connected to a Codespaces, btw.
Version: 1.140.0-insider
Commit: 544a8291f5ad8e671a23da7c13001f9f20cbe6a8
Date: 2026-09-30T02:47:59Z
OS: Darwin arm64 25.6.0
i have an office and on one pc there is copilot not working. i will check it out sometimes, because my dental office is using more and more AI to get help during planning and working.
Activity
alefragnani commentedon Oct 2, 2026
I have noticed this message a few times recently, but apparently there was no background/pending agent executions anymore.
I'm not entirely sure I'm able to see, other than in the Chat view, the active agents execution. In the Chat view itself, the request seems finished. Not only this message appears, but the glowing effect around the chat input box stays active.
I was connected to a Codespaces, btw.
hueldoeu commentedon Nov 4, 2026
i have an office and on one pc there is copilot not working. i will check it out sometimes, because my dental office is using more and more AI to get help during planning and working.
justschen commentedon Nov 5, 2026
closed with #339050