dify/web/app/components/workflow-app
hjlarry 828276d672 fix(collaboration): seed CRDT graph before leader resync
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.
2026-04-12 15:41:54 +08:00
..
__tests__ test(workflow-app): enhance unit tests for workflow components and hooks (#34065) 2026-03-25 18:34:32 +08:00
components chore: revert not related change 2026-04-11 20:04:39 +08:00
hooks chore: revert some changes not related to collaboration 2026-04-10 22:42:17 +08:00
store/workflow chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
index.tsx fix(collaboration): seed CRDT graph before leader resync 2026-04-12 15:41:54 +08:00
utils.ts test(workflow-app): enhance unit tests for workflow components and hooks (#34065) 2026-03-25 18:34:32 +08:00