Skip to content

parity-browser gate: CDP timeouts on hosted macOS fail PRs that change no browser code (4 occurrences in 2 days) #606

Done

Description

@SSFSKIM

What happens: ci's parity-browser gate (hosted macOS, scripts/repl-parity/hosted/hosted.sh browser) fails on PRs that change no browser code. Each time, one or more cells' CDP calls time out, and a rerun of the failed job passes. It is now the most frequent reason a cua PR needs a rerun before it can merge.

Occurrences (2026-11-27 to 2026-11-28):

  1. #171 M6b: retire the vendor's Linux package (cua 0.30.0) #594 at 00dc5b4 (ci-gate): CDP timeouts in the racy locator cells; green when rerun alone (46075275586).
  2. macOS engine: type_text answers ok with a note on a non-text target (#587), and a failed read-back read is retried and diagnosed (#590) #601 at 0c39038 (ci-gate): cua host, api/browser-playwrightlocator/count and click timed out; green on rerun (46094334176).
  3. macOS engine and secret wrapper: "nothing was entered" must rest on the engine's positive record that nothing was posted, not on a missing startedAt #602 at d87702f (ci-gate, two attempts): vendor host only, CDP timeouts, first in dom-only-input-refusal, then in 10 cells (playwrightlocator, dialogs, waitforloadstate). The cua host passed 290/290 both times.
  4. #598: launch_app on Linux answers when gio exits, with the launched app's output on /dev/null #605 at c4d0083 (PR ci, run 46100958048): cua host, suite api, api/decorated-tab/paste: cell exercise: ok false ms 3774 error Error timeout true cdp Runtime.evaluate. The vendor host passed 290/290.

Already known: tech-debt-tracker L96 and L229 record the locator cells' load flake. #444 collects occurrences.

Cause: not diagnosed. Both hosts are affected, and the failing cell varies. That points at the hosted runner's load or at the harness's CDP timeout (a 3-4 s cell budget on a loaded VM), not at one cell.

Done when: parity-browser passes on 10 consecutive runs at a commit that changes no browser code, without reruns. The fix may be a longer CDP budget for the cells whose answer doesn't depend on timing, retrying an infrastructure timeout once with the retry recorded, or less load on the runner. A timeout must never pass as a cell result, and a real difference between hosts must still fail.

Activity

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

    @SSFSKIM
    OwnerAuthor

    Occurrence 5, 2026-11-28: PR #601's ci at 6ddf6e9 (run 46103868033), vendor host, suite api, api/browser-playwrightlocator/click. #601 changes no browser code. The failed jobs are being rerun.

  3. SSFSKIM commented on Nov 28, 2026

    @SSFSKIM
    OwnerAuthor

    Occurrence 5 recurred on the rerun (attempt 2 of run 46103868033), in the same cell on the vendor host: api/browser-playwrightlocator/click, cell locator-contract-diagnostics-sampling, ok false ms 1576 error Error timeout true cdp Runtime.evaluate (attempt 1: the same cell). Every other cell of the case passed (fill, press, select, check, click), and the cua host passed 290/290. The timeout fired at about 1.6 s, so this cell's CDP budget looks shorter than the others'. A third attempt is running.

  4. removed
    status:ready-for-implementer
    on Nov 28, 2026
  5. SSFSKIM commented on Nov 28, 2026

    @SSFSKIM
    OwnerAuthor

    [board] done: Landed via PR #608 (pin) and #609 (sampling budget); product follow-up #610

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:P2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions