Skip to content

feat(cli): add verbose logging to coverage add#942

Merged
RaghavChamadiya merged 1 commit into
repowise-dev:mainfrom
lntutor:feat/coverage-verbose-930
Jul 20, 2026
Merged

feat(cli): add verbose logging to coverage add#942
RaghavChamadiya merged 1 commit into
repowise-dev:mainfrom
lntutor:feat/coverage-verbose-930

Conversation

@lntutor

@lntutor lntutor commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add --verbose / -v to repowise coverage add
  • configure CLI logging before repository resolution, report discovery, and parser imports
  • leave the read-only coverage status command unchanged
  • document the flag and add focused quiet/verbose ordering coverage

Related Issues

Part of #930 (coverage add slice).

Test Plan

  • focused coverage and command tests (31 passed)
  • CLI unit suite (804 passed, 1 unrelated baseline failure)
  • Ruff lint and format checks on modified Python files
  • strict mypy check for coverage_cmd.py
  • git diff --check

The sole CLI-suite failure is the existing mascot tagline assertion test_banner_at_wide_width_stays_compact_with_long_tagline; it reproduces unchanged on clean origin/main.

Checklist

  • My code follows the project style
  • I added tests for the new functionality
  • I updated the CLI reference
  • All existing tests pass (see unrelated baseline failure above)

@repowise-bot

repowise-bot Bot commented Jul 19, 2026

Copy link
Copy Markdown

✅ Health: 7.5 (unchanged)

📋 At a glance
1 hotspot touched. Scoped to packages.

🗺️ Change map

flowchart LR
  subgraph PR ["Changed in this PR (1 with dependents)"]
    f_packages_cli_src_repowise_cli_commands_coverage_cmd_py[".../commands/coverage_cmd.py 🔥"]:::changed
  end
  f_packages_cli_src_repowise_cli_main_py[".../cli/main.py"]
  f_packages_cli_src_repowise_cli_commands_coverage_cmd_py --> f_packages_cli_src_repowise_cli_main_py
  classDef changed fill:#dbeafe,stroke:#1d4ed8,color:#1e3a5f
  classDef warn fill:#fef3c7,stroke:#b45309,color:#78350f
  classDef guard fill:#dcfce7,stroke:#15803d,color:#14532d
Loading

Solid arrows: code that imports the changed files (1 direct dependent, from the last indexed snapshot). Dashed: history/tests.

🔎 More signals (1)

🔥 Hotspot touched (1)

  • .../commands/coverage_cmd.py — 3 commits/90d, 1 dependents · primary owner: Raghav Chamadiya (100%)

📊 Full report · ⭐ Star Repowise · 📥 Install bot · Last updated 2026-07-19 19:46 UTC
Silence on a single PR with [skip repowise] in the title · Per-repo toggle on repowise.dev/settings?tab=bot

@RaghavChamadiya RaghavChamadiya left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving. Docs updated, the test drives the real Click parser, and it asserts ordering rather than just arrival, which is the part that actually matters here.

@RaghavChamadiya
RaghavChamadiya merged commit a5cae5a into repowise-dev:main Jul 20, 2026
1 check passed
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.

2 participants