Skip to content

fix(smoke): pin COLUMNS=200 so Rich wrapping can't split grepped phrases - #110

Merged
kytmanov merged 1 commit into
masterfrom
fix/smoke-rich-width-pin
Jul 19, 2026
Merged

fix(smoke): pin COLUMNS=200 so Rich wrapping can't split grepped phrases#110
kytmanov merged 1 commit into
masterfrom
fix/smoke-rich-width-pin

Conversation

@kytmanov

@kytmanov kytmanov commented Jul 19, 2026

Copy link
Copy Markdown
Owner

Background (non-tty) smoke runs default Rich to 80 columns; the trace-citation check in smoke_test.sh failed because the phrase "no occurrence records" wrapped mid-phrase, even though the CLI output was correct. Every phrase-grep in the smoke scripts is exposed to the same wrap-point luck.

Fix: export COLUMNS=200 (Rich honors it) right after the set line in all 8 shell smoke scripts, making grep checks deterministic regardless of terminal width.

Verified: Console().width is 80 piped / 200 with the export; the failing phrase stays contiguous.

Non-tty runs default Rich to 80 columns, which wrapped 'no occurrence
records' across lines and failed the trace-citation check in smoke_test.sh
despite correct CLI output. Pin a wide width in all smoke scripts so every
phrase-grep is deterministic regardless of terminal.
@kytmanov
kytmanov merged commit 92e5237 into master Jul 19, 2026
6 checks passed
@kytmanov
kytmanov deleted the fix/smoke-rich-width-pin branch July 19, 2026 20:23
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