omnigraph/crates/omnigraph-cli/tests
aaltshuler 7d70811df1 test(cli): comprehensive full-cycle cluster e2e with a live server
Two system tests composing the whole Phase 1-5 surface with real binaries:

- local_cluster_full_lifecycle_declare_serve_evolve_delete: declare two
  graphs -> one apply creates and converges them -> the --cluster server
  serves both stored queries -> schema+query evolve in one apply (migration
  previewed in plan) -> restart serves the new shape -> out-of-band schema
  drift observed by refresh and converged back by apply (rogue field
  soft-dropped) -> approved graph delete -> restart serves the survivor and
  404s the tombstoned graph -> final plan empty. Catches composition
  regressions where each stage passes its own tests but the lifecycle
  breaks (the composite_flow.rs principle at the control-plane level).

- local_cluster_serving_enforces_applied_policy_bindings: applied policy
  bundles gate serving per their bindings over HTTP with bearer-resolved
  actors — the cluster-bound bundle owns graph_list (admin 200, reader 403,
  anonymous 401), the graph-bound bundle owns invoke_query (reader gets
  rows; denied invocation is the documented anti-probing 404).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-10 18:07:29 +03:00
..
support test(cli): comprehensive full-cycle cluster e2e with a live server 2026-06-10 18:07:29 +03:00
cli.rs feat(cluster): record policy applies_to bindings in the applied revision 2026-06-10 15:30:33 +03:00
system_local.rs test(cli): comprehensive full-cycle cluster e2e with a live server 2026-06-10 18:07:29 +03:00
system_remote.rs Stored-query registry foundation + config/CLI RFC-002 (#128) 2026-06-01 22:50:31 +02:00