Prevent duplicate Discord digest posts#1994
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe daily digest workflow now passes its scheduled cron expression to the digest script. The script uses Melbourne’s UTC offset and expected cron schedule to determine whether the daily post should run. ChangesDigest schedule gating
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 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 |
Up to standards ✅🟢 Issues
|
Deploying maester with
|
| Latest commit: |
5a1ad37
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://0d1b5695.maester.pages.dev |
| Branch Preview URL: | https://agent-fix-discord-digest-dup.maester.pages.dev |
Summary
Why
GitHub scheduled workflows can start late. The workflow runs at both 22:00 and 23:00 UTC to handle Melbourne daylight saving, but the script only checked whether the actual runtime hour was 9am in Melbourne. In AEST, the 22:00 UTC run can be delayed into the 9am hour and post, then the 23:00 UTC run posts again.
Validation
Summary by CodeRabbit