From c0a6f5cdbb2167ff37f83063d8fd68a7bb9a11c4 Mon Sep 17 00:00:00 2001 From: Codex Date: Sun, 17 May 2026 06:52:21 +0000 Subject: [PATCH] Fix CI wait success reporting --- scripts/src/ci.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/src/ci.ts b/scripts/src/ci.ts index 81c50e48..31800cd5 100644 --- a/scripts/src/ci.ts +++ b/scripts/src/ci.ts @@ -278,8 +278,9 @@ function run(options: CiOptions): Record { `kubectl get pipelinerun/${shellQuote(name)} -n unidesk-ci -o json`, "exit 124", ].join("\n"))) : null; + const waitSucceeded = wait === null || wait.exitCode === 0 || wait.stdout.trimStart().startsWith("True\tSucceeded\t"); return { - ok: wait === null || wait.exitCode === 0, + ok: waitSucceeded, pipelineRun: name, namespace: "unidesk-ci", repoUrl: options.repoUrl,