feat: assert no error event during ready -> stale -> ready - #386
Conversation
|
Warning Review limit reached
Next review available in: 51 minutes Limit details: You’ve used all 1 included review currently available under your plan. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan includes up to 1 review per rolling hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe event scenarios now use updated connection-loss durations. The ChangesProvider event lifecycle
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to This change adds a negative assertion to the ready–stale–ready event scenario without altering runtime behavior or timing. No actionable merge-blocking risk remains beyond normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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 |
The no-error reconnect is dominated by the uncontrollable gRPC L4 connection backoff, which grows with outage length. Keep the no-error downtime small (1s) and raise the error-scenario downtimes to 8s so a larger grace period can sit comfortably above reconnect time.
9a74cb0 to
59104d9
Compare
This PR
Adds an assertion to the
ready -> stale -> readyscenario ingherkin/events.featurethat the error event handler is not executed.Closes #387
Related
retryGracePeriodandretryBackoffMaxMsare pathological flagd#2027Notes
The existing
ready -> stale -> readyscenario registered an error handler but never asserted it stayed silent, so a spuriousERRORduring a short (< grace period) disconnect went uncaught. This is the gap called out in flagd#2027.the error event handler should not have been executedis a new step; provider step definitions will need to implement the negative assertion when they bump to a testbed release containing this change.