This repository was archived by the owner on Sep 23, 2025. It is now read-only.
Commit 34e5857
committed
Complete IPC reconnection system with comprehensive error handling
- Resolve async cycle issues with boxed future hack for response_reader_task
- Enable reader task 'parting gift' reconnection for immediate recovery
- Simplify clear_connection_and_reconnect to return () with internal error handling
- Document write failure race condition edge case with rationale for acceptance
- Add comprehensive comments explaining concurrency model and recovery mechanisms
Architecture now provides multiple recovery points:
1. Reader task parting gift (immediate background reconnection)
2. Every MCP operation calls ensure_connection() (safety net)
3. Exponential backoff handles extension restart timing
Status: Complete reconnection system ready for integration testing1 parent 45eed5e commit 34e5857
2 files changed
+214
-147
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
| |||
0 commit comments