Skip to content

Install correct geckodriver binary on arm64 Linux - #19

Merged
soulgalore merged 1 commit into
mainfrom
arm64-linux-support
May 24, 2026
Merged

soulgalore merged 1 commit into
mainfrom
arm64-linux-support

Conversation

@soulgalore

Copy link
Copy Markdown
Member

On arm64 Linux, install.js silently fell through to the x86 fallback and
downloaded the 32-bit Linux build. That binary then failed at runtime
with "Exec format error", which surfaced downstream as selenium
reporting "Server terminated early with status 2" — the kind of error
that's hard to trace back here. arm64 Linux runners are increasingly
common (CI on GitHub-hosted arm64, sitespeed.io's multi-arch container),
so it's worth handling explicitly the same way the darwin branch
already does.

The Linux CI workflow also only ran npm ci and never executed the
downloaded driver, which is why this slipped through. Adding npm test
plus an arm64 runner to the matrix verifies the installed binary
actually runs.

Co-authored-by: Claude noreply@anthropic.com

  On arm64 Linux, install.js silently fell through to the x86 fallback and
  downloaded the 32-bit Linux build. That binary then failed at runtime
  with "Exec format error", which surfaced downstream as selenium
  reporting "Server terminated early with status 2" — the kind of error
  that's hard to trace back here. arm64 Linux runners are increasingly
  common (CI on GitHub-hosted arm64, sitespeed.io's multi-arch container),
  so it's worth handling explicitly the same way the darwin branch
  already does.

  The Linux CI workflow also only ran npm ci and never executed the
  downloaded driver, which is why this slipped through. Adding npm test
  plus an arm64 runner to the matrix verifies the installed binary
  actually runs.

  Co-authored-by: Claude noreply@anthropic.com
@soulgalore
soulgalore merged commit 43e3bbc into main May 24, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant