Document DB sync prototype scope
This commit is contained in:
parent
b01da7be4b
commit
59c86aba6a
4 changed files with 40 additions and 14 deletions
|
|
@ -53,11 +53,11 @@ Implementation order:
|
|||
- `[x]` Sync Automerge changes over Iroh.
|
||||
- `[x]` Gate document sync with resource authorization.
|
||||
|
||||
5. `[ ]` Harden DB sync for real cr-sqlite usage.
|
||||
5. `[x]` Harden DB sync for real cr-sqlite usage.
|
||||
Acceptance criteria:
|
||||
- `[ ]` Add a real cr-sqlite-enabled two-node integration test, or document
|
||||
- `[x]` Add a real cr-sqlite-enabled two-node integration test, or document
|
||||
a precise blocker if the extension is unavailable in CI/dev.
|
||||
- `[ ]` Decide and document whether CAS-backed DB snapshots/batches are part
|
||||
- `[x]` Decide and document whether CAS-backed DB snapshots/batches are part
|
||||
of the prototype.
|
||||
|
||||
6. `[ ]` Finish operational first-run polish.
|
||||
|
|
@ -639,7 +639,7 @@ Automerge documents.
|
|||
- `[x]` Schema hash/version metadata is included in extracted change batches.
|
||||
- `[x]` Extracted batches are exposed through `geth db changes`.
|
||||
|
||||
- `[~]` DB sync over Iroh.
|
||||
- `[x]` DB sync over Iroh.
|
||||
Acceptance criteria:
|
||||
- `[x]` `geth db sync <node-id> <name>` exists and talks to the daemon.
|
||||
- `[x]` Remote DB sync uses the protected Iroh control ALPN.
|
||||
|
|
@ -659,9 +659,14 @@ Automerge documents.
|
|||
`crsql_changes` table or view before advancing the cursor.
|
||||
- `[x]` Tests cover typed batch application into deterministic fixture
|
||||
`crsql_changes` tables.
|
||||
- `[ ]` Add an integration test with a real cr-sqlite-enabled SQLite DB that
|
||||
proves two local test nodes exchange and apply changes.
|
||||
- `[ ]` Optional CAS-backed snapshots or batches are documented if used.
|
||||
- `[x]` A real cr-sqlite-enabled two-node integration test is blocked in this
|
||||
dev environment because no `sqlite3` CLI or cr-sqlite extension artifact is
|
||||
available. The current coverage uses deterministic `crsql_changes`
|
||||
fixtures and exercises two-node Iroh exchange plus local application.
|
||||
- `[x]` CAS-backed DB snapshots/batches are deferred beyond the prototype.
|
||||
The prototype exchanges typed `crsql_changes` batches over the protected
|
||||
Iroh control path and advances high-water cursors only after schema checks
|
||||
and successful local application.
|
||||
|
||||
- `[~]` Automerge document resource.
|
||||
Acceptance criteria:
|
||||
|
|
|
|||
Loading…
Reference in a new issue