fix(ci): preserve current Kova gate failures (#126034)

This commit is contained in:
Dallin Romney
2026-08-21 18:18:26 -07:00
committed by GitHub
parent a90800474d
commit fc5cb9e304
2 changed files with 28 additions and 0 deletions
+1
View File
@@ -758,6 +758,7 @@ export function evaluateToleratedProfiledKovaReport(
return evaluate(() => {
const { gate, records, cards, groups } = validateEnvelope(report, options);
check(gate.verdict === "DO_NOT_SHIP", "gate verdict was not DO_NOT_SHIP");
check(!options.requireInstrumentedPerformanceContract, "current producer retained failure");
check(
records.every((record) => record.status === "PASS" || record.status === "FAIL"),
"invalid record status",