Workers SDK Issue Reports

← Back to Dashboard

#10861 Service binding props not propagated in local dev

Recommendation:KEEP OPEN
Difficulty:medium
Reasoning:

Confirmed feature gap; workaround exists (single dev command); no timeline for fix

Suggested Action:

Track for future implementation

Analysis Report

Issue Review: cloudflare/workers-sdk#10861

Summary

Service binding ctx.props are not propagated to service worker in local dev when running multiple dev commands.

Findings

  • Created: 2025-10-03
  • Updated: 2026-01-23
  • Version: wrangler 4.x
  • Component: wrangler (dev), service bindings
  • Labels: bug
  • Comments: 5

Key Evidence

  • Reproduction repo: https://github.com/pliashkou/worker-poc
  • Works when deployed to Cloudflare, fails in local dev
  • Maintainer @edmundhung confirmed: ctx.props not supported across multiple dev commands
  • Workaround: Use single dev command with multiple -c flags: wrangler dev -c ./worker1/wrangler.jsonc -c ./worker2/wrangler.jsonc
  • Recent activity (Jan 2026) shows users still seeking solutions, especially with Next.js + Workers setups

Recommendation

Status: KEEP OPEN

Reasoning: This is a confirmed feature gap. Maintainer acknowledged no clear timeline for ctx.props support across dev commands. The workaround exists but has limitations (doesn't work well with Next.js).

Action: Track for future implementation. Consider adding documentation about this limitation.

Suggested Comment

N/A - Maintainer already responded with workaround.

Notes & Feedback (0)

No notes yet.

Add Note