fix(router): ignore nil events (Cosmo Streams)#2315
fix(router): ignore nil events (Cosmo Streams)#2315dkorittki merged 3 commits intotopic/streams-v1from
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughThe changes introduce nil-event filtering in the publish and subscription update paths to handle nil StreamEvent entries produced by stream publish and batch hooks. Production code adds defensive nil guards and post-processing filters, while tests are updated to verify this behavior. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes
Possibly related PRs
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
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 |
Router-nonroot image scan passed✅ No security vulnerabilities found in image: |
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
Checklist
I made sure that for the OnReceiveEvent and OnPublishEvent hook we do not pass nil events to the engine, which can cause panics.
Summary by CodeRabbit