omnigraph/crates/omnigraph-server/src
aaltshuler fd002abaa5 feat(cluster): port the storage backend to the engine StorageAdapter
LocalStateBackend becomes ClusterStore: every stored byte — state ledger,
lock, recovery sidecars, approval artifacts — now flows through the
engine's StorageAdapter, making file:// and s3:// one code path. Behavior
on the file backend is byte-compatible (layout, CAS semantics, diagnostics,
lock release timing) and the entire pre-existing suite passes unchanged.

Mechanics: the ledger CAS keeps its public sha256 vocabulary while the
physical swap is token-conditioned (ETag If-Match on S3 via PR #186's
primitives; content-token + temp/rename locally — the pre-port semantics);
the lock is a create-only put (genuinely cross-machine on object stores)
with deterministic drop-release locally and best-effort spawned release on
S3; sidecars/approvals address by URI (SweepOutcome and the executors carry
strings); sweep row-1 retirement joins the uniform deferred post-CAS
cleanup. ClusterStore also gains the catalog-payload and graph-root
methods that commit 2 wires in.

Async ripple: status/force-unlock/serving-snapshot and the server's
settings loader chain go async (CLI dispatch and ~20 test hosts follow,
mechanically). tokio joins the cluster crate's runtime deps for the lock
guard's handle.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-11 14:11:14 +03:00
..
api.rs feat(server)!: POST /ingest forks only when 'from' is present 2026-06-11 04:05:29 +03:00
auth.rs (feat): multi-graph server mode (#119) 2026-05-28 16:19:31 +02:00
config.rs Stored-query registry foundation + config/CLI RFC-002 (#128) 2026-06-01 22:50:31 +02:00
graph_id.rs (feat): multi-graph server mode (#119) 2026-05-28 16:19:31 +02:00
identity.rs (feat): multi-graph server mode (#119) 2026-05-28 16:19:31 +02:00
lib.rs feat(cluster): port the storage backend to the engine StorageAdapter 2026-06-11 14:11:14 +03:00
main.rs feat(cluster): port the storage backend to the engine StorageAdapter 2026-06-11 14:11:14 +03:00
policy.rs policy: chassis core — omnigraph-policy crate + Omnigraph::enforce() (MR-722) (#102) 2026-05-18 00:36:36 +03:00
queries.rs Stored-query registry foundation + config/CLI RFC-002 (#128) 2026-06-01 22:50:31 +02:00
registry.rs Stored-query registry foundation + config/CLI RFC-002 (#128) 2026-06-01 22:50:31 +02:00
workload.rs (feat): multi-graph server mode (#119) 2026-05-28 16:19:31 +02:00