From 5ba0e9b0c7c2b8553bc90df97b405c7164a54dfa Mon Sep 17 00:00:00 2001 From: Codex Date: Thu, 18 Jun 2026 10:02:03 +0000 Subject: [PATCH] fix: classify hwlab web probe agent timeout --- scripts/src/hwlab-node-web-probe-summary.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/src/hwlab-node-web-probe-summary.ts b/scripts/src/hwlab-node-web-probe-summary.ts index c5f76c42..855d9954 100644 --- a/scripts/src/hwlab-node-web-probe-summary.ts +++ b/scripts/src/hwlab-node-web-probe-summary.ts @@ -304,6 +304,7 @@ function webProbeRunIssueSummary(input: { function webProbeRunFailureKind(degradedReason: string | null, promptValidation: Record): string | null { if (degradedReason === null) return null; if (degradedReason === "prompt-validation-failed") return "unmet-expectation"; + if (degradedReason === "agent-terminal-timeout") return "agent-runtime-timeout"; if (/trace-fetch|api|fetch|http|network/iu.test(degradedReason)) return "network-or-api-fetch-bug"; if (/auth|login|credential/iu.test(degradedReason)) return "target-auth-bug"; if (/browser|timeout|playwright|chromium/iu.test(degradedReason)) return "browser-environment-bug"; @@ -336,6 +337,7 @@ function webProbeRunNextAction( return "Inspect promptValidation.failures, screenshots, and reportPath to decide whether the Web behavior or the assertion is stale."; } if (failureKind === "network-or-api-fetch-bug") return "Inspect trace/session API fetch fields in reportPath and retry after checking target API availability."; + if (failureKind === "agent-runtime-timeout") return "Inspect summary.traceId/sessionId and the corresponding Code Agent/AgentRun runtime; the browser probe submitted the prompt and observed trace events, but no terminal agent response arrived before the wait boundary."; if (failureKind === "target-auth-bug") return "Inspect credential sourceRef/fingerprint and /auth/login status; do not print secrets."; if (failureKind === "browser-environment-bug") return "Inspect browser launcher and Playwright availability on the target workspace."; if (promptSubmitted && !traceRequested) return "Rerun with trace sampling if trace evidence is required.";