Skip to content

Omnigraph TS SDK 0.10 - #10

Merged
aaltshuler merged 1 commit into
mainfrom
omnigraph-sdk-0-10
Sep 3, 2026
Merged

Omnigraph TS SDK 0.10#10
aaltshuler merged 1 commit into
mainfrom
omnigraph-sdk-0-10

Conversation

@aaltshuler

Copy link
Copy Markdown
Contributor

Moves the adapter and demo to @modernrelay/omnigraph@0.10.0 (from 0.9.0, exact pin both places).

Migration assessment (verified via d.ts diff, 0.9 → 0.10)

  • Every SDK member orbit consumes is signature-stable: export, invokeQuery, ingest, snapshot, schema, Omnigraph/OmnigraphOptions/CallOptions/ExportInput/InvokeQueryInput/FetchLike. The only changed method (mutateConditionalCallOptions) is not called by orbit.
  • The newly exported ExportRecord type matches the NDJSON line shape classifyExportLine already parses — no loader changes needed.
  • SERVER_VERSION 0.9.0 → 0.10.0 moves the loader's drift-warning pin; the mismatch test now drifts against 0.11.0.

Fixtures

Recorded fixtures regenerated against a real omnigraph-server 0.10.0 (local binaries) via scripts/omnigraph-fixture.mjs, which learned two 0.10 shapes along the way: load --json per-table entity counts, and the snapshot tablesdatasets rename (entity_kind/type_name/entity_count); manifest rowCounts keys keep the <kind>:<Type> form.

Verification

Full check green: 1,800 tests, including the 134 adapter tests against the re-recorded 0.10 fixtures; both version-drift tests updated and passing.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Gd3TVitMrMbofTZLmeB37Z

Pin @modernrelay/omnigraph@0.10.0 in the adapter and the demo app. The
consumed SDK surface is signature-stable (export/invokeQuery/ingest/
snapshot/schema and all imported types unchanged; the newly exported
ExportRecord matches the NDJSON line shape the loader already parses).
SERVER_VERSION moves the drift-warning pin to 0.10.x; the mismatch test
now drifts against 0.11.0.

Test fixtures re-recorded against a real omnigraph-server 0.10.0. The
fixture recorder learned the 0.10 CLI and wire shapes: load --json
reports per-table entity counts (summed with a pre-0.10 fallback), and
the snapshot response renamed tables (table_key/row_count) to datasets
(entity_kind + type_name / entity_count) — manifest keys keep the
'<kind>:<Type>' form either way.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Gd3TVitMrMbofTZLmeB37Z
@aaltshuler
aaltshuler merged commit ec0c531 into main Sep 3, 2026
4 checks passed
@aaltshuler
aaltshuler deleted the omnigraph-sdk-0-10 branch September 3, 2026 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant