Conversation
|
@coderabbitai review |
|
Warning Review limit reached
Next review available in: 6 seconds Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. 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: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
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 |
✅ Action performedReview finished.
|
|
Superseded by #8551, which now contains both PTY test-lifecycle fixes in one non-conflicting test-infrastructure PR. |
Summary
pty-connection.test.tscreates real pane foreground-agent trackers, but most cases do not retain and dispose the pane binding. Their delayed process reads can therefore settle afterbeforeEachreplaces the shared store mock for the next case.Exact-head CI for #8072 exposed the leak: a test that creates only
tab-1/LEAF_1received fiveclearAgentLaunchConfigcalls, including two fortab-1/LEAF_2. The current test cannot createLEAF_2; those calls came from an earlier case's fixed 350/1200/6000 ms foreground-tracker ladder.This fixture wraps the real tracker factory, records each tracker, and disposes all of them in
afterEachbefore the next store mock is installed.Testing
pty-connection.test.ts+pane-foreground-agent-tracker.test.ts: 457/457 passed.pnpm run typecheck.oxlinton the changed test.oxfmt --checkon the changed test.git diff --check.Evidence limitation
The exact CI failure is authoritative, but the leak did not reproduce locally under Node 26. The fix is based on the impossible cross-pane callback arguments and the tracker's deterministic delayed-read ladder; Node 24 PR Checks remain the final verifier.
Scope
Test fixture lifecycle only; no runtime behavior changes.