Repository navigation
refactor(verifiability): gate demo evidence with pytest (#2196) - #2211
Conversation
Problem: the demo/visual validation lane now points at real pytest evidence, but its operation targets were not declared in the shared operation catalog, so projection coverage correctly rejected the lane metadata. What changed: add seed-demo-archive, verify-demo-archive, and reader-visual-dom to the declared control-plane operation specs, with code references to the demo commands and visual smoke tests. Regenerate the quality reference so the declared-operation count matches the catalog. Verification: devtools test tests/unit/devtools/test_scenario_projections.py::test_all_projection_operation_targets_are_declared -q; devtools test tests/unit/devtools/test_validation_lanes.py tests/unit/devtools/test_release_readiness.py tests/unit/devtools/test_scenario_projections.py tests/unit/cli/test_demo_command.py tests/unit/demo/test_demo_seed_verify.py tests/visual -q; devtools render all --check; devtools verify --quick; devtools verify --seed-testmon --skip-slow.
|
Warning Review limit reached
More reviews will be available in 30 minutes and 38 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 (11)
✨ 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: aacd4bc601
ℹ️ 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".
|
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
Replaces the CI/release-readiness reliance on the legacy showcase-baseline verifier for the demo/readers surface with ordinary pytest evidence over the deterministic demo commands and visual reader smoke tests. The legacy
devtools lab scenario verify-baselinescommand remains available as a manual lab command, but it is no longer the CI/release gate for this surface.Problem
#2196 made
polylogue demo seedandpolylogue demo verifythe concrete demo readiness path. Keepingshowcase-baselinesas the named CI and release-readiness gate left the project using a broad generated-baseline harness where behavior-focused pytest evidence is now clearer, faster to interpret, and better instrumented by the managed pytest supervisor.Solution
showcase-verifytodemo-visual-verifyand run the demo command tests plustests/visualdirectly.showcase-baselinesvalidation lane withdemo-visual, coveringpolylogue demo seed,polylogue demo verify, CLI help, and reader visual DOM evidence.seed-demo-archive,verify-demo-archive, andreader-visual-domin the shared operation catalog so scenario projection coverage remains grounded.This does not add absence tests for old commands and does not delete the legacy lab scenario command; it removes that command from the authoritative demo/visual gate.
Verification
nix develop --command devtools test tests/unit/devtools/test_scenario_projections.py::test_all_projection_operation_targets_are_declared -q->1 passednix develop --command devtools test tests/unit/devtools/test_validation_lanes.py tests/unit/devtools/test_release_readiness.py tests/unit/devtools/test_scenario_projections.py tests/unit/cli/test_demo_command.py tests/unit/demo/test_demo_seed_verify.py tests/visual -q->183 passednix develop --command devtools render all --check-> all generated surfaces sync OKnix develop --command devtools verify --quick-> exit code 0nix develop --command devtools verify --seed-testmon --skip-slow->11633 passed, diagnosispytest_passed, peak pytest tree RSS3506.2 MiBdevtools verify --quickataacd4bc-> exit code 0Ref #2196