Skip to content

ci: re-pin PR Hygiene to cut its GitHub request volume - #1468

Merged
shumkov merged 1 commit into
v1.8-devfrom
chore/pr-hygiene-less-traffic
Sep 15, 2026
Merged

shumkov merged 1 commit into
v1.8-devfrom
chore/pr-hygiene-less-traffic

Conversation

@shumkov

@shumkov shumkov commented Sep 15, 2026

Copy link
Copy Markdown
Collaborator

Re-pins the shared review workflow. This is the change that actually reduces the load PR Hygiene puts on the organisation's GitHub API allowance — measured at 958 runs/day and ~50k requests/day across the five repositories before any of it.

  • Comments this engine never reads no longer start a run at all — coverage bots, other automation and human discussion were 59% of comment triggers. The test is on the event payload, so no runner starts. CodeRabbit's and thepastaclaw's comments, and anything containing /self-reviewed, still trigger immediately, edits included: CodeRabbit publishes its completion by editing the comment it opened the review with, so that had to keep working.
  • An author's five review slots are rebuilt with one GraphQL query instead of two REST requests per open pull request they have. Measured on Platform: 80 → 44 requests for one reconciliation.
  • Collaborator access is read once per run from a single listing rather than once per person.
  • The sweep runs hourly and covers six pull requests per run instead of three every fifteen minutes. Events still drive everything immediate; the sweep only repairs what events missed.

No change to who may approve, when a pull request is ready, or what blocks it.

Ignores comments the engine never reads, rebuilds an author review slots with
one query instead of two requests per pull request, reads collaborator access
once per run, and sweeps hourly.

dashpay/stale_prs_are_bad#20, #21, #22 and #24 landed as c115fa43691c6de989bd224989899d44f76bab89.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@shumkov
shumkov requested a review from lklimek as a code owner September 15, 2026 14:54
@coderabbitai

coderabbitai Bot commented Sep 15, 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: 5e5a5f17-5832-419f-98d5-ae48da105fb7

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.

@thepastaclaw

Copy link
Copy Markdown

🕓 Review not started yet because the new head is waiting for the 30-minute push debounce.

  • Request normal review — click when the PR is ready for review.
  • Request priority review — click to move this review to the front of the queue.

Commit 05cbdfc. Normal review starts when eligible; priority review starts as soon as a slot is available.

@thepastaclaw

thepastaclaw commented Sep 15, 2026 •

Copy link
Copy Markdown

🕓 Queued for automated review — 12th in line, estimated start in ~6 h (commit 05cbdfc)
Estimated review time once started: ~1.0 h (two-phase automated review; median of recent runs).

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

@github-actions

github-actions Bot commented Sep 15, 2026 •

Copy link
Copy Markdown

PR Hygiene

State: waiting-bots · commit 05cbdfc288e4a0cc3049972e0cc649e2ef356d87

  • 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 05cbdfc288e4a0cc3049972e0cc649e2ef356d87, or name the commit explicitly with /self-reviewed 05cbdfc288e4a0cc3049972e0cc649e2ef356d87.

This report does not bypass CI or repository protection rules.

@shumkov
shumkov merged commit 8ee842f into v1.8-dev Sep 15, 2026
23 checks passed
@shumkov
shumkov deleted the chore/pr-hygiene-less-traffic branch September 15, 2026 15:43
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