fix: accept successful sentinel health payloads

This commit is contained in:
Codex
2026-07-03 05:49:41 +00:00
parent 09f54c493c
commit e0392f2622
+1 -1
View File
@@ -1501,7 +1501,7 @@ function callSentinelService(state: SentinelCicdState, method: "GET" | "POST", p
}
function isSentinelServiceResponseContract(value: Record<string, unknown>): boolean {
return value.ok === false
return typeof value.ok === "boolean"
|| typeof value.view === "string"
|| typeof value.renderedText === "string"
|| typeof value.error === "string"