omnigraph/crates/omnigraph-cluster
aaltshuler 677320ceec feat(cluster): Terraform-shaped query declaration — discover from files
cluster.yaml's graphs.<id>.queries previously accepted only an explicit
name->file map, forcing configs to re-enumerate every `query <name>` that
the .gq files already declare (the SPIKE cookbook needed 66 entries for 6
files). The files ARE the declaration now: `queries: queries/` discovers
every declaration in a directory's top-level *.gq (sorted), a list form
takes explicit files, and the map stays for fine-grained control.
Discovery is loud — unreadable/unparseable files and duplicate query names
fail validation (query_parse_error, duplicate_query_name). Downstream is
untouched: each discovered query is still an individually addressed
resource with the containing file's digest.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-11 00:46:21 +03:00
..
src feat(cluster): Terraform-shaped query declaration — discover from files 2026-06-11 00:46:21 +03:00
tests test(cluster): failpoint coverage for delete crash windows 2026-06-10 14:34:54 +03:00
Cargo.toml feat(cluster): failpoint infrastructure mirroring the engine 2026-06-10 02:12:59 +03:00