Repository navigation
Skip File-Table Rows When Reading Partial Coverage Markers - #2891
Conversation
A file-summary cell naming the fleet review skill supplied the marker name, and any digit after it read as a drifted marker.
The first pattern shadowed an existing one; the replacement drops only rows opening with a code-span path.
|
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.
🟡 Changes recommended
The row filter is not limited to actual file-summary tables, and the docstring formatting needs adjustment.
2 open findings
What changed in this PR
This PR prevents file-summary rows from causing false partial-coverage detection and adds regression coverage.
Changes:
- Filters path-based rows before marker scanning.
- Adds parity and marker-preservation tests.
- Review found a moderate scope issue and a docstring formatting nit.
| File | Description |
|---|---|
tests/test_pr_review.py |
Adds coverage for filtering and marker edge cases. |
scripts/pr_review.py |
Adds file-row filtering before coverage analysis. |
🧠 Review effort: Lite
💡 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 #2891 +/- ##
========================================
Coverage 59.62% 59.63%
========================================
Files 16 16
Lines 8682 8683 +1
========================================
+ Hits 5177 5178 +1
Misses 3505 3505
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:
|
|
A recorded local strict-review pass covers head |
…ge Rows, and Directive Comment Wrap to Main (#2894) - #2890 documents the dispatch guard for a schedule that never publishes, in D4.1 and the catalog snippet notes - #2891 skips file-table rows when reading partial coverage markers - #2893 treats a tool directive line as no previous sentence in the comment-wrap rule Closes #2849 Closes #2886 Closes #2885 🤖 Generated with [Claude Code](https://claude.com/claude-code)


Fixes #2886.
partial_shapednow drops file-summary table rows (first cell a backticked path, no HTML comment opener on the line) before scanning a Copilot round for drifted fleet-review markers, so a summary cell that names the review skill no longer reads as partial coverage.Tests: a body built from the issue's constructed shape (odd and even table parity), plus guards that a plain-cell row, a non-path code-span row, and a row carrying a marker comment still read as partial. The first assertion fails with the strip reverted.
Local review findings left undisposed by design (narrow scope, listed for the orchestrator):
🤖 Generated with Claude Code