Graph Parity Rollout Guide

Status: Draft (2025-11-26) — DOCS-GRAPH-24-007. Audience: platform and SRE teams rolling out the new graph stack, plus the UI/CLI guilds cutting clients over.

Goal

Transition from the legacy graph surfaces (Cartographer / UI stubs) to the new Graph API + Indexer stack, with explicit parity checks at every phase and a clean rollback path.

Scope

Phased rollout

  1. Pilot
    • Enable new Graph API for pilot tenants behind feature flag graph.api.v2.
    • Run daily parity job: compare node/edge counts and hashes against legacy output for selected snapshots.
  2. Shadow
    • Mirror queries from UI/CLI to both legacy and new APIs; log differences.
    • Metrics to track: parity_diff_nodes_total, parity_diff_edges_total, p95 latency deltas.
  3. Cutover
    • Switch UI/CLI to new endpoints; keep shadow logging for 1 week.
    • Freeze legacy write paths; keep read-only export for rollback.
  4. Cleanup
    • Remove legacy routes; retain archived parity reports and exports.

Parity checks

Rollback

Observability

Owners

Checklists

References