Repository navigation
Narrow the File Row Exclusion in Partial Coverage Reading and Reword the Snippet Schedule Comment - #2895
Conversation
…he Snippet Schedule Comment A file-summary row is now dropped only from the bare marker-name mention reading, so a count or a well-formed marker stated inside a row still reads as partial. The publish-release snippet comment names WORKFLOW.md D7.1's schedule term instead of describing the group suffix.
|
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
Only minor nit comments remain; no blocking issues were identified.
2 open findings
What changed in this PR
This PR narrows partial-coverage filtering, adds regression tests, and synchronizes release workflow comments.
Changes:
- Preserves marker and count detection inside file-summary rows.
- Adds row-based partial-coverage regression tests.
- Updates duplicated release scheduling comments.
Review notes: docs/reusable-workflows.md and catalog/snippets/workflows/publish-release.yml each have one nit (2 votes) requesting removal of the WORKFLOW.md D7.1 citation.
| File | Summary |
|---|---|
tests/test_pr_review.py |
Adds partial-coverage regression tests. |
scripts/pr_review.py |
Refines partial-coverage scanning. |
docs/reusable-workflows.md |
Updates scheduling guidance. |
catalog/snippets/workflows/publish-release.yml |
Mirrors the updated workflow comment. |
🧠 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 #2895 +/- ##
========================================
Coverage 59.63% 59.63%
========================================
Files 16 16
Lines 8683 8684 +1
========================================
+ Hits 5178 5179 +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:
|
The Comments rule in the comment-and-doc-style Skill said a comment carries no rule citations. Copilot relied on that line when it flagged a contract-section citation on #2894, #2895, and #2901, and the tree already carries such citations. The rule now forbids restating a rule inline and permits a comment to name the contract section holding its why, such as D5.2, without echoing that section's text. The earlier Disproved Claims entry on this branch is reverted, so the Copilot instructions file is unchanged: the finding was grounded in a real line, which is amended here rather than declined. Local review: one recorded pass, six findings. Wording ambiguities in the maintainer-specified text and pre-existing comments that echo a section are deferred to #2907, which also notes the pre-existing design-notes conflict in the Python codestyle reference. 🤖 Generated with [Claude Code](https://claude.com/claude-code)

Fixes two review findings Copilot raised on the develop to main promotion PR.
New subtests fail on develop's code and pass here.
🤖 Generated with Claude Code