Repository navigation
Assert the Lite Table-Carry Test's Own Premise - #2593
Conversation
The test claimed both rounds were second format, the later one at Lite effort with no findings and no table, but asserted only the carry. It still passed with the format reader disabled. It now asserts both bodies read as second format, the first table names both files and the later body carries none, and the digest reads effort=lite and overview=0/0. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
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.
🟢 Approval recommended
The added assertions cover the test's stated scenario, and no unresolved issues were identified.
0 open findings
What changed in this PR
This PR strengthens the Lite table-carry regression test for pr_review.py by checking the scenario’s premises as well as its result.
Changes:
- Assert both review bodies use the second format, with the expected file tables.
- Assert the digest reports Lite effort and zero findings.
| File | Description |
|---|---|
tests/test_pr_review.py |
Adds premise and digest assertions to the existing regression test. |
🧠 Review effort: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #2593 +/- ##
========================================
Coverage 58.85% 58.85%
========================================
Files 16 16
Lines 8181 8181
========================================
Hits 4815 4815
Misses 3366 3366
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…, Table Carry Test (#2591) ## Summary Promotes develop to main, carrying: - #2588 Put the Managed Bin Directory on install-tools.sh's Own PATH When the Caller Omits It - #2589 Run bootstrap.sh's Whole Main Flow Against a Stub Download and Stub Tools - #2586 Pin the Table Carry Onto a Second-Format Lite Round That Finds Nothing - #2593 Assert the Lite Table-Carry Test's Own Premise Fixes #2257 Fixes #1767 Fixes #2282 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Summary
Answers the headline Copilot raised on the promotion pull request #2591, "Strengthen the Lite table-carry test assertions before approval", which named format, effort, and zero findings.
The test added in #2586 claimed both rounds were in the second overview format, the later one at Lite effort with no findings and no table, but asserted only the carry, so it still passed with the format reader disabled. It now asserts that:
effort=liteandoverview=0/0Patching
second_formatto returnFalsenow fails the test.Verification
python3 -m unittest tests.test_pr_reviewpasses.Closes on promotion: #2282
🤖 Generated with Claude Code