-
Notifications
You must be signed in to change notification settings - Fork 1k
fix(wrangler) remove putQueue call when deploying a worker with queue producer binding #10288
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
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: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 <[email protected]>
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 <[email protected]> * 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 <[email protected]> Co-authored-by: Peter Bacon Darwin <[email protected]>
… 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 <[email protected]>
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.