Skip to content

Fix: Increase name truncation limits in fleet list command#12

Open
flype wants to merge 1 commit into
nachoal:mainfrom
flype:fix-session-name-truncation
Open

Fix: Increase name truncation limits in fleet list command#12
flype wants to merge 1 commit into
nachoal:mainfrom
flype:fix-session-name-truncation

Conversation

@flype

@flype flype commented Jun 18, 2025

Copy link
Copy Markdown

Summary

  • Increased branch name truncation from 25 to 50 characters
  • Increased batch ID truncation from 15 to 30 characters
  • Fixes issue where long session names get cut off in fleet list output

Problem

When creating sessions with long names like new-issue-bla-bla-bla-bla-bla-bla-bla, the names were being truncated too aggressively in the list view, making it difficult to identify sessions.

Solution

Updated the truncation limits in src/aifleet/commands/list.py to allow longer names while maintaining UI readability.

Test plan

  • Create a session with a long name
  • Run fleet list and verify the full name is visible
  • Ensure table formatting remains intact

🤖 Generated with Claude Code

Previously, branch names were truncated to 25 characters and batch IDs
to 15 characters, which was too short for longer descriptive names.
This change increases the limits to 50 and 30 characters respectively
to better accommodate longer session names without breaking the UI.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
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