fix(ci): restore cli runtime mocks and timeout exits

This commit is contained in:
Peter Steinberger
2026-03-22 23:43:16 +00:00
parent 85f8437399
commit 4e531d382b
11 changed files with 59 additions and 17 deletions

View File

@@ -320,11 +320,17 @@ export async function runCommandWithTimeout(
: signal != null
? "signal"
: "exit";
const normalizedCode =
termination === "timeout" || termination === "no-output-timeout"
? code === 0
? 124
: code
: code;
resolve({
pid: child.pid ?? undefined,
stdout,
stderr,
code,
code: normalizedCode,
signal,
killed: child.killed,
termination,