Skip to content

Fix current agent in TUI#1596

Merged
dgageot merged 1 commit intodocker:mainfrom
dgageot:fix-current-agent
Feb 4, 2026
Merged

Fix current agent in TUI#1596
dgageot merged 1 commit intodocker:mainfrom
dgageot:fix-current-agent

Conversation

@dgageot
Copy link
Member

@dgageot dgageot commented Feb 4, 2026

No description provided.

@dgageot dgageot requested a review from a team as a code owner February 4, 2026 18:03
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Summary

Found 3 issues in the changed code that need to be addressed:

  1. Missing spinner initialization: Two new event handlers set m.workingAgent but don't initialize the spinner, which will prevent visual indication of agent activity.
  2. Regression in agent name tracking: The refactoring removed SetCurrentAgentName calls from TeamInfoEvent and AgentInfoEvent handlers, but the comment claiming the default handler takes care of it is incorrect - these handlers return before reaching the default case.

These are confirmed bugs in the new code that should be fixed before merging.

Signed-off-by: David Gageot <david.gageot@docker.com>
@dgageot dgageot merged commit e372446 into docker:main Feb 4, 2026
5 checks passed
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