mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-22 18:35:21 -06:00
d3557ec013
* fix(ci): accept profiled partial Kova gates * fix(ci): scope Kova secrets to live runs * fix(ci): require reviewed Kova refs for live runs * fix(ci): pin cross-profile Kova repair * fix(perf): preserve historical Kova report contracts * fix(ci): declare Kova gate options * fix(ci): preserve required Kova partial failures
43 lines
814 B
TypeScript
43 lines
814 B
TypeScript
export interface KovaReportGateOptions {
|
|
requireInstrumentedPerformanceContract?: boolean;
|
|
}
|
|
|
|
export function evaluateToleratedPartialKovaReport(
|
|
report: unknown,
|
|
options?: KovaReportGateOptions,
|
|
):
|
|
| {
|
|
ok: boolean;
|
|
reason?: undefined;
|
|
}
|
|
| {
|
|
ok: boolean;
|
|
reason: string;
|
|
};
|
|
export function evaluateToleratedProfiledKovaReport(
|
|
report: unknown,
|
|
options?: KovaReportGateOptions,
|
|
):
|
|
| {
|
|
ok: boolean;
|
|
reason?: undefined;
|
|
}
|
|
| {
|
|
ok: boolean;
|
|
reason: string;
|
|
};
|
|
export function evaluateToleratedKovaReport(
|
|
report: unknown,
|
|
options?: KovaReportGateOptions,
|
|
):
|
|
| {
|
|
ok: boolean;
|
|
classification: string;
|
|
reason?: undefined;
|
|
}
|
|
| {
|
|
ok: boolean;
|
|
reason: string;
|
|
classification?: undefined;
|
|
};
|