Repository navigation
ci: re-pin PR Hygiene to read each pull request once - #1480
Conversation
Rebuilding an author slots already read every candidate comments and latest inactive transition in one batched query, and the snapshot that followed read both again over REST. A reconcile of one platform pull request drops from 38 requests to 25. Also carries gh own message when an API call fails, instead of only its exit code, and keeps a GraphQL reply that only partly resolved. dashpay/stale_prs_are_bad#28 and #29 landed as 1ef768028f88b7f662fb260d9f8ba33fc0e48a44. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
PR HygieneState: waiting-bots · commit
Self-review is an author attestation that you have read the diff: This report does not bypass CI or repository protection rules. |
|
🕓 Queued for automated review — 21st in line, estimated start in ~3 h (commit bce6fad)
|
Re-pins the shared review workflow onto dashpay/stale_prs_are_bad#28 and #29.
Each pull request is read once, not twice. Rebuilding an author's review slots already reads every candidate's comments and latest inactive transition in one batched query — and the snapshot that followed read both again over REST, the comments a second time and a walk of the whole issue timeline, which pages once per hundred events. A reconcile of one platform pull request drops from 38 requests to 25.
That matters here specifically: the failures this workflow produced on 14 and 15 September were
API rate limit exceeded for installation, and the fix for them is spending fewer requests. Platform went 13 failures on the 14th, 20 on the 15th, 3 on the 16th — all before that morning's re-pin — and none since.A failure now says what went wrong. The engine reported only
GitHub API command failed (exit 1), discarding gh's own message, so diagnosing one meant re-running the query by hand. It now carries what gh printed.A GraphQL reply that only partly resolved is kept. gh exits non-zero whenever a response carries any errors array, even when the data is complete and only one aliased field is null. The tolerance written for that case had never executed.
Verified before this round: the batched and per-pull-request reads are byte-identical across 38 open pull requests in all five repositories, and a full report of platform reaches the same verdict on all 29 of its pull requests.
No change to who may approve, when a pull request is ready, or what blocks it. The only line that differs here is the pinned engine revision.
🤖 Generated with Claude Code