ci: add cron entries at :22, :37, :52 to ensure hourly runs - #159
ci: add cron entries at :22, :37, :52 to ensure hourly runs#159don-petry wants to merge 2 commits into
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 reliability of the scheduled PR review workflow by adding additional cron triggers within each hour to reduce the chance that GitHub Actions schedule delays/skips result in multi-hour gaps between runs.
Changes:
- Add three additional
schedulecron entries (:22,:37,:52) alongside the existing:07schedule. - Keep a single concurrency slot for scheduled/manual batch runs while allowing per-PR slots for mention-triggered reviews.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| # Copilot engine reuses GH_PAT (a separate user PAT with Copilot subscription). | ||
| COPILOT_GITHUB_TOKEN: ${{ secrets.GH_PAT }} |
| # Mention-triggered runs (repository_dispatch or workflow_dispatch with pr_url) | ||
| # get per-PR slots so they don't queue behind hourly batches or each other. | ||
| group: ${{ (inputs.pr_url || github.event.client_payload.pr_url) && format('pr-review-mention-{0}', inputs.pr_url || github.event.client_payload.pr_url) || 'pr-review-scheduled' }} | ||
| cancel-in-progress: false |
|
Closing — branch was forked from a bad state (empty file). Recreating from correct main. |




Problem
GitHub Actions scheduled workflows are frequently delayed or skipped under load. The current single cron entry (
7 * * * *) is configured to run hourly but in practice fires every 2–5 hours.Solution
Add three additional cron offsets so at least one trigger fires within every clock-hour:
The existing concurrency group (
pr-review-scheduled) withcancel-in-progress: falseprevents overlapping runs — extra triggers will queue but not pile up.