feat: publish web probe sentinel from cicd (#902)

Co-authored-by: Codex <codex@noreply.local>
This commit is contained in:
Lyon
2026-06-25 23:39:31 +08:00
committed by GitHub
parent 08149396bd
commit 2963986251
3 changed files with 628 additions and 17 deletions
+1 -1
View File
@@ -7489,7 +7489,7 @@ function parseNodeWebProbeSentinelOptions(args: string[]): NodeWebProbeSentinelO
const confirm = args.includes("--confirm");
const dryRun = args.includes("--dry-run");
if (confirm && dryRun) throw new Error("web-probe sentinel accepts only one of --confirm or --dry-run");
const timeoutSeconds = positiveIntegerOption(args, "--timeout-seconds", 60, 3600);
const timeoutSeconds = positiveIntegerOption(args, "--timeout-seconds", 900, 3600);
let sentinel: WebProbeSentinelOptions;
if (sentinelActionRaw === "plan" || sentinelActionRaw === "status") {
sentinel = { kind: "config", action: sentinelActionRaw, node, lane, dryRun };