mirror of
https://github.com/langgenius/dify.git
synced 2026-04-15 18:06:36 +08:00
Avoid writing partial graph into CRDT during initial HTTP draft parsing in workflow-app. Seed CRDT from current ReactFlow graph only when CRDT is empty and collaboration is connected, then reuse it for leader snapshot rebroadcast. This prevents join-time resync from broadcasting an empty snapshot when leader has not produced local CRDT mutations yet. |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| components | ||
| hooks | ||
| store/workflow | ||
| index.tsx | ||
| utils.ts | ||