Repository navigation
Bound the Q_BOT_ID Comments to the Window the Query Reads - #2687
Conversation
…on Guarantee The comment promised the bot id resolves in any repository whose reviewed pull requests have all merged, but the query reads only a bounded window of recently updated pull requests, so it does not. State the behavior instead: merged pull requests fill the window alongside open ones. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The comment said the id resolves even on a pull request whose round 1 carries no review, which overclaims the same way the states line did: the id is found only where a pull request in the bounded window carries a review. State what the query reads instead. Co-Authored-By: Claude Opus 5.5 <[email protected]>
"It" bound to the comments connection named on the line before, which never supplies the id. Name the query instead. 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 |
There was a problem hiding this comment.
🟡 Changes recommended
Review comments identify remaining wording, citation, and length issues.
1 open finding
What changed in this PR
Updates scripts/pr_review.py comments to clarify the bounded Q_BOT_ID query scope without changing behavior.
Changes:
- Documents merged and open pull requests sharing the query window.
- Clarifies bot ID lookup scope.
| File | Summary |
|---|---|
scripts/pr_review.py |
Refines comments describing query scope and pull-request states. |
🧠 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 #2687 +/- ##
========================================
Coverage 59.58% 59.58%
========================================
Files 16 16
Lines 8316 8316
========================================
Hits 4955 4955
Misses 3361 3361
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 line restated what the block's opening and its node-id line already say, that the id is read live from the repository's pull requests and is the same wherever it is found, and it cited a rule rather than describing the query. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
A recorded local strict-review pass covers head |
## Summary Promotes develop to main. It carries two changes: - #2681 Deletes the stale "Disproved Claims" entry about the GraphQL `pullRequests` connection's default `states` from `.github/copilot-instructions.md`, states in the ledger preamble that an entry is never about hub-hosted machinery, and records the live `states` constraint beside `Q_BOT_ID` in `scripts/pr_review.py`. - #2687 Bounds the `Q_BOT_ID` comments to the window the query reads, answering this pull request's review finding. Fixes #1238 🤖 Generated with [Claude Code](https://claude.com/claude-code)

Answers Copilot's finding on the promotion pull request #2686, which flagged the comment beside
Q_BOT_IDinscripts/pr_review.pyfor promising the bot id resolves wherever every reviewed pull request has merged. The query reads only a bounded window of recently updated pull requests, so that promise does not hold.statesactually does: merged pull requests fill the window alongside open ones.Both edits are comment lines, so this pull request carries the
commentslabel. No behavior changes.🤖 Generated with Claude Code