Skip to content

feat: add --no-dashboard flag and auto-disable on non-TTY#8

Merged
rasros merged 1 commit into
mainfrom
feat/no-dashboard-flag
Jul 10, 2026
Merged

feat: add --no-dashboard flag and auto-disable on non-TTY#8
rasros merged 1 commit into
mainfrom
feat/no-dashboard-flag

Conversation

@rasros

@rasros rasros commented Jul 10, 2026

Copy link
Copy Markdown
Owner

What

main.py unconditionally constructed and entered the Rich Live dashboard, which emits control sequences and repeated frames when stdout is piped, redirected, or running in CI — garbling logs and output.

Now:

  • A --dashboard / --no-dashboard flag (default on) lets users opt out explicitly.
  • The dashboard is automatically disabled when sys.stdout.isatty() is false, even without the flag. An info line notes when this auto-disable kicks in.

run_vector_search already accepted dashboard=None and guarded every use, so disabling is just passing None.

Tests

Added CLI parse tests for the default-on and --no-dashboard cases. Full suite: 371 passed.

@rasros rasros merged commit d41da5c into main Jul 10, 2026
1 check passed
@rasros rasros deleted the feat/no-dashboard-flag branch July 10, 2026 19:07
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