refactor: Show as many agent IDs as the number of agents.
TL;DR
Added functionality to display agent IDs alongside their corresponding truncated container IDs for superadmin users in the session list.
What changed?
- Modified
backend-ai-session-list.tsto include a new fieldagents_ids_with_container_idsthat concatenates agent IDs with truncated container IDs and displays them in a preformatted text block for superadmin users.
How to test?
- Log in as a superadmin user.
- Navigate to the session list page.
- Verify that the
agents_ids_with_container_idsfield is visible and displays the agent IDs with truncated container IDs.
Why make this change?
This change enhances the visibility of agent-to-container mappings for superadmin users, providing more concise yet complete information in the session list.
Screenshots
Before: Show unique agent ID even though user made multi-node session.

After: Show all agent IDs with ellipsized container ID.

Checklist: (if applicable)
- [ ] Mention to the original issue
- [ ] Documentation
- [ ] Minium required manager version
- [ ] Specific setting for review (eg., KB link, endpoint or how to setup)
- [ ] Minimum requirements to check during review
- [ ] Test case(s) to demonstrate the difference of before/after
Your org requires the Graphite merge queue for merging into main
Add the label “flow:merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “flow:hotfix” to add to the merge queue as a hot fix.
You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.
This stack of pull requests is managed by Graphite. Learn more about stacking.
Join @agatha197 and the rest of your teammates on
Graphite
Merge activity
- Jul 7, 9:07 PM EDT:
yomybabyadded this pull request to the Graphite merge queue. - Jul 7, 9:09 PM EDT:
yomybabymerged this pull request with the Graphite merge queue.