Skip to content

fix(framework): send to queues in TanStack Start, React Router and vinext dev - #947

Merged
cpojer merged 1 commit into
mainfrom
fix/class-a-local-queue-producers
Nov 28, 2026
Merged

cpojer merged 1 commit into
mainfrom
fix/class-a-local-queue-producers

Conversation

@hyfdev

@hyfdev hyfdev commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

In TanStack Start, React Router and vinext apps, queues.<name>.send() from void/queues fails in dev and vite preview:

Missing Cloudflare binding 'QUEUE_INBOX'

Void doesn't infer queue producers for framework apps, so the Worker config these apps run with locally has none until void deploy adds them.

Dev and preview now add a producer for each file in queues/ whose binding name is free, with the same binding names a Void app gets.

A name that is already bound, set as a variable or declared in env.ts keeps its value, and auxiliary Workers don't inherit them.

Producers aren't added while the framework prerenders during the build.

Builds, void.lock.json and the queue names void deploy chooses are unchanged.

In dev and preview, sent messages don't reach the app's queue handlers.

The guides show how to run a handler by hand.

Fixes #952

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://fix-class-a-local-queue-producers-void-cloud.voidzero-docs.workers.dev (commit bf24fd8)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://e2699864-void-cloud.voidzero-docs.workers.dev bf24fd8 2026-11-28T07:47:24.648Z Visit the dashboard ↗

@hyfdev
hyfdev marked this pull request as ready for review November 28, 2026 07:50
Copilot AI balanced review requested due to automatic review settings November 28, 2026 07:50

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@cpojer cpojer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice fix!

@cpojer
cpojer merged commit 412bc05 into main Nov 28, 2026
22 checks passed
@cpojer
cpojer deleted the fix/class-a-local-queue-producers branch November 28, 2026 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

queues.<name>.send() fails in dev and preview for TanStack Start, React Router and vinext

3 participants