omnigraph/crates
aaltshuler 9292ff42a9 refactor(engine): one dataset-open chokepoint — open_dataset(uri, VersionResolution, session, wrapper)
Unify the two instrumented openers (open_dataset_tracked latest-only,
open_table_dataset pinned-only) into a single
instrumentation::open_dataset whose version resolution (Latest | At(v))
is an explicit typed parameter, and route every production Dataset open
in the engine through it — including the previously-raw opens in the
branch ops (delete/list/force_delete_branch), manifest branch delete,
version-metadata resolution, recovery classification/restore, the
recovery-audit table, and schema-apply version GC (whose
forbidden-api-allow sentinel is now unnecessary and removed).

One chokepoint means three properties hold uniformly instead of
per-path: record_open feeds the cost probes on every open (the raw
sites were invisible to the gates), the per-query IO wrapper is
attached with the right class (manifest vs table) everywhere, and the
shared per-graph Session parameter exists on every path — threading it
into the write-side owners lands separately.

Behavior-preserving: every call site keeps its existing version
resolution, session argument, and wrapper class; in-source tests keep
raw opens (out of scope for the chokepoint by design).
2026-07-05 00:48:14 +03:00
..
omnigraph refactor(engine): one dataset-open chokepoint — open_dataset(uri, VersionResolution, session, wrapper) 2026-07-05 00:48:14 +03:00
omnigraph-api-types chore(release): bump version to 0.8.0 (#313) 2026-06-29 12:38:24 +02:00
omnigraph-cli fix(cli-tests): surface stderr on the stalled-server panic too; hoist io imports 2026-07-03 12:50:58 +03:00
omnigraph-cluster chore(release): bump version to 0.8.0 (#313) 2026-06-29 12:38:24 +02:00
omnigraph-compiler chore(release): bump version to 0.8.0 (#313) 2026-06-29 12:38:24 +02:00
omnigraph-policy chore(release): bump version to 0.8.0 (#313) 2026-06-29 12:38:24 +02:00
omnigraph-server chore(release): bump version to 0.8.0 (#313) 2026-06-29 12:38:24 +02:00