omnigraph/crates
Ragnor Comerford d599a8522a
test(writes): tolerate benign drift / defer sidecar-covered drift (red)
A table's Lance HEAD can sit ahead of the manifest pin after a benign,
content-preserving op that never published to the manifest (compaction, a
recovery restore, an old-binary optimize, an external compact_files). That
drift carries no recovery sidecar and is safe to write over. A pending
recovery sidecar, by contrast, marks a real in-flight partial write the
open-time sweep will roll back.

Adds boundary tests proving the (currently-missing) consumer-side behavior:

- writes.rs: strict update / strict delete proceed on benign drift with no
  sidecar, and defer (pointing at recovery) when a sidecar pins the table.
- schema_apply.rs: additive apply proceeds on benign drift, defers when a
  sidecar pins the table.

Shared forge_benign_drift / write_node_pin_sidecar / node_table_uri helpers
in tests/helpers/mod.rs (never-matching delete_where advances Lance HEAD by
one without touching the manifest).

Red today: the pre-stage precondition rejects any HEAD != pin as a stale
view (ExpectedVersionMismatch), so the proceeds tests 409 and the defers
tests get the generic stale-view message instead of an actionable recovery
hint.
2026-06-08 11:54:51 +02:00
..
omnigraph test(writes): tolerate benign drift / defer sidecar-covered drift (red) 2026-06-08 11:54:51 +02:00
omnigraph-cli fix(optimize): skip blob-bearing tables to avoid Lance compaction crash (#138) 2026-06-02 17:12:00 +02:00
omnigraph-compiler fix(optimize): skip blob-bearing tables to avoid Lance compaction crash (#138) 2026-06-02 17:12:00 +02:00
omnigraph-policy fix(optimize): skip blob-bearing tables to avoid Lance compaction crash (#138) 2026-06-02 17:12:00 +02:00
omnigraph-server fix(optimize): skip blob-bearing tables to avoid Lance compaction crash (#138) 2026-06-02 17:12:00 +02:00