Browser mode waits out the full timeout on "No response from ChatGPT. Check your connection." banner
What happens
In browser mode (0.23.0, gpt-6-pro), the prompt was submitted (promptSubmitted: true), then
ChatGPT showed a red banner with a Retry button:
No response from ChatGPT. Check your connection.
Oracle kept logging "no thinking status detected yet" every 30 s and only failed after the full
20-minute wait, with stage: assistant-timeout.
Expected
Oracle already fails fast on ChatGPT UI warnings: throwChatGptUiWarningIfPresent runs during the
assistant wait and raises code: "chatgpt-ui-warning". This banner should be classified as
temporary_unavailable and fail the same way.
Cause
Neither classifyChatGptUiWarningText nor the page-side warningPattern in
src/browser/uiWarnings.ts (0.23.0 and current main) matches this text.
isAssistantTurnUiErrorText in src/browser/actions/assistantResponse.ts doesn't either.
Suggested change
/\btemporarily unavailable\b/.test(normalized) ||
/\bsomething went wrong\b/.test(normalized) ||
/\bfailed to generate\b/.test(normalized) ||
+ /\bno response from chatgpt\b/.test(normalized) ||
+ /\bcheck your connection\b/.test(normalized) ||
/\btry again later\b/.test(normalized)
Add |no response from chatgpt|check your connection to warningPattern too. In
isAssistantTurnUiErrorText, also accept no response from chatgpt when Retry is visible.
A unit-test case: classifyChatGptUiWarningText("No response from ChatGPT. Check your connection.") should return temporary_unavailable.
Not verified
I couldn't capture the banner's DOM container: the timeout .dom.json snapshot truncates text.
If the banner sits outside the scanned selectors ([role=alert], [aria-live], toast/banner/error
test ids and classes), the pattern change alone won't catch it.
Codex review: this still needs some work.
Summary This issue identifies a current warning-detection gap in v0.23.0 and main; no open fix was found, and the banner’s DOM placement still needs verification.
Reproducibility: Source establishes that the exact reported text fails both warning filters and the Retry-associated assistant predicate; no tests or live browser reproduction were run, and actual banner placement is unverified.
Next step Add recognition for the connection-failure text and establish a failing DOM-to-wait regression that verifies prompt structured failure for its banner placement.
Review details
Best possible solution:
Report this terminal connection failure promptly through the existing structured warning path while preserving generation safeguards and manual recovery.
Do we have a high-confidence way to reproduce the issue?
Source establishes that the exact reported text fails both warning filters and the Retry-associated assistant predicate; no tests or live browser reproduction were run, and actual banner placement is unverified.
Is this the best way to solve the issue?
Extending the existing recognizers is appropriate, but the proposed regex changes need an early-failure regression because general semantic warning collection does not currently poll throughout the text-response wait.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
- The reported banner’s DOM container remains unknown, so wording changes alone do not prove that the real banner reaches the early-failure path.
Codex review notes: model internal, reasoning medium; reviewed against 3808811ceab0.
Label changes
Label changes:
- add
P2: A specific browser failure consumes the full response timeout, without evidence of a broad outage or urgent regression. - add
impact:ux-friction: Users wait through an already failed response and receive a generic timeout instead of the visible connection error. - add
issue-rating: 🦞 diamond lobster: Current issue advisory state selects this label. - add
clawsweeper:source-repro: Current issue advisory state selects this label. - add
clawsweeper:queueable-fix: Current issue advisory state selects this label. - add
clawsweeper:fix-shape-clear: Current issue advisory state selects this label.
Label justifications:
P2: A specific browser failure consumes the full response timeout, without evidence of a broad outage or urgent regression.impact:ux-friction: Users wait through an already failed response and receive a generic timeout instead of the visible connection error.
Evidence reviewed
Acceptance criteria:
- pnpm vitest run tests/browser/uiWarningErrorCodes.test.ts tests/browser/pageActionsExpressions.test.ts tests/browser/pageActions.test.ts tests/browser/index.test.ts tests/browser/reattach.test.ts tests/browser/sessionRunner.test.ts
- pnpm run typecheck
- git diff --check
- Demonstrate the exact connection banner failing before the change and producing chatgpt-ui-warning with temporary_unavailable before the response deadline afterward, with zero Retry clicks and preserved recovery metadata.
What I checked:
- Current classification gap: The temporary-unavailable classifier and renderer warningPattern both omit the reported wording, so even a matching visible semantic warning container is discarded. (
src/browser/uiWarnings.ts:34, 3808811ceab0) - Current early-failure gap: isAssistantTurnUiErrorText recognizes three Retry-associated failure phrases but not this banner; the extractor also requires no strong generation activity before marking a terminal failure. (
src/browser/actions/assistantResponse.ts:239, 3808811ceab0) - Pattern changes alone do not establish prompt failure: The text-response watchdog reads assistant snapshots; createBlockingUiWarningCheck is wired into image-artifact waits, while general text warning collection is reached through timeout handling. (
src/browser/actions/assistantResponse.ts:761, 3808811ceab0) - Existing behavior and safety boundary: Documentation promises prompt failure for recognized current-turn English errors with visible Retry after generation stops, preserves ordinary prose, and prohibits automatic Retry or resubmission. (
docs/browser-mode.md:131, 3808811ceab0) - Report and discussion: The reporter identifies v0.23.0, a submitted prompt, exact banner text, visible Retry, and assistant-timeout; they explicitly disclose that the banner container was not captured, and the only comment is automated review status.
- Earlier fixes establish distinct remaining work: https://github.com/steipete/oracle/pull/458 implemented scoped Retry failure handling; https://github.com/steipete/oracle/pull/601 addressed separator-joined warning codes, not this English connection banner.
How this review workflow works
- ClawSweeper keeps one durable marker-backed review comment per issue or PR.
- Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
- A fresh review can be triggered by eligible
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch. - PR/issue authors and users with repository write access can comment
@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only. - Maintainers can also comment
@clawsweeper reviewto request a fresh review only. - Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge; those execution lanes are retired.
- Maintainers can comment
@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.
Reviewed November 7, 2026, 1:17 PM ET / 18:17 UTC.