Skip to content

Add populateProcessEnv option to getPlatformProxy to populate process.env with text and JSON bindings#12770

Draft
dario-piotrowicz wants to merge 1 commit intomainfrom
dario/getPlatformProxy-process-env
Draft

Add populateProcessEnv option to getPlatformProxy to populate process.env with text and JSON bindings#12770
dario-piotrowicz wants to merge 1 commit intomainfrom
dario/getPlatformProxy-process-env

Conversation

@dario-piotrowicz
Copy link
Member

@dario-piotrowicz dario-piotrowicz commented Mar 5, 2026

This PR augments getPlatformProxy to also populate process.env in the same way workerd does.

Warning

I am not completely sure if this is ok as on by default, or if maybe it should be opt-in 🤔


A picture of a cute animal (not mandatory, but encouraged)

@changeset-bot
Copy link

changeset-bot bot commented Mar 5, 2026

🦋 Changeset detected

Latest commit: f776790

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Mar 5, 2026

✅ All changesets look good

@dario-piotrowicz dario-piotrowicz force-pushed the dario/getPlatformProxy-process-env branch from cb4164e to 685a122 Compare March 5, 2026 10:08
@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 5, 2026

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@12770

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@12770

miniflare

npm i https://pkg.pr.new/miniflare@12770

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@12770

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@12770

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@12770

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@12770

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@12770

wrangler

npm i https://pkg.pr.new/wrangler@12770

commit: 644674c

@dario-piotrowicz dario-piotrowicz force-pushed the dario/getPlatformProxy-process-env branch from f7200f4 to f776790 Compare March 8, 2026 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Untriaged

Development

Successfully merging this pull request may close these issues.

1 participant