fix(retro): compute year/quarter defaults for scheduled runs (#63)#64
fix(retro): compute year/quarter defaults for scheduled runs (#63)#64
Conversation
Quarterly job failed on 2026-04-01 schedule fire because it only passed -y/-q when workflow_dispatch inputs were set. Scheduled runs have no inputs, so the script got no args and errored on required -y. Matches the auto-compute pattern already used by the monthly and annual jobs. Logic uses "previous month" to derive the most-recently-completed quarter, which correctly handles year rollover (Jan 1 → Q4 prev year). Fixes #63 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 34 minutes and 27 seconds. ⌛ 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: CHILL 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 |
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
Fixes #63.
Summary
The
generate-quarterlyjob failed on the 2026-04-01 scheduled fire witherror: the following arguments are required: -y/--year. Fix mirrors the auto-compute pattern used by the monthly and annual jobs.Test plan
7 scenarios simulated locally — all correct:
-y 2026 -q 1-y 2026 -q 2-y 2026 -q 4-y 2026 -q 1-y 2025 -q 1-y 2025 -q 4-y 2024 -q 3Next scheduled fire: 2026-07-01 04:00 UTC.
🤖 Generated with Claude Code