Skip to content

Commit a94537e

Browse files
refactor(vine): overhaul IPC layer with enhanced error handling and structured logging
- Restructured Vine IPC module with detailed documentation aligning with Land's architecture goals - Implemented granular error variants (VineError) for precise fault diagnosis in cross-process communication - Added sidecar process monitoring with cleanup on exit to prevent resource leaks - Introduced JSON line protocol validation and improved deserialization error context with raw samples - Refactored reader/writer tasks with atomic request IDs and proper channel lifecycle management - Enhanced request/response tracking using thread-safe maps and oneshot channels for RPC reliability - Added structured logging integration for sidecar processes and Tauri event propagation - Implemented cancellation propagation and timeout handling for Mountain-initiated requests - Improved error recovery through lock poisoning handling and global state management BREAKING CHANGE: Modified VineError variants and message serialization format requires sidecar protocol updates
1 parent 96f8cda commit a94537e

1 file changed

Lines changed: 772 additions & 482 deletions

File tree

0 commit comments

Comments
 (0)