Repository navigation
Conversation
) The attested-wait hold matched a ruleset's required status check against the rollup by name alone, so a same-name check from another app satisfied a rule bound to one app. - Required entries now carry their `integration_id`, and a malformed one makes the rules read refuse. - The rollup query carries each CheckRun's app database id. - An entry with an `integration_id` is met only by a same-name CheckRun of that app. A StatusContext never meets one, which errs toward holding and is bounded by the wait timeout. - The CHECKS_PENDING line names the unmet required contexts. Fixes #2839 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
Fixes #2838 The opt-in `sentence-length` check read six layouts wrongly in comments and docstrings. Each now has a constructed test that fails with its fix reverted. - List markers (`-`, `*`, `+`, `1.`, `1)`) are stripped by one shared helper, `strip_list_marker`, called by the Markdown, comment, and docstring readers. - Docstring boundaries come from the AST string nodes (`python_docstrings`), so a column-zero line opening with a quote no longer splits one docstring in two. - The docstring indent base is the column the quotes open at, so a closing quote on the last code line sets nothing. A docstring sharing its opening line with code takes the body one level in from that line. - NumPy sections: header plus underline and `name : type` lines are structure, each description paragraph is its own unit. - Google sections (`Args`, `Returns`, `Raises`, `Yields`, `Attributes` and the near forms): entries are prose units and the `name:` lead is no word. `Examples:` stays code. - An indented run after a colon line in a non-Python comment is not prose, using the comment's own indent from extraction and the shared `indented_past` rule. Two local strict-review rounds ran and are spent. Layouts they found and this change does not fix are filed as #2843. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- 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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2847 +/- ##
==========================================
+ Coverage 60.47% 60.49% +0.02%
==========================================
Files 16 16
Lines 8528 8534 +6
==========================================
+ Hits 5157 5163 +6
Misses 3371 3371
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:
|
There was a problem hiding this comment.
🔵 Needs a closer look
A confirmed NumPy parsing gap remains, and the combined merge-gate and prose-parser changes warrant human validation.
1 open finding
What changed in this PR
This promotion brings the required-check matching and sentence-length parsing changes into the fleet’s shared review and prose tooling.
Changes:
- Match app-bound required checks by integration ID and name unmet checks during the wait hold.
- Improve sentence-length handling for list markers, docstring boundaries, structured sections, and indented comment blocks.
- Add tests for both behaviors.
| File | Description |
|---|---|
tests/test_prose_lint.py |
Adds sentence-layout regression tests. |
tests/test_pr_review.py |
Adds integration-ID matching and wait-output tests. |
scripts/pr_review.py |
Matches required checks to their bound apps. |
.github/actions/prose-gate/prose_lint.py |
Updates comment and docstring sentence parsing. |
🧠 Review effort: Lite
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Summary
Promotes #2842 and #2846 to main.
pr_review.py wait's required-check hold now honors a ruleset entry'sintegration_id. A bound entry is met only by a same-name CheckRun from that app, so a same-name check from another app, or a commit status, no longer ends the hold. The CHECKS_PENDING message names the unmet required contexts.prose_lint.py's opt-insentence-lengthcheck reads six layouts it misread: list markers no longer count as words (one shared helper for Markdown, comments, and docstrings), docstring boundaries come from the AST, a closing quote on a code line no longer sets the indent base, NumPy and Google docstring sections read as structure plus prose, and an indented block under a colon comment line is not joined into prose.Follow-up filed: #2843 (the sentence-length layouts left past the edit budget).
Closes #2838
Closes #2839
🤖 Generated with Claude Code