fix: zenoh forking issue - #3503
Conversation
Codecov Report❌ Patch coverage is @@ Coverage Diff @@
## main #3503 +/- ##
==========================================
+ Coverage 76.40% 76.44% +0.03%
==========================================
Files 1244 1245 +1
Lines 120503 120621 +118
Branches 10737 10743 +6
==========================================
+ Hits 92069 92205 +136
+ Misses 25333 25315 -18
Partials 3101 3101
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 7 files with indirect coverage changes 🚀 New features to boost your workflow:
|
9b03c67 to
b419b55
Compare
Greptile SummaryThis change moves Zenoh-owning coordinator initialization into the daemon grandchild and adds a readiness status channel back to the launching CLI process. The real subprocess daemon flow did not complete: Confidence Score: 4/5Not safe to merge until daemon startup reliably returns after the coordinator is ready. The focused end-to-end test reproduced the failure with the real CLI double-fork flow, isolated state directories, Zenoh transport, and a separate intended client process. The launcher timeout is directly observed, although the captured run does not isolate the internal operation that prevents readiness from being reported. Files Needing Attention: dimos/cli/dimos.py needs attention around coordinator construction and readiness reporting; the daemon startup path should be traced through ModuleCoordinator.build() to ensure the success or failure status is always delivered.
What T-Rex did
|
Problem
The Coordinator RPC is broken when using Zenoh.
Closes #3395
Solution
Start the Zenoh sessions (i.e. call
ModuleCoordinator.build) only after forking.