Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

flype
Copy link

@flype flype commented Jun 18, 2025

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 <[email protected]>
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