Repro:
(1) Create a valid circleci config with a workflow job filters section and confirm it builds
(2) Update the “filters” key to “filter” (create a typo)
Expected:
Does not build but can be diagnosed
Actual:
Does not build, there is no way to diagnose.
There was talk on this forum of a YAML schema (unofficial, not from CircleCI). I wonder if that would take much effort to create? YAML is a slippery format, so it would be very nice to have.
No, a schema goes further than that. It’s a way of checking whether a data structure (or a document that creates a data structure) obeys a preset set of rules about what a valid structure looks like.