fix: replace opencode wall-clock timeout with idle timeout#830
fix: replace opencode wall-clock timeout with idle timeout#830agent-p1p wants to merge 2 commits into
Conversation
Preserve observed sessions on timeout and keep a one-hour total safety cap. Fixes #829
|
Warning Review limit reached
Next review available in: 14 minutes 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: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
WalkthroughOpenCode now supports separate idle and total timeouts, absolute lifecycle deadlines, explicit failed-process cleanup, and structured failures carrying observed sessions. Configuration and installer outputs propagate the new settings, while the bridge persists sessions on failed invocations. ChangesOpenCode timeout and session recovery
Estimated code review effort: 4 (Complex) | ~45 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ 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 |
|
Ready to review this PR? Stage has broken it down into 5 individual chapters for you: Chapters generated by Stage for commit d733ea8 on Jul 12, 2026 6:04pm UTC. |
Adversarial reviewVerdict: changes required — 1 blocking finding, 2 suggestions. Blocking
Suggestions
Out-of-scope follow-ups
Verification
|
Preserve the current idle budget through EOF, child exit, and stderr capture, and cover the bridge failure path and delayed-EOF lifecycle.
|
Addressed the blocking EOF lifecycle finding in d733ea8.
Verification:
A repository-wide |
Fixes #829
Summary
Verification
cargo test -p wn-opencode --locked(40 passed, 1 ignored)wn-opencodetest-suite runs passedcargo clippy -p wn-opencode --all-targets --locked -- -D warningsjust fast-ciintegrations/opencode/marmot/tests/test_installer.shSensitive paths
None.
Summary by CodeRabbit
New Features
Bug Fixes