Skip to content

[Bug]: Built-in browser snapshot / screenshot / wait intermittently fail with runtime_unavailable while eval / click / tab * keep working (Windows host, CLI from WSL2) #18093

Closed

Description

@TF0119

Operating system: Windows
Orca version: 1.4.194

Short summary:
When driving Orca's built-in browser from the CLI (orca-ide wrapper inside WSL2 Ubuntu, ORCA_ORCHESTRATION_COMPATIBILITY_HOST_KIND=wsl), the read-only inspection commands snapshot, screenshot and wait fail most of the time with runtime_unavailable ("The Orca runtime closed the connection before responding. Restart Orca and try again."), runtime_timeout, or browser_error, even though orca status --json reports runtime.state = "ready" and reachable = true immediately before and after. During the same session eval, click, tab list/create/switch/close succeeded on every call, so the browser page itself is alive and responsive.

What happened?

  • orca tab list --json → ok (2 tabs)
  • orca snapshot --page <id-of-a-NON-active-tab> --json → runtime_unavailable (reproducible every time)
  • orca tab switch --page <id> --json → ok, then immediately orca snapshot --json → ok (works right after a switch)
  • a few commands later, same active tab, orca snapshot --json → runtime_unavailable again, while orca eval --expression "document.title" --json in between → ok
  • orca screenshot --json → ok once right after tab switch; later calls on the same active tab → runtime_unavailable, then browser_error after another tab switch
  • orca wait --page <id> --timeout 10000 --json → runtime_timeout; orca wait --selector ".copy-chat-key" --json → runtime_unavailable (page had the selector, eval confirmed querySelectorAll(...).length === 5)
  • orca status --json between failures → "state": "ready", "reachable": true every time; Orca never actually restarted.

How can we reproduce it?

  1. Windows 11 host running Orca 1.4.194, terminal is a WSL2 Ubuntu shell opened by Orca (orca-ide on PATH).
  2. orca-ide tab create --url <any page with a large DOM, e.g. an AdminLTE admin page> --json
  3. orca-ide tab create --url <second page> --json (second tab becomes active)
  4. orca-ide snapshot --page <first tab's browserPageId> --json → runtime_unavailable
  5. orca-ide tab switch --page <first tab> --json, then orca-ide snapshot --json → ok
  6. Run orca-ide eval --expression "document.title" --json 2–3 times, then orca-ide snapshot --json again → runtime_unavailable (intermittent, but happened in most of ~8 attempts)

Anything else that might help:

  • Pages were normal HTTPS sites (a Bootstrap/AdminLTE admin page and a small chat page), default profile.
  • Running two CLI commands concurrently (e.g. snapshot and tab close from two shells) also produced runtime_unavailable for one of them; the failures above were with strictly sequential commands.
  • The CLI wrapper in WSL is orca-ide → .../Programs/orca/resources/bin/orca.exe.
  • Workaround that worked for us: use eval for DOM inspection/actions instead of snapshot, and only call snapshot/screenshot immediately after tab switch.

Activity

  1. AmethystLiang commented on Sep 3, 2026

    @AmethystLiang
    Contributor

    thanks for reporting. looking into it

  2. jordnei commented on Sep 5, 2026

    @jordnei

    Fresh native-Windows reproduction on Orca 1.4.197 (2026-09-05), without WSL.

    I reproduced the failure twice, in two independent Orca worktrees and two separate built-in-browser tabs on a normal authenticated HTTPS SPA using the default profile. Commands were strictly sequential.

    Reproduction A:

    1. orca status --json reported the desktop runtime as ready, reachable: true, connectionState: connected, with the graph ready.
    2. orca tab switch --worktree <full-id> --page <page-id> --json succeeded in 0.16 s.
    3. Immediately afterward, orca snapshot --worktree <full-id> --page <page-id> --json produced no output for about 30 s, then failed with:
      runtime_unavailable: The Orca runtime closed the connection before responding. Restart Orca and try again.

    Reproduction B used a newly created tab owned by a different worktree:

    1. tab create and explicit tab switch succeeded (the switch took 0.54 s).
    2. The immediate targeted snapshot again produced no output for about 30 s, then failed with the same runtime_unavailable message.

    After both failures:

    • orca status --json still reported the same desktop process alive and the same runtime connected/ready; graph remained ready.
    • orca tab list --worktree all --json still listed all tabs with their expected URLs/titles and no load or certificate errors.
    • Host memory was not under pressure (about 18.3 GB available); Orca diagnostics completed successfully.
    • This means the “switch immediately before snapshot” workaround is not reliable on 1.4.197, and the failure is not limited to WSL or to targeting an inactive tab.

    A source-level clue may explain the exact 30-second disconnect (although it does not explain why the browser helper stalls):

    • src/main/runtime/rpc/unix-socket-transport.ts sets RUNTIME_RPC_SOCKET_IDLE_TIMEOUT_MS = 30_000 and destroys the socket on idle.
    • Keepalives are opt-in and classifyRuntimeLongPoll() does not classify browser.snapshot, browser.screenshot, or browser.wait as long polls.
    • src/main/browser/agent-browser-bridge-types.ts gives the helper process a 90-second execution timeout.
    • The CLI runtime client has a 60-second default request timeout.

    So when a browser read stalls past 30 seconds, the named-pipe server can close the connection before either the 60-second client timeout or 90-second helper timeout can return a useful error. The CLI then accurately maps the clean early close to runtime_unavailable, even though the Orca runtime itself remains healthy.

    I compared the relevant transport, CLI browser handler, queue, raw helper process, and snapshot command files between tag v1.4.197 and current main; there is no relevant change in those files yet.

    Two regression tests may help isolate the durable fix:

    1. Hold a browser.snapshot dispatch open for more than 30 seconds and verify the local named-pipe stays alive (or returns a structured browser timeout instead of runtime_unavailable).
    2. Instrument the agent-browser session around spawn, CDP connection, snapshot start/finish, process exit/timeout, and queue settlement to identify why the helper sometimes exceeds 30 seconds.
  3. jordnei commented on Sep 5, 2026

    @jordnei

    Additional native-Windows evidence isolates the apparent helper "hang" to cold CDP initialization and shows that it recovers after the first failed outer RPC.

    Cold vs. warm differential

    On a tab with a fresh per-tab agent-browser daemon:

    1. browser.eval through Orca's direct Electron debugger path returned document.title / readyState in 0.24 s, confirming that the page renderer and DOM were responsive.
    2. Immediately afterward, browser.get (get title), which uses the agent-browser helper, produced no output for about 30 s and then the CLI returned the same runtime_unavailable error.
    3. The new agent-browser-win32-x64.exe daemon remained alive with an established TCP connection to the Orca main process. Orca still reported the same runtime as ready/connected.
    4. Without switching, recreating, or reloading the tab, a second browser.get returned in 0.37 s.
    5. An immediate full browser.snapshot then returned in 0.38 s.

    This result was repeatable after cold helper startup and explains the intermittent behavior: the first outer RPC is disconnected while initialization is still running, but the initialization completes and leaves a healthy warm session for the next command.

    Specific 30-second initialization clue

    The packaged app and the live daemon sidecar both identify the helper as agent-browser 0.27.0; Orca's tag v1.4.197 and current main also pin agent-browser to 0.27.0.

    In agent-browser 0.27.0, enable_domains() serially awaits:

    • Page.enable
    • Runtime.enable
    • Runtime.runIfWaitingForDebugger
    • Network.enable
    • Target.setAutoAttach

    Its CDP client gives each awaited command a hard 30-second response timeout. Errors from Runtime.runIfWaitingForDebugger and Target.setAutoAttach are intentionally ignored, so either optional command can consume 30 seconds and then allow initialization to finish successfully. That precisely predicts the observed "first call fails at 30 s; second call succeeds immediately" sequence.

    The strongest candidate is Runtime.runIfWaitingForDebugger: upstream agent-browser changed this exact call from awaited to fire-and-forget in commit ce68e2c, first released in v0.32.0. The new API comment says it is intended for commands where Chrome may not emit a response for every target session. Orca's proxy supplies a synthetic page session, making that compatibility change directly relevant. Target.setAutoAttach remains a secondary candidate because Orca currently forwards it generically rather than answering it in the proxy. Per-CDP-method timing is still needed to distinguish them conclusively.

    Relevant upstream source:

    Interaction with #18404

    PR #18404 addresses the misleading outer runtime_unavailable for browser.snapshot, browser.screenshot, and browser.wait by enabling RPC keepalives. This reproduction supports that transport fix, but also shows two remaining points:

    • cold helper initialization itself still pays the 30-second stall unless Orca updates/backports the agent-browser behavior or handles the command in its CDP proxy;
    • browser.get reproduces the same cold-start failure and is not included in fix(runtime): keep WSL browser CLI RPCs alive #18404's keepalive classifier.

    Suggested regression coverage:

    1. Start a fresh per-tab helper against Orca's synthetic CDP proxy and assert the first helper-backed command completes, without requiring a second call to warm the session.
    2. Make Runtime.runIfWaitingForDebugger withhold its response and assert initialization does not wait for the 30-second CDP ceiling; repeat separately for Target.setAutoAttach.
    3. Delay a first browser.get beyond the runtime socket idle budget and assert the CLI receives a result or a structured browser timeout, not runtime_unavailable.
    4. Log elapsed time per cold-init CDP method, helper spawn/connect, and queue settlement so a future stall identifies the exact phase.

    For users on 1.4.197, the observed workaround is to retry once on the same tab without restarting Orca or recreating/switching the tab. The failed first call may have completed the warm-up in the background; restarting resets that state.

  4. hsidea23-png commented on Sep 7, 2026

    @hsidea23-png

    Additional native-Windows reproduction on Orca 1.4.197, tested on 2026-09-07, using a minimal local file rather than an authenticated or large web app.

    Environment and controls

    • Native Windows PowerShell, installed orca.exe; no WSL.
    • Commands were launched from Codex using explicit per-command host-execution approval (require_escalated), not the restricted Windows sandbox execution path. This is not just the earlier sandbox named-pipe access-denied case.
    • For the final reproduction, other browser work was paused by the user. Each command's process was allowed to exit before the next browser command. We did not trace all system-wide callers, so exclusivity is based on that coordinated pause.
    • No restart, profile/cookie deletion, security relaxation or account change was performed.

    Minimal fixture and steps

    Save this as a local HTML file at a path accessible to Orca (example path below is illustrative, not the original user's path):

    <!doctype html>
    <html lang="en">
    <meta charset="utf-8">
    <title>Orca compatibility check</title>
    <h1 id="ready">Orca compatibility ready</h1>
    <p>Static local fixture; no scripts, external resources, forms or authentication.</p>
    </html>

    Execute sequentially, waiting for each process to exit:

    orca status --json
    orca tab list --json
    orca tab create --url "file:///C:/path/to/orca-compat.html" --json
    # Use the browserPageId returned above:
    orca snapshot --page <browserPageId> --json

    Observed:

    1. status returned appVersion: "1.4.197", ready, reachable: true, connectionState: "connected".
    2. tab create succeeded and returned a page ID.
    3. The first targeted snapshot produced no output while pending, then exited with code 1:
    {
      "id": "local",
      "ok": false,
      "error": {
        "code": "runtime_unavailable",
        "message": "The Orca runtime closed the connection before responding. Restart Orca and try again."
      },
      "_meta": { "runtimeId": null }
    }

    In an earlier strictly sequential local-file attempt, a subsequent tab list still showed the fixture with its expected title and URL, loadError: null, and certificateFailure: null. That earlier attempt also had unrelated browser activity; the later attempt under the coordinated pause still failed at its first snapshot. These observations do not establish that the renderer crashed.

    Scope and limitations

    • This adds a small, unauthenticated file:-page reproduction, so large DOMs, website login and external network dependencies are not prerequisites for this observed failure.
    • We did not measure an exact wall-clock duration, so this report does not independently claim an exact 30-second failure time.
    • We planned a >30-second missing-selector wait followed by a same-tab read to evaluate compatibility, but did not run it in the controlled runs because the baseline snapshot failed.
    • An initial attempt that accidentally overlapped commands was excluded from the controlled evidence above.
    • We have not yet tested the same-tab warm retry or direct eval workaround described in the preceding comment; this report does not confirm or contradict that cold-start diagnosis.

    Installed-code corroboration, not a complete root-cause claim

    Reading the installed 1.4.197 package showed the same mismatch already identified here: the local server uses a 30-second socket idle timeout, whereas the CLI defaults to 60 seconds; the long-poll classifier enables keepalives for selected terminal/orchestration/client-host operations but not browser.snapshot or browser.wait. The snapshot path invokes the agent-browser bridge. This is consistent with a premature outer disconnect, but we did not capture per-CDP-method timing or prove which initialization step stalled.

    Please include a minimal local-file fixture in regression coverage alongside the previously reported HTTPS cases, and verify that the first helper-backed read receives either a result or a structured browser error rather than an unexplained transport close. The previous cold-start evidence and #18404 appear directly relevant.

    All local usernames, absolute user paths, page/runtime identifiers and unrelated browsing details have been omitted.

  5. added
    bug
    on Sep 19, 2026
  6. added theissue type on Sep 19, 2026
  7. Chrrxs commented on Sep 20, 2026

    @Chrrxs

    Orca 1.4.205: confirmed helper pipe-lifetime stall, not just slow CDP initialization

    Additional evidence for this existing issue, from a Windows desktop running Orca 1.4.205, invoked through orca-ide in WSL2. The installed helper is agent-browser 0.27.0, and the capturing runtime is Electron 43.7.0 / Node 24.21.0.

    The cold-start stall in this reproduction has a concrete cause: the helper produces a successful snapshot and exits, but its newly spawned Windows daemon retains the inherited output-pipe handles. Node execFile therefore does not finish. This is the known upstream defect vercel-labs/agent-browser#1407. I added the full event traces, a browser-independent Node repro, and a direct pipe-owner intervention here:

    vercel-labs/agent-browser#1407 (comment)

    This refines the earlier CDP-initialization hypothesis for the runs described below; it does not establish that every older report or every screenshot failure has the same cause.

    Minimal Orca reproduction

    On the affected installed Windows build, from WSL2:

    orca-ide tab create --url about:blank --json
    # Substitute the returned page ID:
    orca-ide snapshot --page <page-id> --json
    # After observing the failure, close only the page created for this test:
    orca-ide tab close --page <page-id> --json

    First snapshot attempts on fresh diagnostic pages returned after 30.145–30.340 seconds, with four recorded failures:

    {
      "ok": false,
      "error": {
        "code": "runtime_unavailable",
        "message": "The Orca runtime closed the connection before responding. Restart Orca and try again."
      }
    }

    The error above is the relevant excerpt of the CLI envelope. Runtime status remained ready with the same PID before and after the failure. A same-page eval of 1+1 completed in approximately 0.63 seconds. Injecting simple static DOM into an owned page did not prevent the snapshot failure. A fresh-page screenshot independently hit the same availability error at 30.211 seconds.

    The command already succeeded before the availability error

    Direct instrumentation of the installed native helper, against our diagnostic blank page, separated child exit from output completion. The diagnostic caller used an 8-second timeout in place of production's 90 seconds:

    Case Helper result / process exit Capturing caller completion
    Cold daemon, piped output success JSON at 269 ms; exit 0 at 273 ms 8,020 ms, released by the caller timeout
    Same session, warm daemon success JSON at 186 ms; exit 0 at 194 ms 195 ms
    Cold daemon, actual OS file handles for output success JSON available with exit 0 274 ms

    Three recorded, completed cold/warm/file-output comparisons reproduced this difference. The file-output case is a causal control, not a proposed production implementation.

    For a stronger ownership check, we verified that a newly-created diagnostic daemon's parent PID was the exited diagnostic CLI child's PID, then terminated only that daemon. Successful output arrived at 261 ms; the client exited at 263 ms; the owned daemon was terminated at 277 ms; both output streams reached EOF and execFile completed successfully at 278 ms. Existing user sessions and the Orca runtime were not terminated.

    The callback can report success even after this delay, because the direct child already exited with code 0 before the timeout destroys the readers. Checking only for error.killed will not detect all affected calls.

    Why Orca reports runtime_unavailable

    The critical behavior was checked against the installed 1.4.205 main bundle and compiled CLI, not inferred solely from an older source checkout:

    1. The local runtime socket/named-pipe idle deadline is 30,000 ms.
    2. These browser calls are not keepalive-classified in that installed build, so the idle deadline can close the connection while the helper promise is still pending.
    3. The CLI's default request deadline is 60,000 ms, but it receives the peer close first and maps it to the quoted runtime_unavailable error.
    4. The helper runner's default execFile deadline is 90,000 ms. It can remain pending after the caller has already been disconnected, keeping later operations waiting in the per-page queue.

    Thus the observed 30-second error does not mean the runtime crashed, and merely telling the caller to restart or retry is misleading for this path.

    Recommended fix and acceptance criteria

    1. Fix/update the bundled Windows helper's handle inheritance. Follow upstream Bug: [Windows] CLI hangs when PowerShell captures output after close-then-open sequence vercel-labs/agent-browser#1407 and the proposed fixes fix: detached daemon no longer wedges MCP server and captured output on Windows vercel-labs/agent-browser#1781 / fix: Windows handle inheritance leak vercel-labs/agent-browser#1408. The daemon must not retain the short-lived client's capture handles. I have not tested either PR's patched binary, so this is a fix direction, not patch verification.
    2. Keep the transport safeguard in Orca PR fix(runtime): keep WSL browser CLI RPCs alive #18404, while treating it as complementary rather than a complete fix. Keepalives prevent the 30-second disconnect; they do not make the stuck helper promise settle promptly. Audit the classifier against all helper-backed commands rather than assuming that only the three reported methods can take this path.
    3. Make helper completion/cancellation bounded and diagnosable. Distinguish process exit from output-drain completion, preserve complete output and startup errors, and ensure a disconnected or cancelled request cannot leave the page queue wedged or execute stale actions later. Do not introduce indiscriminate retries for commands that may have already succeeded.
    4. Add a captured-output Windows cold-start regression, alongside the transport test: with a fresh helper session, snapshot on a diagnostic blank page must return its completed result without waiting for the helper deadline; a warm-session check alone is insufficient. Verify that subsequent same-page commands proceed and that cancellation releases queue ownership.

    Scope/limits: no production patch, installed-file modification, or app restart was performed. Diagnostic tabs were closed. A separate warm Page.captureScreenshot timeout at roughly 9–10 seconds is not attributed to this pipe-inheritance mechanism. One additional diagnostic wrapper run reached its own deadline without a preserved trace and is excluded from the three completed comparison runs above.

  8. ottopan commented on Sep 21, 2026

    @ottopan

    Additional native-Windows 1.4.205 report (PowerShell, not WSL)

    This is extra evidence for the same runtime_unavailable at ~30s on helper-backed browser reads. Environment is native Windows PowerShell talking to a local desktop Orca (not orca-ide / WSL).

    Environment

    • OS: Windows (native orca.exe, not WSL)
    • Orca: 1.4.205 (orca status --json: runtime.state=ready, reachable=true, connectionState=connected, desktopWindowStatus=available)
    • Capabilities include browser.clientHost.automation.v1
    • Helper process: agent-browser-win32-x64.exe under ...\Programs\orca\resources\
    • Commands were sequential. status stayed ready with the same PID after failures.

    What works vs what fails (~30.4s then runtime_unavailable)

    Works (when the page channel is not still draining a failed snapshot):

    • orca status --json
    • orca tab list --json / tab create / tab switch / tab close
    • orca eval --expression ... --json
    • orca goto --url ... --json

    Fails at ~30.4s with:

    {
      "ok": false,
      "error": {
        "code": "runtime_unavailable",
        "message": "The Orca runtime closed the connection before responding. Restart Orca and try again."
      },
      "_meta": { "runtimeId": null }
    }
    • orca snapshot --json (active tab)
    • orca snapshot --page <id> --json
    • orca snapshot on https://example.com/, about:blank / data:text/html,, docs pages, and https://the-internet.herokuapp.com/add_remove_elements/
    • orca exec --command "snapshot -i -c -u --depth 5" --json (same timeout)
    • orca click --element e0 --json without a prior successful snapshot (same 30.4s error — click needs snapshot refs, so this path is unusable while snapshot is wedged)
    • orca screenshot --page <id> --json
    • orca console --limit 30 --json

    Empty/simple pages still fail, so a large a11y tree is not required.

    Sidecar restart is only intermittent

    Stopping agent-browser-win32-x64.exe and letting Orca spawn a new helper once produced a successful orca snapshot (refs e1–e5) and orca click --element e3 on the-internet Add Element page.

    Later in the same session, snapshot failed again at 30.4s. Repeating sidecar kill + eval warmup + AGENT_BROWSER_DEFAULT_TIMEOUT=120000 in the CLI process still failed at 30.4s. The env var does not change the ~30s named-pipe idle close.

    Poisoning of later commands

    Immediately after a failed snapshot, orca eval can also sit until the ~30s cutoff. After ~10s, tab list works again. This matches a helper/page queue that stays pending after the CLI has already been disconnected.

    Suggested product fix (aligned with comments above)

    1. Keepalives / do-not-idle-close for browser.snapshot, browser.screenshot, browser.wait, browser.click, browser.console, and other helper-backed RPCs (related: fix(runtime): keep WSL browser CLI RPCs alive #18404). Return a structured browser timeout instead of runtime_unavailable.
    2. Update bundled Windows agent-browser past 0.27.0 for the pipe-inheritance stall (Bug: [Windows] CLI hangs when PowerShell captures output after close-then-open sequence vercel-labs/agent-browser#1407) and cold CDP init (Runtime.runIfWaitingForDebugger fire-and-forget from 0.32.0).
    3. First helper-backed command on a tab must complete or fail with a browser error, not a transport close. Warm retry should not be required.
    4. A disconnected caller must not leave the per-page helper queue wedged.

    Happy to capture more traces if useful. No app restart was required for status/tab list to keep working through these failures.

  9. lumatic2 commented on Sep 28, 2026

    @lumatic2

    Another data point for this issue, from a native Windows host (no WSL), Orca 1.4.215, bundled agent-browser-win32-x64.exe 0.27.0: capture start hits the same 30s close. #18404 as currently written would not fix it, because it only reclassifies browser.snapshot, browser.screenshot and browser.wait.

    Repro (fresh tab, CLI run on the same Windows machine):

    $ orca status --json            -> runtime.state "ready", reachable: true
    $ orca tab create --url https://example.com --json   -> ok
    $ orca capture start --json     -> after 30s:
      {"ok":false,"error":{"code":"runtime_unavailable",
       "message":"The Orca runtime closed the connection before responding. Restart Orca and try again."},
       "_meta":{"runtimeId":null}}
    $ orca exec --command "capture start" --json   -> same, 30s
    $ orca status --json            -> still "ready", reachable: true
    # wait ~60-90s, no restart
    $ orca capture start            -> "Capture started (console + network)" in ~1s
    $ orca capture stop             -> "Capture stopped"
    

    In human-readable mode the failure is printed as:

    The Orca runtime closed the connection before responding. Restart Orca and try again.
    Orca is not running. Run 'orca open' first.
    

    Why I think it has the same root cause: in the 1.4.215 bundle, browserCaptureStart goes requireAgentBrowserBridge().captureStart(...) → enqueueTargetedCommand → execAgentBrowser(e, ["network","har","start"]). So it is a helper-routed call like snapshot/screenshot/wait. On a cold tab it takes longer than the 30s idle window and the socket gets closed. Once the helper has warmed up, the same command returns in about 1s.

    Two things that would help:

    1. Coverage. Please consider classifying the other helper-routed browser methods as long-poll in fix(runtime): keep WSL browser CLI RPCs alive #18404 as well, at least browser.capture.start / browser.capture.stop. The same bridge path is probably also used by network har, trace and intercept, but I have only measured capture.
    2. Message. The CLI appends Orca is not running. Run 'orca open' first. to every runtime_unavailable error. In out/cli/cli-error.js this happens unconditionally, both for RuntimeClientError and for RuntimeRpcFailureError. But closed the connection before responding comes from the socket.once('close') path in out/cli/runtime/transport.js, which means we connected successfully and the peer closed on us. The runtime is demonstrably running (orca status is ready both before and after), so both hints send users and agents the wrong way: "Restart Orca" does not fix it, and "Orca is not running" is false. [Bug]: macOS: runtime-dependent CLI commands fail from Claude Code's Bash sandbox with "Orca is not running" while orca status reports ready #20937 reports the same misleading hint from a different trigger (sandboxed CLI on macOS). A distinct message for "connected, then closed before a response" would cover both. For example: "The runtime closed this request before replying (it is still running). The command may still be in progress; retry in ~60s."

    Minor, possibly related: with no browser tab open, capture start correctly returns browser_no_tab (8s), but capture stop returned the same runtime_unavailable after 30s instead of browser_no_tab.

    (For context: on 1.4.206 the exec --command "capture start" path returned Unknown command: capture instead.)

  10. kyaloway commented on Sep 29, 2026

    @kyaloway

    Another native-Windows data point on Orca 1.4.216 (PowerShell / Git Bash, not WSL), same ~30s runtime_unavailable:

    • orca cookie get --page <id> --json fails every time (4/4 attempts over ~1h, including right after an Orca restart), not just on a cold helper. eval on the same page returns in ~0.3s before and after.
    • orca exec --page <id> --command 'upload #<input> "<path>"' failed once with the same 30s close, then succeeded on retry (~1s).
    • snapshot / wait on a freshly created tab failed on the first call and succeeded on retry, matching the cold-helper pattern described above.
    • eval return size is not a factor: returning a 1.5 MB string takes ~1.2s.

    Workaround on our side: retry helper-backed commands up to 2 times; eval is unaffected.

  11. added a commit that references this issue on Oct 1, 2026
    1b0ee96
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

browserbugos:Windows

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions