Skip to content

Ship the platform workerd binary in the self-host Docker runtime#1394

Merged
RhysSullivan merged 1 commit into
mainfrom
fix/selfhost-workerd-binary
Jul 10, 2026
Merged

Ship the platform workerd binary in the self-host Docker runtime#1394
RhysSullivan merged 1 commit into
mainfrom
fix/selfhost-workerd-binary

Conversation

@RhysSullivan

Copy link
Copy Markdown
Collaborator

Found by running the selfhost-docker e2e suite against the published v1.5.31 image: custom app tools fail to sync or invoke with "workerd is unavailable on this platform". The image ships the workerd npm package, but its bin/workerd is a Node shim that execs the real binary from the per-platform optional dependency, which the runtime packaging never copied. Copy it alongside the shim, derived per build platform the same way as the libsql native addon.

The workerd npm package's bin/workerd is a Node shim that execs the real
binary from the per-platform optional dependency
(@cloudflare/workerd-<os>-<arch>), which package-runtime.ts never copied
into the image. Custom app tools failed to sync or invoke with 'workerd
is unavailable on this platform'. Copy the platform package alongside the
shim, derived per build platform like the libsql native addon.
@github-actions

github-actions Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Cloudflare preview

Torn down — the PR is closed.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing aacbfaf Commit Preview URL

Branch Preview URL
Jul 10 2026, 07:48 AM

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
executor-cloud aacbfaf Jul 10 2026, 07:48 AM

@pkg-pr-new

pkg-pr-new Bot commented Jul 10, 2026

Copy link
Copy Markdown

Open in StackBlitz

@executor-js/cli

npm i https://pkg.pr.new/@executor-js/cli@1394

@executor-js/config

npm i https://pkg.pr.new/@executor-js/config@1394

@executor-js/execution

npm i https://pkg.pr.new/@executor-js/execution@1394

@executor-js/sdk

npm i https://pkg.pr.new/@executor-js/sdk@1394

@executor-js/codemode-core

npm i https://pkg.pr.new/@executor-js/codemode-core@1394

@executor-js/runtime-quickjs

npm i https://pkg.pr.new/@executor-js/runtime-quickjs@1394

@executor-js/plugin-file-secrets

npm i https://pkg.pr.new/@executor-js/plugin-file-secrets@1394

@executor-js/plugin-graphql

npm i https://pkg.pr.new/@executor-js/plugin-graphql@1394

@executor-js/plugin-keychain

npm i https://pkg.pr.new/@executor-js/plugin-keychain@1394

@executor-js/plugin-mcp

npm i https://pkg.pr.new/@executor-js/plugin-mcp@1394

@executor-js/plugin-onepassword

npm i https://pkg.pr.new/@executor-js/plugin-onepassword@1394

@executor-js/plugin-openapi

npm i https://pkg.pr.new/@executor-js/plugin-openapi@1394

executor

npm i https://pkg.pr.new/executor@1394

commit: aacbfaf

@RhysSullivan RhysSullivan marked this pull request as ready for review July 10, 2026 09:32
@RhysSullivan RhysSullivan merged commit 1ca5111 into main Jul 10, 2026
21 checks passed
@RhysSullivan RhysSullivan mentioned this pull request Jul 10, 2026
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