ci: schedule hourly approved-PR steward - #40
Conversation
|
Warning Review limit reached
Next review available in: 36 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Comment |
|
@coderabbitai review Please review the exact current head of the fail-closed hourly PR steward. It updates only trusted same-repository branches, waits for fresh evidence after branch updates, requires aggregate approval and every required check, and binds auto-merge to the reviewed head SHA. |
|
✅ Action performedReview finished.
|
| # The steward can update trusted same-repository branches and arm auto-merge | ||
| # only after GitHub reports an approved review and clean required checks. | ||
| permissions: | ||
| contents: write |
|
Superseded by #42. The exact fail-closed hourly steward workflow has been integrated unchanged into the commercial-hardening branch so the repository maintains one protected current-head validation stream instead of duplicating CI, security scans, and review requests for the same release candidate. |
Summary
Adds an hourly pull-request stewardship workflow at minute 17 of every hour (UTC), with manual dispatch support.
The steward is intentionally fail-closed:
main, then waits for fresh evidence;APPROVED;It does not repeatedly rerun genuine failures or bypass requested changes. Those remain inputs to the interactive review/fix loop.
The cron is deliberately offset from the top of the hour to reduce scheduled-run congestion.