Skip to content

fix(agent-manager): show live subagent tab activity - #13597

Merged
marius-kilocode merged 1 commit into
mainfrom
fix-subagent-tab-progress-spinner
Aug 31, 2026
Merged

fix(agent-manager): show live subagent tab activity#13597
marius-kilocode merged 1 commit into
mainfrom
fix-subagent-tab-progress-spinner

Conversation

@marius-kilocode

@marius-kilocode marius-kilocode commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Subagent tabs in Agent Manager kept a fixed task icon while the session was running, retrying, or waiting for input. This also affected async subagents opened from the background-agent strip, so their tabs did not provide the same progress and outcome signals as normal session tabs.

Why This Change Was Made

Use the existing activity resolver, icons, colors, and translated labels. Read activity from the parent session provider so events received before the inspector opens are not lost. Keep the inspector's separate chat provider so selecting a subagent does not replace the parent conversation.

User Impact

  • Show animated spinners for running and retrying subagents.
  • Show the normal needs-input, completed, and error indicators, with matching tooltips.
  • Update inactive tabs and preserve the idle task icon.
  • Keep tab selection, closing, and reopening independent of the parent chat.

Evidence

  • Extension build, type checks, lint, Knip, formatting, and the Kilo marker guard passed.
  • All 36 focused tests passed, including the real subagent panel mounted after activity events and reopened after completion.
  • All 4,494 extension unit tests passed on rerun without code changes. The first full run hit the existing PR-comment render test's 5-second timeout; that test also passed in isolation.
  • Isolated VS Code checks passed for all six states, inactive-tab updates, blocking versus nonblocking questions, disconnect/reconnect, async-agent opening, spinner animation, and closing/switching tabs.
  • UI checks used deterministic session events, not live model requests. The screenshots contain only test labels.

Running, retrying, and waiting for input:

Subagent tabs show running and retrying spinners and a needs-input warning

Completed, error, and idle states after reopening the tabs:

Subagent tabs show a completed check, an error warning, and the idle task icon

@kilo-code-bot

This comment has been minimized.

@marius-kilocode
marius-kilocode merged commit b4763a4 into main Aug 31, 2026
24 checks passed
@marius-kilocode
marius-kilocode deleted the fix-subagent-tab-progress-spinner branch August 31, 2026 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants