Menu

#475 feat(doctor): report optional UI extras

closed
nobody
None
2026-08-28
2026-08-26
Anonymous
No

Originally created by: slegarraga

Closes [#440]

What

  • Adds read-only doctor rows for the optional dash and tui extras.
  • Uses importlib.util.find_spec so diagnosis never imports either UI dependency.
  • Reports missing extras as non-critical warnings with the matching install hint.

Tests

  • .venv/bin/pytest tests/unit/test_cli_doctor.py — 20 passed.
  • .venv/bin/ruff check src/doberman/cli/doctor.py tests/unit/test_cli_doctor.py — passed.
  • .venv/bin/ruff format --check src/doberman/cli/doctor.py tests/unit/test_cli_doctor.py — passed.

Related

Tickets: #440
Tickets: #495
Tickets: #509

Discussion

  • Anonymous

    Anonymous - 2026-08-27

    Ticket changed by: fu351

    • status: open --> closed
     
  • Anonymous

    Anonymous - 2026-08-27

    Ticket changed by: fu351

    • status: closed --> open
     
  • Anonymous

    Anonymous - 2026-08-28

    Ticket changed by: fu351

    • status: open --> closed
     
  • Anonymous

    Anonymous - 2026-08-28

    Originally posted by: fu351

    Merged, thanks @slegarraga! Checking find_spec instead of importing keeps doctor cheap and side-effect free, and the shared _check_optional_extra helper makes a third extra a one-line addition.

     

Log in to post a comment.