Skip to content

Browser service on Chrome 158: CDP commands to inactive tabs can stall for seconds (found by #606; the gate is pinned to 157 until this is answered) #610

Backlog
3 of 5 issues completed

Description

@SSFSKIM

What was found (#606, CI-opt, 2026-11-28): with Chrome for Testing 158.0.8127.36, the build on GitHub's macOS image 20261123, single CDP commands sent to the parity harness's inactive scratch tab stall for 3 to 6 s while the neighbouring commands run at normal speed. On image 20261117 (Chrome 157.0.8103.78) 8 of 8 parity-browser jobs passed; on 20261123 5 of 8 failed, each on one stalled cell. Chrome 158 started with the anti-throttling flags passed 2 of 2 (a diagnosis run only). Logs: CI-opt's analysis under ~/.local/share/ci-analysis/cua-606/ on the MacBook. The gate is now pinned to Chrome 157 (PR #608), which makes it stable and hides the change.

The product question: a person's own Chrome moves to 158 as well. If cua's browser service opens or works in tabs the person isn't looking at (scratch tabs, background tabs an agent drives), Chrome 158 may throttle or stall CDP commands there too, so agents get timeouts that look like page or locator failures.

To find out:

  1. On Chrome 158, measure whether CDP commands to an inactive or background tab that cua's browser service drives stall in the product path, as against the harness. Use run-owned profiles and a run-owned Chrome; never the person's profile.
  2. If they do, decide how cua avoids it without changing the person's browser for good: for example, open or keep its working tabs so that Chrome doesn't throttle them, or use a per-target CDP setting. Launch flags are not an option for the person's own Chrome, which cua attaches to rather than launches.

Done when: (1) is answered with measurements on 158 or later. If cua is affected, the fix lands with a test that runs on 158. Then the hosted harness's pin (scripts/repl-parity/hosted/chrome-for-testing.json) is removed or moved to the current stable build, and parity-browser stays green there.

Sub-issues

Sub-issues

3 of 5 Issues completed
Loading 5 sub-issues

Activity

  1. added
    bug
    status:ready-for-implementer
    priority:P2
    on Nov 28, 2026
  2. SSFSKIM commented on Nov 29, 2026

    @SSFSKIM
    OwnerAuthor

    [coordinator] Assigned to linux171 (ruling 1296): measure the product path on Chrome for Testing 158 on the Linux VM with a run-owned profile; if not reproduced there, macOS repro on a hosted runner; fix shape to the coordinator before building; un-pin #608 coordinated with CI-opt.

  3. added a commit that references this issue on Nov 29, 2026
  4. added 7 commits that reference this issue on Nov 29, 2026
  5. added a commit that references this issue on Nov 29, 2026
  6. 15 remaining items

  7. added 15 commits that reference this issue on Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpriority:P2status:ready-for-implementer

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions