Commit a3762f7
committed
fix(Vine): Improve IPC reliability and extension host integration
- Added proper Window parameter to `track::dispatch_sidecar_request` calls to enable UI interaction routing
- Aligned log notification processing with VS Code's structured log format (level codes + message parts array)
- Enhanced error handling during RPC message serialization/deserialization with detailed context preservation
- Implemented structured error propagation from Track dispatcher through Vine IPC layer
- Improved sidecar process lifecycle management through explicit stdin flushing and writer task cleanup
- Added specialized event emission for extension host readiness states (`extHostReadyForInit`/`extHostInitialized`)
- Refined pending request cancellation logic during sidecar unregistration with clearer warning diagnostics
- Fixed potential resource leaks by ensuring child process stdin closure during writer task termination
These changes strengthen the foundation for Cocoon extension host communication by ensuring proper VS Code protocol adherence and error recovery mechanisms critical for maintaining extension state across IPC boundaries.1 parent 138d3df commit a3762f7
2 files changed
Lines changed: 117 additions & 55 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
0 commit comments