Skip to content

Align history and logs terminal tables - #1710

Merged
codeforester merged 1 commit into
mainfrom
bug/1709-20260719-history-logs-table-alignment
Jul 20, 2026
Merged

Align history and logs terminal tables#1710
codeforester merged 1 commit into
mainfrom
bug/1709-20260719-history-logs-table-alignment

Conversation

@codeforester

Copy link
Copy Markdown
Collaborator

Summary

  • add optional minimum column widths to the shared base_cli.render_records terminal renderer
  • route history and logs terminal tables through that renderer while preserving existing columns, timestamp semantics, and machine formats
  • add long-value alignment regressions and document the shared table behavior

Root cause

History and logs still used command-local fixed-width loops after the shared output renderer became canonical. Commands, project names, or run IDs wider than the legacy minimums shifted the later LOG and PATH columns.

User impact

Long values now expand their own columns without breaking the alignment of later columns. Redirected TSV and structured JSON/YAML/CSV output remain unchanged.

Validation

  • focused Python: 54 passed
  • touched-file pylint: passed
  • focused history/logs BATS: 12 passed
  • full Python: 1034 passed, 1 skipped, 250 subtests passed
  • full BATS: 818 passed
  • git diff --check: passed

Fixes #1709
Refs #1682
Supersedes the useful behavior from commit 4f927e4f31b216590727fb597419552d6e9518ac, which never had a pull request.

@codeforester
codeforester force-pushed the bug/1709-20260719-history-logs-table-alignment branch from fd9b615 to 702d825 Compare July 20, 2026 21:40
@codeforester
codeforester marked this pull request as ready for review July 20, 2026 21:40
@codeforester
codeforester requested a review from a team as a code owner July 20, 2026 21:40
@codeforester
codeforester merged commit e3ca30c into main Jul 20, 2026
28 checks passed
@codeforester
codeforester deleted the bug/1709-20260719-history-logs-table-alignment branch July 20, 2026 21:44
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.

Align history and logs terminal tables through the shared output renderer

1 participant