Files
pi-lens/scripts/ci-test-diff.d.mts
T
Apostolos Mantzaris 46c277eed3 fix: harden CI test diff (#4072)
Validate Vitest summaries before comparing failure identities, preserve project names, and reuse the shared log classifier. Add asymmetric shape and exit-code coverage for the fixer CLI.\n\nRefs #4072
2026-10-07 15:30:33 +03:00

34 lines
764 B
TypeScript

export declare function stripLogDecorations(log: string): string;
export declare function extractFailingTestIds(log: string): string[];
export declare function summarizeLog(
log: string,
side?: string,
): {
testsFailed: number;
suitesFailed: number;
unhandledErrors: number;
};
export declare function validateLog(
log: string,
side?: string,
): {
ids: string[];
testsFailed: number;
suitesFailed: number;
unhandledErrors: number;
};
export declare function compareFailureSets(
previous: string[],
current: string[],
): {
fixed: string[];
newFailures: string[];
unchanged: string[];
};
export declare function parseArgs(argv: string[]): {
jobA: string;
jobB: string;
repository: string;
};
export declare function main(argv?: string[]): number;