Commit Graph

22699 Commits

Author SHA1 Message Date
Tienson Qin
dd30969902 remove state machine 2026-01-12 17:11:11 +08:00
rcmerci
04356586fd fix(db-sync): fix block-cycle, add test 2026-01-12 14:51:55 +08:00
Tienson Qin
40ddc54091 fix: missing parent 2026-01-12 14:31:58 +08:00
rcmerci
88d1b56222 doc(db-sync): update fix-blocks-cycle.md 2026-01-12 00:54:52 +08:00
rcmerci
9356782168 fix(db-sync): worker server unit-tests 2026-01-11 23:57:33 +08:00
rcmerci
10e368fb39 chore: fmt 2026-01-11 23:01:30 +08:00
rcmerci
6e2cae24b7 enhance(db-sync): ensure only one ws per repo 2026-01-11 23:00:36 +08:00
rcmerci
b949f707ed fix(db-sync): recv 'changed' when in tx/batch-wait 2026-01-11 22:39:07 +08:00
rcmerci
410d4a27f2 dev(db-sync): add db-sync debug icon in header 2026-01-11 22:26:52 +08:00
rcmerci
f23ab5c5b5 refactor(db-sync): add state machine doc & refactor 2026-01-11 22:25:58 +08:00
rcmerci
b7e926f713 enhance(db-sync): remove declare 2026-01-11 18:14:34 +08:00
rcmerci
2bc5783b78 enhance(db-sync): update doc and align with codebase 2026-01-11 18:02:53 +08:00
rcmerci
611a52443e enhance(db-sync): fail fast when encounter bugs 2026-01-11 17:24:25 +08:00
rcmerci
32945f6443 fix(db-sync): fix blocks-cycle, add doc docs/agent-guide/db-sync/fix-blocks-cycle.md 2026-01-11 17:18:12 +08:00
rcmerci
4cbb01f78c fix(db-sync): fix test 2026-01-11 15:44:06 +08:00
rcmerci
8fbcf16868 fix(db-sync): wrong ws resp when tx/reject 2026-01-11 15:28:56 +08:00
Tienson Qin
b0309307f7 wip: missing parent && order conflicts 2026-01-11 11:18:57 +08:00
Tienson Qin
f8daccba40 fix: fn order 2026-01-11 10:38:08 +08:00
rcmerci
1b79d7d0d8 doc(db-sync): sync db-sync docs and codebase again 2026-01-10 23:41:40 +08:00
rcmerci
fcc24fff20 feat(db-sync): add schemas for all client&server ws&http requests&responses 2026-01-10 22:56:11 +08:00
rcmerci
a32f46fb6f fix(db-sync): dev:db-sync-test only compile 2026-01-10 21:46:33 +08:00
rcmerci
9f530799b6 enhance(db-sync): protocol.md add http endpoints
fix: make t_before mandatory
2026-01-10 21:45:41 +08:00
rcmerci
0864b485f4 refactor(db-sync): rename worker-sync to db-sync 2026-01-10 17:52:33 +08:00
Tienson Qin
cdd380bdc7 use promesa instead of js-await 2026-01-10 16:59:27 +08:00
rcmerci
5219d928d1 docs(worker-sync): add guide and protocol 2026-01-10 16:41:59 +08:00
Tienson Qin
c06a63b03a enable db validation on worker 2026-01-10 16:16:22 +08:00
Tienson Qin
6606162080 fix: property db attrs need to be at the beginning of tx-data 2026-01-10 16:00:07 +08:00
Tienson Qin
7aee601c3e no need for de-normalize 2026-01-10 13:12:18 +08:00
Tienson Qin
2dde10531f move retract handler to normalize 2026-01-10 10:57:34 +08:00
Tienson Qin
3fbd1c842e fix: set local tx when downloading graph 2026-01-10 10:57:34 +08:00
Tienson Qin
7bbc5af848 fix: replace :db/retract datoms with :db.fn/retractEntity 2026-01-10 10:57:34 +08:00
rcmerci
52bac8aef5 enhance(worker-sync): add ws reconnect backoff 2026-01-10 00:17:35 +08:00
Tienson Qin
7d2d098cf2 fix: wrong pipeline data when applying remote tx 2026-01-09 23:10:12 +08:00
Tienson Qin
e203198528 server apply multiple txs at once 2026-01-09 22:51:53 +08:00
Tienson Qin
96da116077 fix: user persisted local-tx 2026-01-09 22:37:01 +08:00
rcmerci
a54ecc7d28 docs(worker-sync): add accuracy note 2026-01-09 22:28:33 +08:00
rcmerci
01fc791cd6 docs(worker-sync): expand dev start note 2026-01-09 22:23:44 +08:00
rcmerci
c2738c9dc9 enhance(worker-sync): foreground dev task 2026-01-09 22:19:27 +08:00
rcmerci
965f93de70 update agents.md and docs/agent-guide/worker-sync.md 2026-01-09 21:05:24 +08:00
Tienson Qin
cb032ea148 remove tx api, use tx/batch instead 2026-01-09 20:49:19 +08:00
Tienson Qin
a217cdede6 enable client db validation 2026-01-09 16:38:02 +08:00
Tienson Qin
5a05b5f102 Add head request 2026-01-09 16:05:37 +08:00
Tienson Qin
1e8c89d602 use staging ws url 2026-01-09 13:48:51 +08:00
Tienson Qin
b9d6f472c3 authorization 2026-01-09 03:01:10 +08:00
Tienson Qin
582b741b69 use wss 2026-01-09 00:23:52 +08:00
Tienson Qin
18fb335c4e Merge branch 'master' into feat/worker-sync 2026-01-08 23:44:41 +08:00
Tienson Qin
b6ca3097da add workflow to deploy any branch 2026-01-08 23:44:11 +08:00
Tienson Qin
75575bd396 clean ns 2026-01-08 23:33:32 +08:00
Tienson Qin
2c6723db3f remove debug datoms call 2026-01-08 23:21:02 +08:00
Tienson Qin
887c0cc481 disable snapshot as it's memory consume 2026-01-08 23:20:31 +08:00