-
Notifications
You must be signed in to change notification settings - Fork 563
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: dispatch-namespace
option in wrangler deploy
#5093
Conversation
🦋 Changeset detectedLatest commit: 97210b9 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
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 |
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/8283476292/npm-package-wrangler-5093 You can reference the automatically updated head of this PR with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/5093/npm-package-wrangler-5093 Or you can use npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8283476292/npm-package-wrangler-5093 dev path/to/script.js Additional artifacts:npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8283476292/npm-package-create-cloudflare-5093 --no-auto-update npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8283476292/npm-package-cloudflare-kv-asset-handler-5093 npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8283476292/npm-package-miniflare-5093 npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8283476292/npm-package-cloudflare-pages-shared-5093 npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8283476292/npm-package-cloudflare-vitest-pool-workers-5093 Note that these links will no longer work once the GitHub Actions artifact expires.
Please ensure constraints are pinned, and |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5093 +/- ##
==========================================
+ Coverage 70.33% 71.50% +1.16%
==========================================
Files 298 309 +11
Lines 15515 16097 +582
Branches 3987 4111 +124
==========================================
+ Hits 10913 11510 +597
+ Misses 4602 4587 -15
|
94b2d18
to
70bb1f8
Compare
Thanks for the PR @benycodes Appreciate it! |
70bb1f8
to
ff650ea
Compare
3b95f3e
to
cfaa472
Compare
cfaa472
to
97210b9
Compare
thank you so much to both of you for taking this PR across the finish line <3 |
What this PR solves / how to test:
Ability to deploy workers to dispatch namespaces (Workers for Platforms product).
Usage:
wrangler deploy --dispatch-namespace <namespace>
This is an improvement to PR #2746 because:
dispatch-namespace
option used (these features aren't supported in Workers for Platforms)dispatch-namespace
option used, because Workers for Platforms doesn't check script namesAuthor has addressed the following