Repository navigation
test: ratchet coverage floor to 89 - #387
Conversation
Problem The repository floor was still pinned at 88 after #386, and the next raise needed more than a token point scrape. The remaining debt sat in showcase QA workflow/control surfaces, sync/read wrappers, registry helpers, version/runtime seams, and a few operator utility modules that still mattered to normal use. What changed This tranche adds direct owning-module runtime tests across those surfaces and raises `fail_under` from 88 to 89 once the full gate measured 89.46%. The new tests cover showcase QA orchestration, serialized catalog/invariant/reporting helpers, sync and repository wrapper seams, product registry dispatch, MCP/operator utility helpers, plain-console rendering, Drive source client wiring, and version/git metadata error paths. Ref #197
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (14)
📝 WalkthroughWalkthroughComprehensive runtime test suite addition across 13 test modules covering CLI, core products, sync/async bridge, version handling, MCP server, showcase catalog/invariants/QA workflows, storage repositories, and facade console. Coverage threshold increased from 88 to 89 percent in pyproject.toml. Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~75 minutes Possibly related issues
Possibly related PRs
Suggested labels
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@codex review |
|
Codex Review: Didn't find any major issues. Keep them coming! ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Problem The coverage floor still sat at 88 after #386. The next raise needed to cover more than a few leftover helpers: the remaining active operator surface still had thin direct coverage in showcase QA workflow/control seams, sync and read wrappers, registry/runtime helpers, and small MCP/UI operator modules. What changed This tranche broadened #197 before implementation and then added direct runtime tests across showcase QA workflow/catalog/invariants/reporting, sync conversation and product wrappers, repository product/raw reads, product registry and facade-product seams, CLI/MCP operator helpers, plain-console rendering, and version/runtime metadata paths. Once the full gate measured 89.46% total coverage, `fail_under` moved from 88 to 89. Verification - `devtools coverage-gate` -> `5583 passed in 311.67s`, `TOTAL ... 89.46%` - `devtools verify --quick` -> `verify: all checks passed` Ref #197
Summary
Raise the repository coverage floor from 88% to 89% after a broader direct
runtime test tranche that pushes the measured suite to 89.46% total coverage.
Problem
Issue #197 tracks the return from the temporary 80% floor back to an honest 90%.
After #386 the gate measured 88.24%, which was enough to justify 88 but not 89.
The next raise needed to do more than scrape the next integer: it needed to
cover the remaining active operator surface with headroom, especially showcase
QA workflow/control seams, sync/read wrappers, and runtime helper modules that
still distorted the floor despite being part of normal usage.
Solution
This tranche broadened the target package map before touching code and then
added owning-module runtime tests across the remaining operator-facing surface:
and runner support
The floor in
pyproject.tomlnow moves from 88 to 89 only after the fullcoverage gate cleared with margin.
Ref #197
Verification
pytest -q tests/unit/showcase/test_catalog_loader_runtime.py tests/unit/showcase/test_invariants_runtime.py tests/unit/showcase/test_operator_reporting_runtime.py tests/unit/showcase/test_qa_runner_stages_runtime.py tests/unit/showcase/test_qa_workflow_runtime.py tests/unit/showcase/test_showcase_runner_support_runtime.py50 passedpytest -q tests/unit/core/test_product_registry_runtime.py tests/unit/core/test_sync_surface_runtime.py tests/unit/core/test_version_runtime.py tests/unit/storage/test_repository_product_runtime.py26 passedpytest -q tests/unit/cli/test_operator_support_runtime.py tests/unit/mcp/test_server_runtime.py18 passedpytest -q tests/unit/ui/test_facade_console_runtime.py tests/unit/core/test_version_runtime.py tests/unit/mcp/test_server_runtime.py tests/unit/showcase/test_operator_reporting_runtime.py20 passeddevtools coverage-gate5583 passed in 311.67sTOTAL ... 89.46%devtools verify --quickverify: all checks passedSummary by CodeRabbit
Tests
Chores