Skip to content

ci: re-pin PR Hygiene to read each pull request once - #1480

Merged
shumkov merged 1 commit into
v1.8-devfrom
chore/pr-hygiene-read-once-v1.8-dev
Sep 16, 2026
Merged

shumkov merged 1 commit into
v1.8-devfrom
chore/pr-hygiene-read-once-v1.8-dev

Conversation

@shumkov

@shumkov shumkov commented Sep 16, 2026

Copy link
Copy Markdown
Collaborator

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

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]>
@shumkov
shumkov requested a review from lklimek as a code owner September 16, 2026 18:02
@coderabbitai

coderabbitai Bot commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 82c20f5f-e656-4068-961f-914ea1c25423

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

@github-actions

github-actions Bot commented Sep 16, 2026 •

Copy link
Copy Markdown

PR Hygiene

State: waiting-bots · commit bce6fadc4576c61a3f36cd046e4846469b919e67

  • thepastaclaw has not reported for the current head

Self-review is an author attestation that you have read the diff:
/self-reviewed — covers everything pushed so far; post it again after a new push.
Post it after this report appears for commit bce6fadc4576c61a3f36cd046e4846469b919e67, or name the commit explicitly with /self-reviewed bce6fadc4576c61a3f36cd046e4846469b919e67.

This report does not bypass CI or repository protection rules.

@shumkov
shumkov merged commit 188ca72 into v1.8-dev Sep 16, 2026
23 checks passed
@shumkov
shumkov deleted the chore/pr-hygiene-read-once-v1.8-dev branch September 16, 2026 18:05
@thepastaclaw

thepastaclaw commented Sep 16, 2026 •

Copy link
Copy Markdown

🕓 Queued for automated review — 21st in line, estimated start in ~3 h (commit bce6fad)
Estimated review time once started: ~20 min (two-phase automated review; median of recent runs).

  • Request priority review — click to move this review to the front of the queue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants