Skip to content

Commit 1b13167

Browse files
authored
chore: reduce full desktop dist CI scope (#623)
* chore: narrow desktop full dist workflow triggers * fix(desktop): extend packaged CI health check window * chore(ci): restore x64 dist coverage triggers
1 parent 327deb7 commit 1b13167

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

scripts/desktop-ci-check.mjs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ import { access, cp, mkdir, readFile, writeFile } from "node:fs/promises";
44
import { join, resolve } from "node:path";
55

66
const repoRoot = process.cwd();
7-
const maxHealthAttempts = 60;
7+
const maxHealthAttemptsByMode = {
8+
dev: 60,
9+
dist: 90,
10+
};
811
const probeTimeoutMs = 5_000;
912
const requiredDiagnosticsUnitIds = ["controller", "openclaw"];
1013

@@ -874,6 +877,8 @@ async function captureLogs(context, captureDir) {
874877
}
875878

876879
async function verifyRuntime(context) {
880+
const maxHealthAttempts = maxHealthAttemptsByMode[context.mode];
881+
877882
if (context.statusCommand) {
878883
await runCommand(context.statusCommand[0], context.statusCommand[1]);
879884
}

0 commit comments

Comments
 (0)