Commit Graph

22738 Commits

Author SHA1 Message Date
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
Tienson Qin
e8f2d2d7e1 increase download batch size 2026-01-08 23:06:18 +08:00
Tienson Qin
0be52e538e increase upload batch size 2026-01-08 22:49:35 +08:00
Tienson Qin
996299e505 add staging for worker sync 2026-01-08 22:43:11 +08:00
Tienson Qin
49c68d7d41 fix: close other ws conns when starting new 2026-01-08 22:24:04 +08:00
Tienson Qin
274e7b63ef fix: both upload and download graph
tested for 4k movies
2026-01-08 22:19:48 +08:00
rcmerci
562a68e0e4 enhance(rtc): move rtc api schema to logseq/logseq-schema repo 2026-01-08 22:06:58 +08:00
Tienson Qin
5a89200138 fix: download 2026-01-08 18:45:55 +08:00
Tienson Qin
fc4351c716 fix: import 2026-01-08 18:10:03 +08:00
Tienson Qin
e89fdb92b6 download use sqlite rows 2026-01-08 17:37:28 +08:00
Tienson Qin
dcff007590 fix: prefer server graph id 2026-01-08 17:10:27 +08:00
Tienson Qin
402d214253 switch to sqlite table rows upload 2026-01-08 14:52:43 +08:00