Problem
StepStatus currently has PASS, FAIL, BLOCKED, and SKIPPED. There is no WARN value.
Checks that want to alert without blocking (e.g. identity verification in warn mode, large diff notification) currently record the step as PASS with a message — which misrepresents the outcome in the dashboard.
Proposed solution
Add WARN to StepStatus and thread it through the stack:
StepStatus.java — add WARN
- DB — no migration needed (stored as VARCHAR, new value is additive)
- API — already serialised as string, no change
- UI — amber/yellow badge alongside existing green/red/grey ones in the validation steps list
Why 1.1.0
Touches the data model. Worth doing deliberately with a full pass of all validation checks that could reasonably emit WARN (identity verification, diff size, commit count) rather than adding it for a single use case.
Downstream dependency
Diff size policy check (see related issue) uses WARN for the warn tier.
Problem
StepStatuscurrently hasPASS,FAIL,BLOCKED, andSKIPPED. There is noWARNvalue.Checks that want to alert without blocking (e.g. identity verification in
warnmode, large diff notification) currently record the step asPASSwith a message — which misrepresents the outcome in the dashboard.Proposed solution
Add
WARNtoStepStatusand thread it through the stack:StepStatus.java— addWARNWhy 1.1.0
Touches the data model. Worth doing deliberately with a full pass of all validation checks that could reasonably emit WARN (identity verification, diff size, commit count) rather than adding it for a single use case.
Downstream dependency
Diff size policy check (see related issue) uses WARN for the warn tier.