Refresh HiveGrid Cloud reference snapshot

This commit is contained in:
david committed 2026-08-03 15:31:14 +02:00
1 parent 5e99e14772
commit 7f88026f79
5955 files changed
+1177325 -188362

No files matched your search

@@ -103,7 +103,9 @@ function conservativeFailureCount(count, output) {
return count > 0 ? count : output.trim() ? 1 : 0;
}
export function failureCount(gateId, stdout, stderr) {
export function failureCount(gateId, stdout, stderr, exitCode = 1) {
if (exitCode === 0) return 0;
const output = `${stdout}\n${stderr}`;
if (gateId === "typecheck") return conservativeFailureCount(countTypeScriptFailures(output), output);
if (gateId === "lint") return conservativeFailureCount(countEslintFailures(output), output);
@@ -135,12 +137,13 @@ function runShellGate(gate) {
});
child.on("close", (code) => {
const output = `${stdout}\n${stderr}`;
const exitCode = code ?? 1;
resolve({
id: gate.id,
command: shellCommand(gate),
exitCode: code ?? 1,
exitCode,
durationMs: Date.now() - startedAt,
failureCount: failureCount(gate.id, stdout, stderr),
failureCount: failureCount(gate.id, stdout, stderr, exitCode),
fingerprint: outputFingerprint(output),
});
});