Repository navigation
Pin the Table Carry Onto a Second-Format Lite Round That Finds Nothing - #2586
Conversation
Both rounds are written in the second overview format, the first naming every changed file in its table and stating no coverage, the second on a moved head at Lite effort with a findings total of none and no table. The changed-file set is the same at both commits, so the first round's table carries and the head reads coverage=carried:table with exit 0. Disabling the carry fails the test with exit 45. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 14 minutes. View limit detailsLimit details: You’ve used the included review currently available. Review configuration: ⚙️ Run configuration
📒 Files selected for processing (1)
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 reviewed change adds focused regression coverage with no unresolved issues.
0 open findings
What changed in this PR
Adds a regression test for carrying a second-format file table into a later Lite review with no findings.
Changes:
- Tests unchanged file sets across review rounds.
- Verifies
coverage=carried:tableand successful approval status. - Confirms no missing-table error is reported.
| File | Description |
|---|---|
tests/test_pr_review.py |
Adds the second-format table-carry 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 #2586 +/- ##
========================================
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:
|
|
@coderabbitai review |
|
## 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: - both bodies read as second format - the first body's table names both changed files and the Lite body carries none - the digest reads `effort=lite` and `overview=0/0` Patching `second_format` to return `False` now fails the test. ## Verification - `python3 -m unittest tests.test_pr_review` passes. - Ruff format, Ruff check, and mypy pass through the pre-commit hook. Closes on promotion: #2282 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
…, 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
#2282 reported
pr_review.py statusreadingcoverage=unstatedon a pull request whose first Copilot round named every changed file in its table, while a later round on a moved head, at Lite effort with no findings and no table, stated nothing. The changed-file set was the same at both commits.The carry that case asks for landed in #2276, which reached
mainin #2284 after #2282 was filed. With it, an earlier round's full table carries to a head that states nothing, under the same changed-file-set bound a coverage statement carries under, and reads ascoverage=carried:table. Re-reading the pull request #2282 names with the current script givescoverage=carried:table.The existing carry tests use first-format bodies on both rounds. This adds one test pinning #2282's exact shape: both rounds written in the second overview format, the later at Lite effort with a findings total of none and no table. It asserts exit 0,
coverage=carried:table, and noNO FILE TABLE STANDS INline. Patchingcarried_tableto returnNonefails it with exit 45, so the test proves the carry rather than passing for another reason.Verification
python3 -m unittest tests.test_pr_reviewpasses.Closes on promotion: #2282
🤖 Generated with Claude Code