Problem
linkml-term-validator validate-data reports label mismatches as warnings, but there is currently no CLI flag to make warnings fail the process.
In CI, this forces downstream projects to add local wrappers that parse stdout/stderr and convert WARN output into a non-zero exit code. That is brittle and repo-specific.
Requested feature
Please add a native strict mode for validate-data, for example one of:
--strict
--fail-on-warnings
The behavior should be:
- any warning causes a non-zero exit code
- errors continue to be non-zero as they are today
- successful validation with no warnings stays zero
Concrete repo impact
In monarch-initiative/dismech, we traced a bad HGNC ID/label pair that slipped through CI when warnings did not reliably hard-fail across validator versions. The current repo now carries a local shell wrapper solely to enforce warning-fail behavior until the CLI exposes it directly.
Native support would let downstream CI use standard tooling instead of custom wrappers.
Problem
linkml-term-validator validate-datareports label mismatches as warnings, but there is currently no CLI flag to make warnings fail the process.In CI, this forces downstream projects to add local wrappers that parse stdout/stderr and convert
WARNoutput into a non-zero exit code. That is brittle and repo-specific.Requested feature
Please add a native strict mode for
validate-data, for example one of:--strict--fail-on-warningsThe behavior should be:
Concrete repo impact
In
monarch-initiative/dismech, we traced a bad HGNC ID/label pair that slipped through CI when warnings did not reliably hard-fail across validator versions. The current repo now carries a local shell wrapper solely to enforce warning-fail behavior until the CLI exposes it directly.Native support would let downstream CI use standard tooling instead of custom wrappers.