feat: debounce comments#1245
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR adds a configurable debounce mechanism for Slack notifications triggered by PR review submissions. The workflow now delays notifications by 120 seconds (configurable via ✨ 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.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/slack-notify.yml:
- Line 102: The default debounce window is inconsistent: update the fallback in
the debounceSeconds initialization so it matches the workflow sleep duration by
using 120 instead of 90; specifically change the expression that sets
debounceSeconds (Number(process.env.REVIEW_NOTIFICATION_DEBOUNCE_SECONDS || 90))
to use 120 so REVIEW_NOTIFICATION_DEBOUNCE_SECONDS and the sleep step use the
same default aggregation window.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro
Run ID: 3a564d46-9758-4101-98a0-629181e5927d
📒 Files selected for processing (1)
.github/workflows/slack-notify.yml
There was a problem hiding this comment.
Not ideal, this make the CI sleep keeping the machine up an running (which is costly).
I believe we can just filter codex, code rabbit comments to reduce the noise.
We could also remove self notification for single comments, like. @x xxx submitted a commented review for PR #1171: feat: compression as not useful/relevant
Summary
Debounces slack notifications
Breaking Changes
Summary by CodeRabbit