We extracted the pure collector utility functions (resolveCollectorUpdateValue, createInternalError, etc.) from client.store.utils.ts into a new collector.resolver.utils.ts to break a circular ESM dependency introduced by moving combineSlices(nodeSlice, ...) to the module top level. This fix ensures node.reducer.ts can import resolveCollectorUpdateValue without transitively triggering combineSlices before nodeSlice is fully initialized, resolving the TypeError: Cannot use 'in' operator to search for 'reducerPath' in undefined failures in davinci.utils.test.ts and node.slice.test.ts.
This code change can't be applied
A fix is available, but it can't be applied automatically because the branch is outdated. Please sync the branch, then apply the fix locally below.
Self-Healing CI
Classification: Code change needed
Fix generated
Verified 1 task
Commit"fix(davinci-client): break circular dep via collector.resolver.utils"
3 files changed
+202/−192