From f85f214bb02d97174f6913717fc30df3ab6309b3 Mon Sep 17 00:00:00 2001 From: Jacob Persson <7156+typfel@users.noreply.github.com> Date: Fri, 17 Jan 2025 11:28:30 +0100 Subject: [PATCH] fix: chrome webdriver crashing when running on macos-latest runner The chrome webdriver is crashing with: V8 process OOM (Failed to reserve virtual memory for CodeRange) Upgrading the the latest Chrome (currently 134.0.6962.0) resolves the crash. --- .github/workflows/bindings.yml | 2 +- extras/webdriver-installation/src/webdriver.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bindings.yml b/.github/workflows/bindings.yml index d1e69dff49..a91da37675 100644 --- a/.github/workflows/bindings.yml +++ b/.github/workflows/bindings.yml @@ -133,7 +133,7 @@ jobs: - uses: browser-actions/setup-chrome@latest id: setup-chrome with: - chrome-version: stable + chrome-version: latest - run: | echo "CHROME_PATH=${{ steps.setup-chrome.outputs.chrome-path }}" >> $GITHUB_ENV - uses: oven-sh/setup-bun@v2 diff --git a/extras/webdriver-installation/src/webdriver.rs b/extras/webdriver-installation/src/webdriver.rs index e96e3969e6..8aabf6918d 100644 --- a/extras/webdriver-installation/src/webdriver.rs +++ b/extras/webdriver-installation/src/webdriver.rs @@ -222,7 +222,7 @@ impl WebdriverKind { .take() .unwrap() .channels - .remove(&ChromeDriverReleaseDetailsChannel::Stable) + .remove(&ChromeDriverReleaseDetailsChannel::Canary) .unwrap(); let download_url = channel