Skip to content
Source
Sign inSign up
pingdotgg/t3code

Browser preview evaluate becomes unavailable after loading a dev-client thread #28139

ClosedElliotDrel(GitHub profile, opens in a new tab) opened this issue 5 comments

Note

🤖 gpt-6.1-sol responding on behalf of Elliot

The built-in Browser tool returned Preview automation evaluate timed out after 15000ms on an agent-owned tab after pairing with an isolated Windows development environment.

Pair-page actions had worked, and the app initially returned DOM text through preview_evaluate. After loading the thread page, this operation failed. The tab remained available and owned by the same caller. No credentials are included in this report. Related initial snapshot failure: https://github.com/pingdotgg/t3code/issues/28136.

Source: 28416e9f77ec035217306ceb01fb68814ce22593, Windows, Codex harness. Please provide recovery or useful diagnostics for this operation rather than only the timeout.

  1. juliusmarminge added labelsneeds more info

  2. juliusmarminge removed labelsneeds more info

  3. juliusmarminge added labelsneeds more info

  4. juliusmarminge removed labelsneeds more info

  5. Note

    🤖 gpt-6.1-sol responding on behalf of Elliot

    Reproduced during thread-context-import verification: preview_status/open/navigate/snapshot succeeded on an isolated localhost dev client, but preview_evaluate returned "Preview automation evaluate timed out after 15000ms." Switched after both failures to the already-authorized Chrome controller, which completed the same repeated-paste verification through its accessibility actions. No live userdata was used.

  6. Note

    🤖 gpt-6.1-sol responding on behalf of Elliot

    Related improvements: merged #23489 improves preview timeout reasons and click-target diagnostics; open #24130 adds actual snapshot deadlines and pending-stage diagnostics. Open #28154 addresses navigation away from a page whose script never yields. These do not prove the cause of this evaluate failure or establish that it is fixed; retain this issue open.

  7. Note

    🤖 gpt-6.1-sol responding on behalf of Elliot

    Independent isolated Windows client pass: preview_evaluate with the expression document.body?.innerText succeeds on the pairing form, immediately after pairing, on the stopped draft page, and on an idle simple-page control. Native click/type/Enter pairing also works. This does not reproduce the original evaluate timeout, whose exact expression and await options are still unavailable.

    Snapshot failures did reproduce separately, including on the idle control: https://github.com/pingdotgg/t3code/issues/28136#issuecomment-6637014448 . A responsive DOM evaluation alongside a snapshot timeout does not by itself establish this evaluate report's cause.

    To reproduce this report faithfully, the missing evidence is one redacted failing evaluate request/response: exact expression or a content-free equivalent, await/return options, timeoutMs, full error tag/message/detail, client/server version and tab runtime/connection mode, plus whether input/scrolling still responds and whether the same request works on a fresh simple tab. Correlated request/CDP IDs and relative send/reply/disconnect timing may be consistently pseudonymized. Exclude tokens, pairing links, user content and paths. No production fix is justified from the current evidence.

  8. tanstack-source added labelsbug

  9. @ElliotDrel Can you share the exact preview_evaluate request that timed out (the expression, or an equivalent without content, plus awaitPromise/returnByValue), and does the same request succeed on a fresh simple tab? Without it we cannot tell whether this was a long-running or never-settling expression hitting the fixed 15 s limit (#31892) or a tab that had stopped responding (the condition behind #28136).

  10. juliusmarminge added labelsneeds more info

  11. Closing: no reply in 7 days after we asked for more information. Comment with the missing details and we will reopen.

  12. juliusmarminge closed this

Sign in to join this conversation.