Workers SDK Issue Reports

← Back to Dashboard

#11106 D1 remote beaks if queue remote is set

Recommendation:KEEP OPEN
Difficulty:n/a
Reasoning:

Maintainer-confirmed bug: D1 remote bindings break silently when queue producer has `remote: true` set. No fix merged. Maintainer outlined fix path.

Suggested Action:

Implement fix: remove remote option from queue producer config and add validation error.

Analysis Report

Issue Review: cloudflare/workers-sdk#11106

Summary

D1 remote bindings fail with confusing HTML error when queue producer has remote: true set in config.

Findings

  • Created: 2025-10-27
  • Updated: 2025-12-19
  • Version: 4.45.0 → 4.60.0 (current)
  • Component: wrangler (remote bindings)
  • Labels: bug, error-messaging, remote-bindings
  • Comments: 4

Key Evidence

  • Maintainer reproduced the bug (2025-11-24): @petebacondarwin confirmed he can reproduce the issue and posted a screenshot showing the confusing error
  • Maintainer acknowledged the fix needed: "At the very least we should remove that option from the Environment interface, and also add in an error if you try to use such a remote binding"
  • No PR merged that references this issue
  • Not in changelog: Issue #11106 not found in wrangler CHANGELOG.md
  • Root cause identified: Queue producer bindings do not support remote bindings, but the config schema allows it and no validation error is shown

Recommendation

Status: KEEP OPEN

Reasoning: This is a confirmed, reproducible bug that a maintainer (petebacondarwin) has verified. The issue causes confusing behavior where D1 remote bindings break silently when queue remote is set, with no proper error message. No fix has been merged, and the maintainer outlined a clear path forward: remove the remote option from queue producer config and add proper validation.

Action: Keep open - awaiting implementation of the fix outlined by the maintainer.

Notes & Feedback (0)

No notes yet.

Add Note