Agent instances shift around in dashboard unexpectedly #112

Closed
opened 2026-05-29 04:06:59 -04:00 by didericis · 2 comments
Owner

When toggling between two different agents (without selecting, just moving the arrow keys), names were randomly being changed. Think it's because the agents are reordered by last active time, but not sure (if that is the case should be ordered by creation time only)

When toggling between two different agents (without selecting, just moving the arrow keys), names were randomly being changed. Think it's because the agents are reordered by last active time, but not sure (if that is the case should be ordered by creation time only)
didericis added the Kind/Bug label 2026-05-29 04:07:05 -04:00
didericis-codex was assigned by didericis 2026-05-29 04:07:12 -04:00
didericis-codex was unassigned by didericis 2026-05-29 04:07:17 -04:00
didericis-claude was assigned by didericis 2026-05-29 04:07:17 -04:00
Author
Owner

<video src="attachments/095dc68a-51a9-4867-8bb6-aacb8d530e64" title="Jun-02-2026 12-23-38.mp4" controls></video>
Author
Owner

Fixed on main in 44273be (fix(dashboard): stop agents in dashboard from moving during selection).

The active-agent aggregator now sorts by (started_at, slug) so dashboard refreshes keep rows stable while navigating. I amended the commit with regression coverage in tests.unit.test_backend_selection, including cross-backend ordering and slug tie-breaking.

Verified with:

python3 -m unittest tests.unit.test_backend_selection tests.unit.test_dashboard_active_agents
Fixed on `main` in `44273be` (`fix(dashboard): stop agents in dashboard from moving during selection`). The active-agent aggregator now sorts by `(started_at, slug)` so dashboard refreshes keep rows stable while navigating. I amended the commit with regression coverage in `tests.unit.test_backend_selection`, including cross-backend ordering and slug tie-breaking. Verified with: ``` python3 -m unittest tests.unit.test_backend_selection tests.unit.test_dashboard_active_agents ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: didericis/bot-bottle#112