Skip to content

Narrow the File Row Exclusion in Partial Coverage Reading and Reword the Snippet Schedule Comment - #2895

Merged
ptr727 merged 2 commits into
developfrom
feature/2894-promotion-fixes
Oct 12, 2026
Merged

ptr727 merged 2 commits into
developfrom
feature/2894-promotion-fixes

Conversation

@ptr727

@ptr727 ptr727 commented Oct 12, 2026

Copy link
Copy Markdown
Owner

Fixes two review findings Copilot raised on the develop to main promotion PR.

  • partial_shaped dropped whole file-summary rows, which also hid a real partial stated inside one. A row is now removed only from the bare marker-name mention reading. A well-formed marker (raw or entity-escaped) and the count patterns are still read inside a row.
  • The publish-release snippet comment, and its byte-identical copy in docs/reusable-workflows.md, now names WORKFLOW.md D7.1's schedule term.

New subtests fail on develop's code and pass here.

🤖 Generated with Claude Code

…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.
Copilot AI lite review requested due to automatic review settings October 12, 2026 18:34
@ptr727 ptr727 added the comments Permits the comment lines the pull request adds or edits, which the prose gate otherwise refuses label Oct 12, 2026
@coderabbitai

coderabbitai Bot commented Oct 12, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Repository: ptr727/ProjectTemplate/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 70b61ae6-c5c5-4ad5-943d-30b3c8ab1fea

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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.

Comment thread docs/reusable-workflows.md Resolved
@codecov

codecov Bot commented Oct 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.63%. Comparing base (7930a22) to head (1c2a9f3).

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           
Flag Coverage Δ
python-3.13 59.63% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ptr727
ptr727 merged commit c978e6e into develop Oct 12, 2026
14 checks passed
@ptr727
ptr727 deleted the feature/2894-promotion-fixes branch October 12, 2026 18:43
ptr727 added a commit that referenced this pull request Oct 12, 2026
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comments Permits the comment lines the pull request adds or edits, which the prose gate otherwise refuses

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants