Conversation
|
Warning Rate limit exceeded
⌛ 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. 📝 WalkthroughWalkthroughAdds an early-exit guard to agent lifecycle notifications in the main desktop window. When the user is already viewing the related workspace, tab, or pane, the notification is suppressed by parsing the current workspace from the renderer URL hash, checking the active tab and focused pane state, and returning early if the event matches the current view. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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 |
Implements Slack-pattern notification behavior - notifications and sounds are skipped when the user is already viewing the pane that triggered them. Checks window.isFocused() and parses currentWorkspaceId directly from the renderer URL, avoiding state sync overhead. Closes #903
🧹 Preview Cleanup CompleteThe following preview resources have been cleaned up:
Thank you for your contribution! 🎉 |
Summary
Implements Slack-pattern notification behavior - notifications and sounds are skipped when the user is already viewing the pane that triggered them.
How it works
Parses
currentWorkspaceIddirectly from the renderer URL viawindow.webContents.getURL()when a notification fires. No state sync needed.Notifications are suppressed when ALL conditions are met:
Test plan
Closes #903
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.