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

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

No files matched your search

+4
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");