Skip to content

fix(cli): preserve full log IDs in human output - #1455

Merged
betegon merged 1 commit into
mainfrom
bt/fix-cli-log-id-output
Oct 9, 2026
Merged

betegon merged 1 commit into
mainfrom
bt/fix-cli-log-id-output

Conversation

@betegon

@betegon betegon commented Oct 9, 2026

Copy link
Copy Markdown
Member

Log lists truncated IDs to eight characters, including plain output read by agents. For UUIDv7 logs, those characters contain only part of the timestamp, so multiple entries can share the same displayed ID and copying it into log view can fail or be ambiguous.

Preserve full IDs in the shared formatter used by log list, follow mode, and trace logs, and keep the ID column unwrapped so IDs remain copyable. Adds regression coverage for colliding prefixes across both response shapes and output modes, plus command documentation.

Validation: full workspace pnpm run tsc, pnpm run lint, and TZ=UTC pnpm run test passed on Linux x64 with Node 22. CLI: 508 test files, 10,604 tests passed and 16 skipped.

@betegon
betegon requested a review from BYK October 9, 2026 08:10
@betegon
betegon marked this pull request as ready for review October 9, 2026 08:10
@github-actions github-actions Bot added the risk: medium PR risk score: medium label Oct 9, 2026
@betegon

betegon commented Oct 9, 2026

Copy link
Copy Markdown
Member Author

i'm merging this and follow @BYK advice to investigate if we can crop them on TTY sessions while being able to copy the full id

@betegon
betegon merged commit 02543e9 into main Oct 9, 2026
24 checks passed
@betegon
betegon deleted the bt/fix-cli-log-id-output branch October 9, 2026 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants