Workers SDK Issue Reports

← Back to Dashboard

#11114 Service binding RPC methods do not work with Response, ReadableStream when `remote: true`

Recommendation:KEEP OPEN
Difficulty:n/a
Reasoning:

Upstream capnweb limitation (issue #93 open). Maintainer explicitly requested keeping open for visibility. Additional users confirming issue.

Suggested Action:

No action - blocked by upstream capnweb dependency

Analysis Report

Issue Review: cloudflare/workers-sdk#11114

Summary

Service binding RPC methods with remote: true cannot serialize Response and ReadableStream types - blocked by upstream capnweb limitation.

Findings

  • Created: 2025-10-28
  • Updated: 2025-12-16
  • Version: Node 24.1.0, macOS 15.5
  • Component: wrangler (service bindings, RPC)
  • Labels: bug
  • Comments: 2

Key Evidence

  • Maintainer Response: @dario-piotrowicz confirmed this is caused by capnweb not supporting ReadableStream and Response types
  • Upstream Issue: cloudflare/capnweb#93 was opened to track this - still OPEN as of 2025-11-28
  • Maintainer Intent: Explicitly stated "Keeping this issue open for now for public visibility"
  • Additional Impact: Another user (@AlecDusheck) reported the same issue with Map types on 2025-12-16
  • Workarounds Exist: The capnweb issue has discussion of workarounds using async iterators

Recommendation

Status: KEEP OPEN

Reasoning: This is a legitimate bug blocked by an upstream dependency (capnweb). The maintainer explicitly requested keeping this open for visibility. The upstream issue remains unresolved, and additional users are confirming the problem persists.

Action: No action needed - the issue is properly tracked and linked to the upstream capnweb issue. The maintainer is aware and has indicated it should remain open until capnweb adds support.

Suggested Comment

N/A - Issue should remain open per maintainer's decision.

Notes & Feedback (0)

No notes yet.

Add Note