Skip to content

Use the correct WebPageReplay binary on ARM64 - #4933

Merged
soulgalore merged 1 commit into
mainfrom
fix-targetplatform
Nov 1, 2026
Merged

soulgalore merged 1 commit into
mainfrom
fix-targetplatform

Conversation

@soulgalore

Copy link
Copy Markdown
Member

A default value for TARGETPLATFORM replaces the value that BuildKit sets, so ARM64 images got the AMD64 wpr binary. QEMU hid this when we built with emulation. On native ARM64 runners the build fails at wpr installroot with "Exec format error", and the ARM64 images we published have a wpr that cannot run without emulation.

The tests passed the platform as a build argument, which hid the problem. Now they build the same way as the releases.

Assisted-by: Claude Opus 5.5 noreply@anthropic.com

A default value for TARGETPLATFORM replaces the value that BuildKit sets, so ARM64 images got the AMD64 wpr binary. QEMU hid this when we built with emulation. On native ARM64 runners the build fails at wpr installroot with "Exec format error", and the ARM64 images we published have a wpr that cannot run without emulation.

The tests passed the platform as a build argument, which hid the problem. Now they build the same way as the releases.

Assisted-by: Claude Opus 5.5 noreply@anthropic.com
@soulgalore
soulgalore merged commit a726f2e into main Nov 1, 2026
14 checks passed
@soulgalore
soulgalore deleted the fix-targetplatform branch November 1, 2026 13:54
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