pi-mono/packages/chord/test
Cristina Poncela Cubeiro e5f3b41506
feat(storage): replication (#11696)
Adds experimental session sync (`@earendil-works/pi-durable/sync`).

Devices upload and pull a session's commits through a remote, reading
them from the Chord store's outbox and applying them with `applyBatch`.
If two devices continue the same session, the one that uploads second
forks to a new session.

I took out the extra sequence indexes from the earlier version of this
branch, since the Chord outbox already persists every commit, so this no
longer touches storage.

---------

Co-authored-by: Armin Ronacher <armin.ronacher@active-4.com>
2026-11-05 12:03:16 +01:00
..
bench feat(storage): replication (#11696) 2026-11-05 12:03:16 +01:00
contracts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
data feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
delta-benchmark feat(chord): make immutable delta tracker canonical 2026-09-24 15:07:12 +02:00
delta-tracker fix(chord): Delta's tracker holds its one open change without a WeakRef 2026-10-27 23:46:11 +00:00
documents feat(chord): telemetry from pages and workers stored by the server, who a span was for 2026-11-04 11:59:14 +00:00
examples feat(chord): a call's answer follows its state 2026-11-05 10:45:40 +00:00
host fix(chord): a page cannot claim chord.* attributes on its spans; tutorial layout 2026-11-04 12:13:07 +00:00
jobs feat(chord): telemetry from pages and workers stored by the server, who a span was for 2026-11-04 11:59:14 +00:00
link feat(chord): telemetry, spans across hosts (slice 9) 2026-11-04 10:02:48 +00:00
node feat(chord): split the worker base at dynamic imports; workers/child entry 2026-11-05 08:49:17 +01:00
registries feat(chord): mistakes that wait are reported at once 2026-11-03 07:19:52 +00:00
remote feat(chord): a call's answer follows its state 2026-11-05 10:45:40 +00:00
schema feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
sqlite feat(chord): telemetry from pages and workers stored by the server, who a span was for 2026-11-04 11:59:14 +00:00
state feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
store feat(chord): group commit in the store (decision S18) 2026-11-04 19:53:23 +00:00
surfaces feat(chord): the reload suite, kit timeouts and base marks, four reload fixes 2026-11-04 16:47:07 +00:00
sync feat(storage): replication (#11696) 2026-11-05 12:03:16 +01:00
telemetry-ingest fix(chord): a page cannot claim chord.* attributes on its spans; tutorial layout 2026-11-04 12:13:07 +00:00
tui feat(chord): a call's answer follows its state 2026-11-05 10:45:40 +00:00
boundary.test.ts feat(chord): Chord v1 and v2 on pi-schema, drop TypeBox 2026-11-01 10:15:02 +00:00
context.test.ts feat: Durable storage adopt callback inside the commit, watch types in Chord, explicit watch retirement 2026-10-22 10:52:59 +00:00
delta-append-text.test.ts feat(chord,durable): appendText for cheap string appends; Durable partial commits append instead of reassigning 2026-10-24 08:21:41 +00:00
delta-apply-immutable.test.ts perf(chord): cheaper container copies in Delta's tracker and applyImmutable 2026-10-24 16:56:53 +00:00
delta-clone.test.ts feat(chord): make immutable delta tracker canonical 2026-09-24 15:07:12 +02:00
delta-diff.test.ts feat(chord): replace the facet and service runtime with the chord2 host runtime 2026-10-12 10:41:59 +00:00
delta-op-text-retention.test.ts fix(ai,chord,durable,coding-agent): parse streamed tool-call arguments incrementally (fixes #9265) 2026-10-24 08:00:07 +00:00
delta-pending.test.ts fix(chord): give the PendingOps fuzz tests room on loaded CI runners 2026-10-24 09:48:13 +00:00
delta-traversal.bench.ts feat(chord): optimize immutable batch application 2026-09-25 00:09:50 +02:00
delta.test.ts feat(chord): make immutable delta tracker canonical 2026-09-24 15:07:12 +02:00
json.test.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
output-skip.test.ts feat(chord,durable): move OutputBuffer and Progress to @earendil-works/chord/output 2026-10-15 09:59:46 +00:00
output.test.ts fix(chord): remove whole ANSI escape sequences from tool output (#11607) 2026-10-30 12:17:49 +01:00
state-diff.test.ts feat(chord): replace the facet and service runtime with the chord2 host runtime 2026-10-12 10:41:59 +00:00
state-draft.test.ts refactor(chord): name things after the concepts; object variants; link protocol version; object lifetimes 2026-10-14 05:34:14 +00:00
state-fuzz.test.ts feat(chord): make immutable delta tracker canonical 2026-09-24 15:07:12 +02:00
state-value.test.ts feat(chord): make immutable delta tracker canonical 2026-09-24 15:07:12 +02:00
support.ts feat(chord): telemetry, spans across hosts (slice 9) 2026-11-04 10:02:48 +00:00
telemetry-sqlite-node.test.ts feat(chord): telemetry from pages and workers stored by the server, who a span was for 2026-11-04 11:59:14 +00:00
telemetry-sqlite-store.test.ts feat(chord): SqliteExecutor.runCounted resolves with the rows a statement changed 2026-10-27 08:54:53 +00:00
telemetry-sqlite.test.ts feat(chord): telemetry from pages and workers stored by the server, who a span was for 2026-11-04 11:59:14 +00:00
telemetry.test.ts feat(chord): telemetry from pages and workers stored by the server, who a span was for 2026-11-04 11:59:14 +00:00
watch.test.ts feat(chord,durable): failures are watch calls; one vocabulary for watches, observers and reports 2026-10-27 20:38:08 +00:00