A deterministic valid graph plus an invalid fixture for showing clear diagnostics and CI-friendly golden checks.
Primary graph: golden_pipeline.yaml.
- Category: Testing and Validation
- Difficulty: beginner
- Tags: diagnostics, golden, ci
./build/topoexec graph validate examples/60-testing-validation/golden_pipeline.yaml --format json
./build/topoexec graph run examples/60-testing-validation/golden_pipeline.yaml --steps 1
./build/topoexec graph render examples/60-testing-validation/golden_pipeline.yaml --format mermaid
./build/topoexec graph validate examples/60-testing-validation/invalid_missing_edge_kind.yaml # expected to failThe valid graph produces stable JSON/text output; the invalid graph fails validation before runtime with a missing edge-kind diagnostic.
example.jsonfor the commands, generated asset expectations, and CI smoke flags.- Generated graph asset under
docs/assets/generated/examples/validation-and-golden/graph.mmdafter running the asset pipeline. - Runtime metrics, trace, observe, or diagnostics output when the command list includes those surfaces.