fix(ci): honor Kova performance report contracts (#103030)

This commit is contained in:
Peter Steinberger
2026-07-09 20:08:25 +01:00
committed by GitHub
parent 8656c3b357
commit 11fa0cf2d5
4 changed files with 32 additions and 5 deletions

View File

@@ -142,6 +142,10 @@ function validateRecord(recordValue) {
return record;
}
function recordViolations(record) {
return record.violations === undefined ? [] : array(record.violations, "record violations");
}
function validateTargetCleanup(report) {
if (!text(report.target, "report target").startsWith("local-build:")) {
check(report.targetCleanup === null, "non-local target had cleanup metadata");