Batch YAML reference checks and reuse declarations #605
Loading…
Reference in a new issue
No description provided.
Delete branch "perf/seanfarm-reference-guards"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Replace Python in four guards with one batched YAML read and shared jq relations. Reuse secret declarations across component checks and negative controls; preserve the existing malformed Flux template exclusions, while requiring component YAML to parse.
The replacement resolves the same 70 service-account references and 129 declarations. All original secret negative controls, ten relation mutations, and malformed-template/read-order fixtures pass with Python denied; shellcheck and syntax checks pass. Four replacement guards took 3.78 seconds in one local observation, versus 49.57 seconds for the old secret guard alone. These are observations, not matched pipeline savings.