Skip to content

Browser service: time Chrome apart from the page, so a busy Mac's hidden tab reads as slow rather than failed #623

Done

Description

@SSFSKIM

On macOS under CPU load, a tab Chrome hides (the one cua opens, or any tab of a covered or minimized window) answers CDP commands at about 120 ms median, with single commands up to about 10 s; see #610's pre-flight. Today's limits fail actions there, mostly in three places that time Chrome inside the page's budget:

  • an action's 3 s pays for readying Chrome;
  • typing key by key gets 5 s for the whole string;
  • any expired limit detaches the debugger, which makes the next action a first use.

The proposal and its numbers are in docs/doperpowers/specs/2026-11-29-chrome158-background-cdp.md, "Limits (ruling 1305)", on branch 610-preflight (2ef36e7). It gives each limit's file:line, today's value and the proposed one, the action-failure rates before and after, and the worst-case waits.

Added by ruling 1306: a command that was already sent when its limit expires answers that it may have taken effect and was not sent again (as playwright.evaluate already says), for every action with an effect (click, press, type, goto). Late presses landed 7 of 8 times in the pre-flight, and "timed out" invites a second click. Parity cells holding the old sentence are updated or declared, citing 1306.

Done when: the limits in that table land, applied to every tab; only the host's own limit detaches; the sent-command sentence lands; a test covers each changed limit and the sentence; the parity cells that hold a number or sentence are found and updated or declared; and one PR states the worst-case waits. After it lands, #608's pin to Chrome 157 is lifted with CI-opt, with parity-browser on 158 as the check.

Relates #610. Approved by coordinator ruling 1306; owner: linux171.

Activity

  1. added
    enhancement
    status:ready-for-implementer
    priority:P2
    on Nov 29, 2026
  2. added 13 commits that reference this issue on Nov 29, 2026
  3. removed
    status:ready-for-implementer
    on Nov 30, 2026
  4. SSFSKIM commented on Nov 30, 2026

    @SSFSKIM
    OwnerAuthor

    [board] done: landed via PR #633 (986f01d, cua 0.31.4)

  5. added 7 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

    enhancementpriority:P2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions