Repository navigation
ci: add cron entries at :22, :37, :52 to ensure hourly runs - #160
Conversation
GitHub Actions scheduled workflows can be delayed or skipped under load. Adding three additional offsets so at least one trigger fires per clock-hour. Concurrency group prevents overlapping runs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
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.
Pull request overview
This PR increases the trigger frequency of the PR Review Agent scheduled workflow by adding additional cron offsets, aiming to reduce missed/delayed scheduled runs during GitHub Actions load.
Changes:
- Add three additional
on.schedulecron entries (:22,:37,:52) in addition to the existing:07trigger. - Update the schedule comment to describe the new cadence and rationale.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Address review feedback: soften "ensure" wording and document the concurrency + idempotency guards that prevent duplicate reviews when back-to-back queued runs process the same PR set. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
* ci: add cron entries at :22, :37, :52 to ensure hourly runs GitHub Actions scheduled workflows can be delayed or skipped under load. Adding three additional offsets so at least one trigger fires per clock-hour. Concurrency group prevents overlapping runs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * ci: improve schedule comment to clarify reliability strategy Address review feedback: soften "ensure" wording and document the concurrency + idempotency guards that prevent duplicate reviews when back-to-back queued runs process the same PR set. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* ci: add cron entries at :22, :37, :52 to ensure hourly runs GitHub Actions scheduled workflows can be delayed or skipped under load. Adding three additional offsets so at least one trigger fires per clock-hour. Concurrency group prevents overlapping runs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * ci: improve schedule comment to clarify reliability strategy Address review feedback: soften "ensure" wording and document the concurrency + idempotency guards that prevent duplicate reviews when back-to-back queued runs process the same PR set. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* ci: add cron entries at :22, :37, :52 to ensure hourly runs GitHub Actions scheduled workflows can be delayed or skipped under load. Adding three additional offsets so at least one trigger fires per clock-hour. Concurrency group prevents overlapping runs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * ci: improve schedule comment to clarify reliability strategy Address review feedback: soften "ensure" wording and document the concurrency + idempotency guards that prevent duplicate reviews when back-to-back queued runs process the same PR set. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* ci: add cron entries at :22, :37, :52 to ensure hourly runs GitHub Actions scheduled workflows can be delayed or skipped under load. Adding three additional offsets so at least one trigger fires per clock-hour. Concurrency group prevents overlapping runs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * ci: improve schedule comment to clarify reliability strategy Address review feedback: soften "ensure" wording and document the concurrency + idempotency guards that prevent duplicate reviews when back-to-back queued runs process the same PR set. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>



Problem
GitHub Actions scheduled workflows are frequently delayed or skipped under load on the shared runner fleet. The single cron entry (
7 * * * *) is configured to run hourly but in practice fires every 2–5 hours.Strategy
Add three additional staggered cron offsets so the scheduler has four chances per clock-hour to fire at least one run:
Two existing guards ensure this doesn’t cause duplicate work or runaway resource usage:
pr-review-scheduled,cancel-in-progress: false)review-batch.sh)The net effect: if GitHub skips one or two triggers under load, the next offset within the same hour will pick it up. If all four fire, only one run does real work; the rest drain the queue quickly via idempotency short-circuits.