diff --git a/scripts/src/hwlab-node-web-sentinel-cicd.ts b/scripts/src/hwlab-node-web-sentinel-cicd.ts index c7a2a7f5..fe26b6f1 100644 --- a/scripts/src/hwlab-node-web-sentinel-cicd.ts +++ b/scripts/src/hwlab-node-web-sentinel-cicd.ts @@ -1442,6 +1442,17 @@ function finalizeQuickVerifyFailure(state: SentinelCicdState, input: { readonly warnings?: readonly unknown[]; }): Record { const cleanupSteps: Record[] = []; + if (input.promptIndex > 0) { + const cancel = runChildCli([ + "hwlab", "nodes", "web-probe", "observe", "command", input.observerId, + "--node", state.spec.nodeId, + "--lane", state.spec.lane, + "--type", "cancel", + "--wait-ms", "55000", + "--command-timeout-seconds", "55", + ], 60); + cleanupSteps.push({ phase: "observe-cancel-after-failure", ok: cancel.ok, result: cancel.result }); + } const stop = runChildCli([ "hwlab", "nodes", "web-probe", "observe", "stop", input.observerId, "--node", state.spec.nodeId,