fix(cli): show full session titles in /resume list (#14082)#31710
Merged
Conversation
Contributor
🔎 Lint report:
|
Collaborator
05fa2e6 to
4f4cba2
Compare
This was referenced May 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Long session titles render in full in the
/resumelist — no moreSalvage BytePlus Volcengine PR With Fix…truncation at 30 chars. Fixes #14082.The truncation existed in
cli.py:6178since the table layout was introduced; the fixed-width Python format spec ({title:<32}) already pads short titles to 32 chars without breaking alignment for longer ones (it left-aligns within the field and overflows visibly past it, which is the desired behavior for an interactive lookup table).Changes
[:30]slice ontitlein_show_recent_sessions. Preview slicing at 38 chars stays.Validation
/resumelistSalvage BytePlus Volcengine PR…Salvage BytePlus Volcengine PR With FixesTargeted tests:
tests/cli/test_cli_init.py— 42/42 passing.Salvage notes
test_cli_init.pyresolved by keeping main's four new/sessionstests AND appending the PR's newtest_resume_list_shows_full_long_titlestest alongside them.Infographic
This infographic covers the full /resume command cluster salvage from May 2026 — PRs #31695, #31709, and #31710. Each PR's body links to the same image because they shipped together as a coherent UX upgrade.