Skip to content

add remote option to initial bindings#9183

Merged
dario-piotrowicz merged 6 commits intomainfrom
dario/DEVX-1852/remote-true
May 12, 2025
Merged

add remote option to initial bindings#9183
dario-piotrowicz merged 6 commits intomainfrom
dario/DEVX-1852/remote-true

Conversation

@dario-piotrowicz
Copy link
Copy Markdown
Member

Fixes (partially) https://jira.cfdata.org/browse/DEVX-1852

This PR adds the remote config option to some of the binding configs

(this PR does not include all bindings, I think it makes sense to add the others as we finalize the API/implement support for them?)


  • Tests
    • TODO (before merge)
    • Tests included
    • Tests not necessary because:
  • Wrangler / Vite E2E Tests CI Job required? (Use "e2e" label or ask maintainer to run separately)
    • I don't know
    • Required
    • Not required because:
  • Public documentation
    • TODO (before merge)
    • Cloudflare docs PR(s):
    • Documentation not necessary because: undocumented experimental feature
  • Wrangler V3 Backport
    • TODO (before merge)
    • Wrangler PR:
    • Not necessary because: new experimental feature

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 8, 2025

🦋 Changeset detected

Latest commit: 3a392d3

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

This PR includes changesets to release 2 packages
Name Type
wrangler Patch
@cloudflare/vitest-pool-workers Patch

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
Copy Markdown
Contributor

github-actions Bot commented May 8, 2025

A Wrangler prerelease is available for testing. You can install this latest build in your project with:

npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/14970414324/npm-package-wrangler-9183
Prereleases for other packages:

cloudflare-workers-bindings-extension:

wget https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/14970414324/npm-package-cloudflare-workers-bindings-extension-9183 -O ./cloudflare-workers-bindings-extension.0.0.0-ve2cb9e791.vsix && code --install-extension ./cloudflare-workers-bindings-extension.0.0.0-ve2cb9e791.vsix

create-cloudflare:

npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/14970414324/npm-package-create-cloudflare-9183 --no-auto-update

@cloudflare/kv-asset-handler:

npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/14970414324/npm-package-cloudflare-kv-asset-handler-9183

miniflare:

npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/14970414324/npm-package-miniflare-9183

@cloudflare/pages-shared:

npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/14970414324/npm-package-cloudflare-pages-shared-9183

@cloudflare/unenv-preset:

npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/14970414324/npm-package-cloudflare-unenv-preset-9183

@cloudflare/vite-plugin:

npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/14970414324/npm-package-cloudflare-vite-plugin-9183

@cloudflare/vitest-pool-workers:

npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/14970414324/npm-package-cloudflare-vitest-pool-workers-9183

@cloudflare/workers-editor-shared:

npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/14970414324/npm-package-cloudflare-workers-editor-shared-9183

@cloudflare/workers-shared:

npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/14970414324/npm-package-cloudflare-workers-shared-9183

@cloudflare/workflows-shared:

npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/14970414324/npm-package-cloudflare-workflows-shared-9183

Note that these links will no longer work once the GitHub Actions artifact expires.

@dario-piotrowicz dario-piotrowicz marked this pull request as ready for review May 8, 2025 23:25
@dario-piotrowicz dario-piotrowicz requested a review from a team as a code owner May 8, 2025 23:25
@dario-piotrowicz dario-piotrowicz added the e2e Run wrangler + vite-plugin e2e tests on a PR label May 9, 2025
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 9, 2025

Failed to automatically backport this PR's changes to Wrangler v3. Please manually create a PR targeting the v3-maintenance branch with your changes. Thank you for helping us keep Wrangler v3 supported!

Depending on your changes, running git rebase --onto v3-maintenance main dario/DEVX-1852/remote-true might be a good starting point.

Comment thread .changeset/orange-ads-judge.md
Comment thread packages/wrangler/src/dev/miniflare.ts Outdated
@github-project-automation github-project-automation Bot moved this from Untriaged to Approved in workers-sdk May 9, 2025
@dario-piotrowicz dario-piotrowicz force-pushed the dario/DEVX-1852/remote-true branch from 49c11aa to 71d3eec Compare May 9, 2025 19:38
@dario-piotrowicz dario-piotrowicz requested a review from penalosa May 9, 2025 22:23
@dario-piotrowicz dario-piotrowicz added this pull request to the merge queue May 12, 2025
Merged via the queue into main with commit f6f1a18 May 12, 2025
18 checks passed
@dario-piotrowicz dario-piotrowicz deleted the dario/DEVX-1852/remote-true branch May 12, 2025 15:15
@github-project-automation github-project-automation Bot moved this from Approved to Done in workers-sdk May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

e2e Run wrangler + vite-plugin e2e tests on a PR

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants