fix: add opencode smoke observability probes

This commit is contained in:
Codex
2026-06-30 10:44:28 +00:00
parent f9d7d68522
commit 2d1f96650e
8 changed files with 389 additions and 8 deletions
+3 -1
View File
@@ -564,7 +564,9 @@ export function runNodeWebProbe(options: NodeWebProbeOptions): Record<string, un
return {
ok: false,
status: "blocked",
command: options.action === "observe"
command: options.action === "script" && typeof options.commandLabel === "string"
? options.commandLabel
: options.action === "observe"
? `web-probe observe ${options.observeAction} --node ${options.node} --lane ${options.lane}`
: `web-probe ${options.action} --node ${options.node} --lane ${options.lane}`,
node: options.node,