fix(notifications): recover from a dead listener connection - #11
Conversation
PR SummaryMedium Risk Overview The Listener now monitors the Reviewed by Cursor Bugbot for commit 8ea198e. Bugbot is set up for automated code reviews on this repo. Configure here. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (5)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. WalkthroughThe listener now monitors its notification connection and handles process termination messages. The publisher checks for active subscribers before reading events. New tests cover listener recovery, listener termination, subscriber filtering, and persistent subscription catch-up. ChangesNotification changes
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to No actionable regression remains; the notification filtering retains 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 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. A rabbit watched the listener glow Comment |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 622bf6b. Configure here.
(cherry picked from commit 97aa48402087e1c13189ba0ff635708643a6cdac) Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
The monitor added for that purpose never matched, so recovery depended on an unrelated crash path and surfaced a misleading exit reason. Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
8ea198e to
d12cca0
Compare

Uh oh!
There was an error while loading. Please reload this page.