fix: run-tests hangs no longer hold the tool slot for up to 30 minutes#1742
Conversation
|
Warning Review limit reached
Next review available in: 40 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: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (4)
📒 Files selected for processing (15)
✨ Finishing Touches🧪 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. Comment |
|
LGTM on content (reviewer: Fable), conditional on the full CI pipeline going green. The branch is exactly the three individually reviewed PRs (#1739 timeout, #1740 cancel-time stop/restore, #1741 scope recovery hardening) with no extra changes, and no temporary hang fixtures leaked into the diff. No protocol version bump is needed: TimeoutSeconds is an additive schema field and the wire format stays compatible. Real-device freeze verification (intentional PlayMode hang → timeout → confirmed Play Mode exit → subsequent EditMode run green without restart) was performed before this PR. |
Refs: hang survey section 2 / umbrella
feature/run-tests-hang-hardeningSummary
User Impact
RunFinishedcallback could keep otheruloopcommands BUSY for up to 30 minutes; cancel could leave Play Mode / reload settings inconsistentrun-testscan start cleanlyIncluded PRs
TimeoutSeconds, CancelAfter)DomainReloadDisableScopeabandon/reload hardening with generation counterReal-device verification (checklist)
yield return nullloop) with--timeout-seconds 8Play Mode exit was requested and confirmednot-playingafter timeoutrun-testspassed (27 tests) without relaunchNotes
CancelTestRun) remains pending explicit user permission; Option B baseline ships here. If approved, wireTryCancelTestRunin a follow-up.main/v3-beta); this PR should get the normal CI set.Test plan
uloop run-tests --helpshows--timeout-secondsafteruloop syncMade with Cursor