Repository navigation
refactor(verifiability): remove showcase QA report bureaucracy (#2196) - #2293
Conversation
Problem The #2196 cleanup scope called out the showcase QA reporting layer and committed help baselines as a second verification vocabulary. Those files validated generated report artifacts and stale help snapshots instead of the live demo, CLI, and visual behaviors that now carry the useful checks. What changed Removed the QA summary/Markdown/report persistence modules, the text/cookbook showcase report helpers, and the committed showcase help baselines. The verification-lab scenario runner now reports direct stage statuses for human output and keeps the existing JSON payload path for machine consumers. Tests now cover the live scenario list, direct stage summary, QA workflow state, and JSON envelope behavior without asserting removed names stay absent. Verification - devtools test tests/unit/showcase/test_qa_workflow_runtime.py tests/unit/showcase/test_report.py tests/unit/showcase/test_qa_runner_models.py tests/unit/showcase/test_qa_runner_request.py tests/unit/showcase/test_verification_lane.py tests/unit/cli/test_qa.py -> 36 passed - devtools render all --check -> sync OK after regenerated topology/docs/agents - devtools verify --quick -> exit_code 0 Ref #2196
|
Warning Review limit reached
More reviews will be available in 9 minutes and 43 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (79)
✨ Finishing Touches🧪 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 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: fd29abd08f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
…2295) ## Summary Deletes the remaining QA-session/report wrapper around showcase verification while keeping the real archive-smoke, demo, and visual behaviors. `devtools lab scenario run archive-smoke` now runs `ShowcaseRunner` directly, checks invariants directly, and returns a compact scenario status payload for `--json`. ## Problem #2196 is not just about having demo commands; it is about removing the extra QA/showcase bureaucracy once direct demo, CLI, and visual checks exist. After #2293, several report payload modules, orphaned CLI QA helpers, and the QA session workflow still kept an audit/coverage/session-report vocabulary alive even though no public CLI command used it. ## Solution - Removed `qa_session_payload`, `report_models`, `report_common`, and `showcase_report_payloads`. - Removed orphaned `polylogue/cli/shared/qa_*` snapshot/capture helpers and their tests. - Changed `devtools lab scenario --json` to emit `{scenario, stages, failed_stages, ok, report_dir}` directly. - Rewired `devtools lab scenario run archive-smoke` to call `ShowcaseRunner` and `check_invariants` directly. - Removed the now test-only `qa_runner*` request/workflow/model/stage modules and their direct tests. - Removed deleted showcase QA tests from the semantic validation lane. - Regenerated topology projection/status after deleting the Python modules. This deliberately does not close #2196. The remaining live scope is the broader showcase exercise catalog/runner stack (`exercise_catalog.json`, `ShowcaseRunner`, and many `tests/unit/showcase/*` tests). Those still power `archive-smoke`; they need a separate replacement/deletion pass once ordinary demo/CLI/visual tests cover the same behavior directly. ## Verification - `devtools test tests/unit/showcase/test_verification_lane.py tests/unit/showcase/test_qa_workflow_runtime.py tests/unit/showcase/test_qa_runner_request.py tests/unit/cli/test_deterministic_output.py tests/unit/devtools/test_render_quality_reference.py` -> 111 passed in 26.24s - `devtools test tests/unit/showcase/test_verification_lane.py tests/unit/showcase/test_runner.py tests/unit/showcase/test_showcase_runner_support_runtime.py tests/unit/showcase/test_invariants_runtime.py` -> 28 passed in 2.20s - `devtools lab scenario list --json && devtools lab scenario run archive-smoke --tier 0 --json` -> `ok: true` - `devtools verify --quick` -> exit_code 0 - pre-push hook reran `devtools verify --quick` after both commits -> exit_code 0 Ref #2196
|
Historical Codex triage: evidence checked at 5ebcfe5. This records that source revision; it does not claim a fresh review of current master.
Only the rows listed above are dispositioned. Held findings remain open. |
Summary
Removes the old showcase QA report/baseline layer and keeps the live verification paths: direct scenario execution, reader visual smoke, and the existing machine-readable scenario JSON payload.
Problem
#2196 called out the showcase QA layer as a second verification vocabulary: Markdown summaries, report persistence, cookbook/text artifacts, and committed help snapshots were proving report scaffolding and fossilized help text rather than product behavior. Those files also kept stale command-surface drift around after the demo/CLI/visual paths became the real useful checks.
Solution
Deleted the QA summary/Markdown/report persistence modules, showcase text/cookbook report helpers, committed showcase help baselines, and tests that only validated those artifacts.
devtools lab scenarionow lists/runs live scenario lanes and prints direct stage statuses for human output while preserving--jsonfor machine consumers. Tests now cover the direct scenario interface, QA workflow state, and JSON envelope behavior.This does not delete the demo fixture path, synthetic scenarios, CLI subprocess exercises, or visual tests.
Verification
devtools test tests/unit/showcase/test_qa_workflow_runtime.py tests/unit/showcase/test_report.py tests/unit/showcase/test_qa_runner_models.py tests/unit/showcase/test_qa_runner_request.py tests/unit/showcase/test_verification_lane.py tests/unit/cli/test_qa.py-> 36 passeddevtools render all --check-> sync OK after regenerating topology/docs/agentsdevtools verify --quick-> exit_code 0devtools verify --quickonfd29abd08-> exit_code 0Ref #2196