From e0392f2622e5d67d2228a522180355bb1f514a8a Mon Sep 17 00:00:00 2001 From: Codex Date: Fri, 3 Jul 2026 05:49:41 +0000 Subject: [PATCH] fix: accept successful sentinel health payloads --- scripts/src/hwlab-node-web-sentinel-p5.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/src/hwlab-node-web-sentinel-p5.ts b/scripts/src/hwlab-node-web-sentinel-p5.ts index 796de27f..235698d1 100644 --- a/scripts/src/hwlab-node-web-sentinel-p5.ts +++ b/scripts/src/hwlab-node-web-sentinel-p5.ts @@ -1501,7 +1501,7 @@ function callSentinelService(state: SentinelCicdState, method: "GET" | "POST", p } function isSentinelServiceResponseContract(value: Record): boolean { - return value.ok === false + return typeof value.ok === "boolean" || typeof value.view === "string" || typeof value.renderedText === "string" || typeof value.error === "string"