fix: make Node entry lifecycle linearizable - #1778
Conversation
|
Warning Review limit reached
Next review available in: 24 minutes 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: ASSERTIVE Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (15)
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 |
📊 Benchmark Results✅ All benchmarks passed
Updated: 2026-08-08T08:06:24.785Z · Commit: 77be7a9 |
Outcome
Node entry startup is now linearizable: concurrent callers share one startup attempt, repeated starts after success remain idempotent, and startup failure permits a clean retry. Closing waits for an active startup, shares concurrent close work, closes the owned listener, and permanently fences later start attempts once shutdown begins.
Invalid post-close starts return the stable preset-node/lifecycle-conflict Problem with the attempted operation and lifecycle state. The public API, Problem registry, generated API documentation, README, and release metadata describe the same contract.
Fixes #1706
Verification
Review gates
Residual risk
None identified.