Repository navigation
fix(cli): follow terminal width instead of hardcoded table widths - #2012
Merged
Open-Squilla merged 5 commits intoOct 29, 2026
Merged
Conversation
Open-Squilla
enabled auto-merge
October 29, 2026 10:16
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Oct 29, 2026
|
Merge queue CI: failure — run 40860926581, attempt 1.
The run summary lists reused suites and executed checks. A green PR check alone does not mean queue validation has passed. |
|
Merge queue CI: success — run 40864273786, attempt 1. The run summary lists reused suites and executed checks. A green PR check alone does not mean queue validation has passed. |
Merged
via the queue into
TokenRhythm:main
with commit Oct 29, 2026
7974829
301 of 304 checks passed
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.
Scope boundary: CLI table rendering in src/opensquilla/cli (agents, channels, doctor, providers, search commands) plus CLI tests and deterministic checkpoint-retention test fixtures. Tables follow the terminal width and fold long values without truncating provider IDs, pairing codes, paths, recovery commands, or search URLs. No gateway, provider, or search logic changes.
Base branch: main
Target exception: none (targets main, the default branch)
Linked issue: Fixes #1987
Release note: CLI tables now adapt to narrow terminals while preserving complete field values through wrapping.
Tests: terminal-width regressions cover 40 and 80 columns, complete IDs/codes/commands/URLs, wide Unicode characters, and both modern and legacy Windows table borders. Checkpoint-retention tests pin the intended character-pressure estimator and separately exercise the conservative tokenizer fallback; all retention and budget assertions remain in place. A before/after run reproduced the truncation failures and the doctor context assertion failure, then passed after the fixes. Local validation: 226 focused CLI, telemetry, checkpoint-recovery, and usage-settlement tests passed; ruff check src tests passed; mypy src/opensquilla --show-error-codes passed (1643 source files). GitHub CI passed on 2914c0b (149 successful checks, 2 configured skips). Two failed groups passed on a targeted rerun: a Linux PowerShell/.NET crash and a Windows native-process cancellation timeout; no audit assertions or timeouts were relaxed. CI run: https://github.com/TokenRhythm/opensquilla/actions/runs/40858065593. Real macOS PTY probes at 40 and 80 columns passed without setting COLUMNS. Final combined-tree merge-queue CI passed on its first attempt for 7974829: https://github.com/TokenRhythm/opensquilla/actions/runs/40864273786.
Safety notes: presentation-only changes; JSON output and command behavior are unchanged. Rendering uses Rich's platform-neutral width and folding behavior; Linux and Windows are covered by the existing CI matrix. No new dependencies or startup hooks.
Maintainer live check: offline macOS PTY checks completed; no provider or channel credentials required.
Third-party origin: original terminal-width change by @mirzasnowy; maintainer follow-up preserves complete values and extends regression coverage.
I have reviewed every line of this diff.