Skip to content

[wrangler] Add list commands for queue consumers#13254

Merged
petebacondarwin merged 3 commits intocloudflare:mainfrom
tgarg-cf:tgarg/add-consumer-list-wranger-sub-commands
Apr 24, 2026
Merged

[wrangler] Add list commands for queue consumers#13254
petebacondarwin merged 3 commits intocloudflare:mainfrom
tgarg-cf:tgarg/add-consumer-list-wranger-sub-commands

Conversation

@tgarg-cf
Copy link
Copy Markdown
Contributor

@tgarg-cf tgarg-cf commented Apr 2, 2026

Fixes https://jira.cfdata.org/browse/MQ-1243, https://jira.cfdata.org/browse/MQ-1244 , https://jira.cfdata.org/browse/MQ-1245

Describe your change...


A picture of a cute animal (not mandatory, but encouraged)


Open with Devin

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 2, 2026

🦋 Changeset detected

Latest commit: f202462

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

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-project-automation github-project-automation Bot moved this to Untriaged in workers-sdk Apr 2, 2026
@workers-devprod workers-devprod requested review from a team and emily-shen and removed request for a team April 2, 2026 18:03
@workers-devprod
Copy link
Copy Markdown
Contributor

Codeowners approval required for this PR:

  • @cloudflare/wrangler
Show detailed file reviewers
  • packages/wrangler/src/tests/queues/queues.test.ts: [@cloudflare/wrangler]
  • packages/wrangler/src/index.ts: [@cloudflare/wrangler]
  • packages/wrangler/src/queues/cli/commands/consumer/http-pull/list.ts: [@cloudflare/wrangler]
  • packages/wrangler/src/queues/cli/commands/consumer/list.ts: [@cloudflare/wrangler]
  • packages/wrangler/src/queues/cli/commands/consumer/worker/list.ts: [@cloudflare/wrangler]
  • packages/wrangler/src/queues/client.ts: [@cloudflare/wrangler]

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 3 additional findings.

Open in Devin Review

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Apr 2, 2026

create-cloudflare

npm i https://pkg.pr.new/cloudflare/workers-sdk/create-cloudflare@13254

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/cloudflare/workers-sdk/@cloudflare/kv-asset-handler@13254

miniflare

npm i https://pkg.pr.new/cloudflare/workers-sdk/miniflare@13254

@cloudflare/pages-shared

npm i https://pkg.pr.new/cloudflare/workers-sdk/@cloudflare/pages-shared@13254

@cloudflare/unenv-preset

npm i https://pkg.pr.new/cloudflare/workers-sdk/@cloudflare/unenv-preset@13254

@cloudflare/vite-plugin

npm i https://pkg.pr.new/cloudflare/workers-sdk/@cloudflare/vite-plugin@13254

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/cloudflare/workers-sdk/@cloudflare/vitest-pool-workers@13254

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/cloudflare/workers-sdk/@cloudflare/workers-editor-shared@13254

@cloudflare/workers-utils

npm i https://pkg.pr.new/cloudflare/workers-sdk/@cloudflare/workers-utils@13254

wrangler

npm i https://pkg.pr.new/cloudflare/workers-sdk/wrangler@13254

commit: f202462

@sdnts
Copy link
Copy Markdown
Contributor

sdnts commented Apr 6, 2026

LGTM

Copy link
Copy Markdown
Contributor

@emily-shen emily-shen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a json flag?

Copy link
Copy Markdown
Contributor

@petebacondarwin petebacondarwin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@emily-shen requested a change, so marking as request changes to trigger @tgarg-cf to take another look.

@github-project-automation github-project-automation Bot moved this from Untriaged to In Review in workers-sdk Apr 19, 2026
@workers-devprod
Copy link
Copy Markdown
Contributor

Codeowners approval required for this PR:

  • @cloudflare/wrangler
Show detailed file reviewers
  • packages/wrangler/src/tests/queues/queues.test.ts: [@cloudflare/wrangler]
  • packages/wrangler/src/index.ts: [@cloudflare/wrangler]
  • packages/wrangler/src/queues/cli/commands/consumer/http-pull/list.ts: [@cloudflare/wrangler]
  • packages/wrangler/src/queues/cli/commands/consumer/list.ts: [@cloudflare/wrangler]
  • packages/wrangler/src/queues/cli/commands/consumer/worker/list.ts: [@cloudflare/wrangler]
  • packages/wrangler/src/queues/client.ts: [@cloudflare/wrangler]

@tgarg-cf tgarg-cf force-pushed the tgarg/add-consumer-list-wranger-sub-commands branch from 9351770 to 0004570 Compare April 23, 2026 20:04
devin-ai-integration[bot]

This comment was marked as resolved.

@petebacondarwin petebacondarwin force-pushed the tgarg/add-consumer-list-wranger-sub-commands branch from eef0d2e to 1d872eb Compare April 24, 2026 08:52
tgarg-cf and others added 3 commits April 24, 2026 11:26
Per packages/wrangler/AGENTS.md, tests must not rely on the global expect provided by Vitest's `globals: true` config and instead destructure `expect` from the test context. The newly added `consumer list`, `consumer worker list`, and `consumer http list` describe blocks used the global form; switch all 20 new `it(...)` callbacks over to `async ({ expect }) => { ... }` to match the convention used by the rest of the file.
@petebacondarwin petebacondarwin force-pushed the tgarg/add-consumer-list-wranger-sub-commands branch from 1d872eb to f202462 Compare April 24, 2026 10:26
@workers-devprod
Copy link
Copy Markdown
Contributor

workers-devprod commented Apr 24, 2026

Codeowners approval required for this PR:

  • ✅ @cloudflare/wrangler
Show detailed file reviewers

Copy link
Copy Markdown
Contributor

@workers-devprod workers-devprod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codeowners reviews satisfied

@github-project-automation github-project-automation Bot moved this from In Review to Approved in workers-sdk Apr 24, 2026
@petebacondarwin petebacondarwin merged commit e867ac2 into cloudflare:main Apr 24, 2026
67 of 70 checks passed
@github-project-automation github-project-automation Bot moved this from Approved to Done in workers-sdk Apr 24, 2026
vaishnav-mk pushed a commit to vaishnav-mk/workers-sdk that referenced this pull request Apr 27, 2026
Co-authored-by: Pete Bacon Darwin <pbacondarwin@cloudflare.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants