-
Notifications
You must be signed in to change notification settings - Fork 1k
[DO NOT MERGE] MQ-667: add queues update sub command #6450
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
[DO NOT MERGE] MQ-667: add queues update sub command #6450
Conversation
🦋 Changeset detectedLatest commit: b56321b 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/10407109554/npm-package-wrangler-6450You can reference the automatically updated head of this PR with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/6450/npm-package-wrangler-6450Or you can use npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10407109554/npm-package-wrangler-6450 dev path/to/script.jsAdditional artifacts:npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10407109554/npm-package-create-cloudflare-6450 --no-auto-updatenpm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10407109554/npm-package-cloudflare-kv-asset-handler-6450npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10407109554/npm-package-miniflare-6450npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10407109554/npm-package-cloudflare-pages-shared-6450npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10407109554/npm-package-cloudflare-vitest-pool-workers-6450npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10407109554/npm-package-cloudflare-workers-editor-shared-6450npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10407109554/npm-package-cloudflare-workers-shared-6450Note that these links will no longer work once the GitHub Actions artifact expires.
Please ensure constraints are pinned, and |
| ): Promise<QueueResponse> { | ||
| const accountId = await requireAuth(config); | ||
| return fetchResult(queuesUrl(accountId, queue_id), { | ||
| method: "PUT", // TODO: PATCH |
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.
TODO?
w-kuhn
left a comment
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.
can update this to use the PATCH endpoint once it is merged & released
Do you mean once the API has this endpoint? Or once this PR here is merged? |
once the API has this endpoint |
Co-authored-by: Pete Bacon Darwin <[email protected]>
@w-kuhn is there a timeline for this? Can this wrangler PR land before that API endpoint is up in prod? |
This PR should land asap. Updating to use the new endpoint should happen as a fast follow. |
But don't block this PR on that. |
We are now waiting to make message expiration for queues available to everyone before we merge these wrangler CLI changes since we don't have something like a gate to only allow certain accounts in the workers-sdk changes. |
@TaraGarg so should I hold off merging these changes? |
Yes please! |
|
Sounds like this is not ready to go, so moving to draft |
|
Rebased and opened up a new PR here: #8120 |
What this PR solves / how to test
Fixes https://jira.cfdata.org/browse/MQ-667
Author has addressed the following