Commit Graph

91 Commits

Author SHA1 Message Date
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
hjlarry
73c77b6701 fix: web style 2026-04-11 19:35:04 +08:00
hjlarry
e5ab4d1ed3 chore: improve codecov 2026-04-11 18:44:31 +08:00
hjlarry
577ab01bbb chore: improve codecov 2026-04-11 18:12:27 +08:00
hjlarry
aea20a576f chore: improve codecov 2026-04-11 16:29:23 +08:00
hjlarry
8e38a19de7 fix: web style 2026-04-11 10:46:52 +08:00
hjlarry
078ab83009 chore: improve log 2026-04-10 21:51:05 +08:00
hjlarry
89144b61c8 chore: rm graphViewActive 2026-04-10 16:05:05 +08:00
hjlarry
f45c09ba69 fix: download graph logs 2026-04-10 13:41:58 +08:00
hjlarry
4e660a128a chore: use console.warn instead of toast 2026-04-10 11:07:13 +08:00
hjlarry
a68482da77 chore: try to track why nodes missing 2026-04-10 11:04:03 +08:00
hjlarry
692bf7ced1 fix: two tabs refresh cause empty graph 2026-04-10 10:55:13 +08:00
hjlarry
7eb1c026a2 chore: log 20 recent crdt import changes 2026-04-10 10:54:06 +08:00
hjlarry
6ab114ce54 fix undo/redo 2026-04-10 10:25:57 +08:00
hjlarry
4111f82644 fix: pnpm build 2026-04-09 17:57:50 +08:00
hjlarry
d35bd79d6d fix: unittests 2026-04-09 17:15:31 +08:00
hjlarry
f23b30d950 fix: pnpm build vinext 2026-04-09 16:36:40 +08:00
hjlarry
6cce56f028 fix: web style error 2026-04-09 14:50:46 +08:00
hjlarry
4695fb66ae fix: toast import 2026-04-09 13:25:03 +08:00
hjlarry
bb6d6a4f96 improve compute nodes diff speed 2026-01-24 15:04:51 +08:00
hjlarry
e105dc6289 new restore 2026-01-23 14:22:58 +08:00
hjlarry
eaf888b02a env var NEXT_PUBLIC_SOCKET_URL 2026-01-20 20:34:56 +08:00
hjlarry
f99ac24d5c websocket use cookie connect 2026-01-20 17:01:40 +08:00
hjlarry
805bb7c468 fix node in panel sync 2026-01-19 18:01:43 +08:00
hjlarry
995d5ccf66 fix graph not sync 2026-01-19 13:45:00 +08:00
hjlarry
511df81201 fix web style 2026-01-18 13:40:12 +08:00
hjlarry
4200ac0da3 fix CI 2026-01-17 22:58:27 +08:00
hjlarry
434f7f3bcb fix web style 2026-01-17 22:10:10 +08:00
hjlarry
2d94904241 fix web unittests 2026-01-17 19:43:40 +08:00
hjlarry
fc291e4ca2 Merge remote-tracking branch 'myori/main' into feat/collaboration2 2026-01-17 10:22:41 +08:00
hjlarry
b549d669d6 clear logic 2026-01-15 13:17:14 +08:00
hjlarry
1845938e70 fix type issue 2026-01-13 22:18:54 +08:00
hjlarry
fad81ab85e fix type issue 2026-01-13 22:11:36 +08:00
hjlarry
d1c64f5c74 add toast when disconnected 2026-01-13 22:08:59 +08:00
hjlarry
7f6c93bdce reduce CURSOR_THROTTLE_MS 2026-01-13 22:08:07 +08:00
hjlarry
8c9276370c remove console.log 2026-01-13 17:46:53 +08:00
hjlarry
0c18d4e058 fix duplicated status 2026-01-13 15:59:59 +08:00
hjlarry
edf962cdb5 Merge branch 'feat/collaboration' into feat/collaboration2 2025-11-13 15:31:21 +08:00
hjlarry
2fa13cdf86 if session unauthorized, rejoin 2025-11-11 16:38:55 +08:00
hjlarry
7fecc7236c add more collaboration manager unit tests 2025-10-21 14:37:31 +08:00
hjlarry
9c7f6b7b71 add crdt provider unittests 2025-10-21 14:27:13 +08:00
hjlarry
b46da93e99 add unittests for event-emitter 2025-10-21 14:12:13 +08:00
hjlarry
e299a1fb20 add ws manager unit tests 2025-10-21 14:09:25 +08:00
hjlarry
122033cadb sort out code 2025-10-21 12:27:11 +08:00
hjlarry
df9bd1b3b5 add Parameters of ParametersExtractor node sync 2025-10-21 12:14:48 +08:00
hjlarry
f74492eb59 add prompt_template of LLM node sync 2025-10-21 12:00:42 +08:00
hjlarry
eaf1ae37dd add ENABLE_COLLABORATION_MODE 2025-10-21 11:46:28 +08:00
hjlarry
8e3b412ff6 fix websocket cookie auth 2025-10-21 11:46:00 +08:00
hjlarry
80b34598e9 try to fix start node collaboration 2025-10-16 10:18:37 +08:00
hjlarry
8583992d23 when new user connected should rebroadcast the graph data 2025-10-14 16:57:02 +08:00