Skip to content

Flaky test: browser CDP: the native guard cancels a pending preattach file load and remains restricted after disconnect #768

Closed

Description

@github-actions

CI found this test flaky: it failed, then passed on the one retry in the same job, so the run passed.

First attempt's failure:

Error: the host recorded 1 exception(s) or rejection(s) nothing caught:
uncaughtException: TypeError: this.cdpChanged is not a function
    at BrowserViews.publishCdp (/Users/~/work/hide/hide/desktop/dist/main.js:5033:40)
    at Timeout._onTimeout (/Users/~/work/hide/hide/desktop/dist/main.js:5520:12)
    at listOnTimeout (node:internal/timers:685:17)
    at process.processTimers (node:internal/timers:618:7)

Fix the cause or delete the test by the expiry date; a flaky test is not left running. A longer timeout, more retries or a lower expectation does not end this issue. Each later flaky run adds a comment here.

Activity

  1. added
    bug
    quarantine
    on Oct 8, 2026
  2. github-actions commented on Oct 8, 2026

    @github-actions
    ContributorAuthor

    Flaky again on macOS: https://github.com/modakbul-gongbang/hide/actions/runs/37715503335 (pull request #769, commit 19ddb4c).

    Error: the host recorded 1 exception(s) or rejection(s) nothing caught:
    uncaughtException: TypeError: this.cdpChanged is not a function
        at BrowserViews.publishCdp (/Users/~/work/hide/hide/desktop/dist/main.js:5034:12)
        at Timeout._onTimeout (/Users/~/work/hide/hide/desktop/dist/main.js:5520:12)
        at listOnTimeout (node:internal/timers:685:17)
        at process.processTimers (node:internal/timers:618:7)
    
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

    bugquarantine

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions