Skip to content

Fix stale subagent/task indicators persisting in header#227

Merged
rockfordlhotka merged 2 commits intomainfrom
fix/stale-subagent-header-indicators
Mar 31, 2026
Merged

Fix stale subagent/task indicators persisting in header#227
rockfordlhotka merged 2 commits intomainfrom
fix/stale-subagent-header-indicators

Conversation

@rockfordlhotka
Copy link
Copy Markdown
Member

Summary

  • Subagent, A2A, and scheduled-task activity log entries in _activeActivityLogs were never removed when their final reply arrived — only PrimaryFinal cleaned up its PrimaryProgress entry
  • This left phantom header icons (🤖/⏱️) and spinning activity-log bubbles until the user sent the next message
  • Added an else branch in AddAgentReply to remove the finishing source's activity log key, matching the existing PrimaryFinal cleanup pattern

Test plan

  • Trigger subagent work and verify header icons disappear when subagents complete
  • Verify activity-log bubble spinners stop when the subagent's final reply arrives
  • Verify scheduled-task indicators also clear on completion
  • Verify primary agent progress still clears correctly on final reply

🤖 Generated with Claude Code

rockfordlhotka and others added 2 commits March 31, 2026 11:22
Subagent, A2A, and scheduled-task activity log entries were never removed
from _activeActivityLogs when their final reply arrived — only PrimaryFinal
cleaned up its PrimaryProgress entry. This left phantom header icons and
spinning activity-log bubbles until the user sent the next message.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@rockfordlhotka rockfordlhotka merged commit ea165e0 into main Mar 31, 2026
2 checks passed
@rockfordlhotka rockfordlhotka deleted the fix/stale-subagent-header-indicators branch March 31, 2026 16:30
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.

1 participant