mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-06 15:36:16 +00:00
fix(ci): honor Kova performance report contracts (#103030)
This commit is contained in:
parent
8656c3b357
commit
11fa0cf2d5
4 changed files with 32 additions and 5 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue