Repository navigation
test: route reader visual smoke through lab scenario - #1048
Conversation
Problem: the new reader visual/DOM evidence lane existed only as a raw pytest invocation, so agents and operators had to remember a separate command outside the verification-lab surface.\n\nWhat changed: add reader-visual-smoke to devtools lab-scenario listing and dispatch, write optional JSON report output, document the command, and cover the list/dispatch behavior with unit tests.\n\nVerification:\n- ruff format --check devtools/lab_scenario.py tests/unit/devtools/test_lab_list_subcommands.py tests/unit/devtools/test_lab_surface.py\n- ruff check devtools/lab_scenario.py tests/unit/devtools/test_lab_list_subcommands.py tests/unit/devtools/test_lab_surface.py\n- mypy devtools/lab_scenario.py tests/unit/devtools/test_lab_list_subcommands.py tests/unit/devtools/test_lab_surface.py\n- pytest -q tests/unit/devtools/test_lab_list_subcommands.py tests/unit/devtools/test_lab_surface.py -k lab_scenario\n- devtools lab-scenario run reader-visual-smoke --json\n- devtools verify --quick\n- devtools verify --affected --skip-slow\n\nRef #865
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (5)
✨ 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 |
Summary\n\nRoute the reader visual/DOM smoke lane through the verification-lab operator surface so agents and operators can invoke it as a named scenario instead of remembering the raw pytest path.\n\n## Problem\n\n#1047 added fast reader DOM evidence, but the durable operator command was still
pytest -q tests/visual. That left the lane outsidedevtools lab-scenario list, outside JSON report output, and easy to miss when following the MK3 execution plan.\n\n## Solution\n\n- Addreader-visual-smoketodevtools lab-scenariodiscovery.\n- Dispatchdevtools lab-scenario run reader-visual-smoketopytest -q tests/visual.\n- Emit JSON and optional report-file output for the lane.\n- Cover scenario discovery and dispatch in devtools unit tests.\n- Document the operator-facing command in the visual evidence docs and execution log.\n\nRef #865\n\n## Verification\n\n-ruff format --check devtools/lab_scenario.py tests/unit/devtools/test_lab_list_subcommands.py tests/unit/devtools/test_lab_surface.py→ 3 files already formatted\n-ruff check devtools/lab_scenario.py tests/unit/devtools/test_lab_list_subcommands.py tests/unit/devtools/test_lab_surface.py→ All checks passed\n-mypy devtools/lab_scenario.py tests/unit/devtools/test_lab_list_subcommands.py tests/unit/devtools/test_lab_surface.py→ Success\n-pytest -q tests/unit/devtools/test_lab_list_subcommands.py tests/unit/devtools/test_lab_surface.py -k lab_scenario→ 6 passed\n-devtools lab-scenario run reader-visual-smoke --json→ 4 passed\n-devtools verify --quick→ exit_code 0\n-devtools verify --affected --skip-slow→ exit_code 0