Repository navigation
Handle local turn errors in executor - #436
Conversation
|
Warning Review limit reached
More reviews will be available in 51 minutes and 13 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThis PR implements a turn-error lifecycle hook for local daemon execution, allowing ChangesTurn Error Lifecycle Handling
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~22 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
Summary
on_turn_errorlifecycle hook toLocalDaemonExecutor.execute_runtimeadapter.run_turnfailures, includingasyncio.CancelledErrorTests
uv run pytest tests/coding_agent/test_local_daemon_executor.py -vuv run pytest tests/ui/test_session_manager_runtime.py -k "local_daemon_executor or closes_cached_runtime_after_turn_failure or reraises_fatal_tool_execution_error or reraises_owner_conflict or cancel_session_turn or bootstrap_fails" -vuv run pytest tests/ui/test_session_manager_runtime.py -vuv run pytest tests/ui/test_session_manager_public_api.py -k "run_agent or ensure_session_runtime" -vuv run ruff check src/coding_agent/executors src/coding_agent/server/session_manager.py tests/coding_agent/test_local_daemon_executor.py tests/ui/test_session_manager_runtime.py tests/ui/test_session_manager_public_api.py && git diff --checkReview fallback
If CodeRabbit is rate-limited, skipped, or otherwise does not inspect the diff, run local subagent P1/P2 review before merge.
Summary by CodeRabbit