diff --git a/scripts/src/hwlab-node-web-sentinel-cicd.ts b/scripts/src/hwlab-node-web-sentinel-cicd.ts index 2c90f801..bede7cd4 100644 --- a/scripts/src/hwlab-node-web-sentinel-cicd.ts +++ b/scripts/src/hwlab-node-web-sentinel-cicd.ts @@ -1342,14 +1342,12 @@ function runSentinelQuickVerify(state: SentinelCicdState, reason: string, timeou return recordQuickVerify(state, quickVerifyTimeoutPayload(state, runId, scenarioId, reason, observerId, steps)); } const args = ["hwlab", "nodes", "web-probe", "observe", "command", observerId, "--node", state.spec.nodeId, "--lane", state.spec.lane, "--type", type, "--wait-ms", "55000", "--command-timeout-seconds", String(remainingSeconds(deadline, 55))]; - let input: string | undefined; if (type === "selectProvider") args.push("--provider", stringAt(item, "provider")); if (type === "sendPrompt") { - args.push("--text-stdin"); - input = prompts.prompts[promptIndex % prompts.prompts.length] ?? ""; + args.push("--text", prompts.prompts[promptIndex % prompts.prompts.length] ?? ""); promptIndex += 1; } - const commandResult = runChildCli(args, remainingSeconds(deadline, 60), input); + const commandResult = runChildCli(args, remainingSeconds(deadline, 60)); steps.push({ phase: `observe-command-${type}`, ok: commandResult.ok, promptIndex: type === "sendPrompt" ? promptIndex : null, result: commandResult.result }); if (!commandResult.ok) { return recordQuickVerify(state, {