fix(wrangler) remove putQueue call when deploying a worker with queue producer binding#10288
Conversation
🦋 Changeset detectedLatest commit: 08b57fc The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 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 |
create-cloudflare
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-editor-shared
wrangler
commit: |
petebacondarwin
left a comment
There was a problem hiding this comment.
Love it!
Made a suggestion about the changeset wording - but up to you whether you want to adopt it or a variant.
Thank you for iterating on this.
19749c5 to
48e1a15
Compare
72e60cc to
a51eef1
Compare
Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com>
a51eef1 to
08b57fc
Compare
|
Congratulations @tgarg-cf, the maintainer of this repository has issued you a holobyte! Here it is: https://holopin.io/holobyte/cme7jii3v094807ie0h29ghyw This badge can only be claimed by you, so make sure that your GitHub account is linked to your Holopin account. You can manage those preferences here: https://holopin.io/account. |
… producer binding (#10288) * MQ-861: Remove putQueue call when setting queue producer binding * remove calls to mockPutQueueById in tests * Update .changeset/chatty-pens-sniff.md Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com> * try to ensure that the required deploy workers job is not skipped * test: add a waitFor around log check for email bindings --------- Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com> Co-authored-by: Peter Bacon Darwin <pbacondarwin@cloudflare.com>
… producer binding (#10288) (#10330) * MQ-861: Remove putQueue call when setting queue producer binding * remove calls to mockPutQueueById in tests * Update .changeset/chatty-pens-sniff.md * try to ensure that the required deploy workers job is not skipped * test: add a waitFor around log check for email bindings --------- Co-authored-by: tgarg-cf <tgarg@cloudflare.com>
Fixes #MQ-861
Removed a call to putQueue when deploying a worker with a queue producer binding.
This is needed because a worker should not be able to affect queue level settings. Additionally, when having multiple producers, the settings will be determined by the last deployed producer which also leads to issues.