From 1ecfc9726605b19c942ed2390e2886e2292da104 Mon Sep 17 00:00:00 2001 From: PJ Date: Tue, 2 Jun 2026 02:21:12 +0530 Subject: [PATCH] ci(browser): pin stable Chrome for the driver tests setup-chrome's default latest pulled a dev Chromium (150) whose remote debugging socket never came up under chromedp, while plain --dump-dom worked. Pin the stable channel, which the driver is tested against. --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bacaced..0a6dfc5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -95,8 +95,13 @@ jobs: go-version-file: go.mod cache: true + # Pin stable: the action's default (latest) pulls a dev Chromium whose + # remote-debugging socket is flaky under the driver, even though the + # browser otherwise launches headless. - name: Set up Chrome uses: browser-actions/setup-chrome@v1 + with: + chrome-version: stable # Ubuntu 24.04 (current ubuntu-latest) restricts unprivileged user # namespaces via AppArmor, which stops headless Chrome from starting even