Repository navigation
feat: extract runtime turn wire notifier - #462
Conversation
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThis PR extracts ChangesRuntimeTurnWire extraction for generic runtime-turn error handling
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 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 docstrings
🧪 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 |
|
Local review fallback because CodeRabbit remained pending/stack-only without producing an effective GitHub diff review. Reviewer: Kepler (local subagent) Findings:
Reviewer verification:
|
Summary
RuntimeTurnWireto own generic error wire message emission for local daemon runtime turnsSessionManager.run_agentgeneric error wire closure with the helperStreamDelta+TurnEnd(ERROR)sequence and session mismatch guardTests
uv run pytest tests/coding_agent/test_runtime_turn_wire.py -vuv run pytest tests/coding_agent/test_run_lifecycle.py -vuv run pytest tests/ui/test_session_manager_runtime.py -k "turn_error or fatal_tool or bootstrap_fails or closes_cached_runtime" -vuv run ruff check src/coding_agent/wire/__init__.py src/coding_agent/wire/runtime.py src/coding_agent/server/session_manager.py tests/coding_agent/test_runtime_turn_wire.pyuv run ruff format --check src/coding_agent/wire/__init__.py src/coding_agent/wire/runtime.py src/coding_agent/server/session_manager.py tests/coding_agent/test_runtime_turn_wire.pygit diff --checkReview policy
If CodeRabbit is rate-limited, skipped, pending without actionable review, or otherwise does not inspect the diff, this PR will get a local subagent P1/P2 review before merge.
Summary by CodeRabbit
Refactor
Tests
Documentation