Workers SDK Issue Reports

← Back to Dashboard

#9485 Hyperdrive does not work localhost when running 2 workers in the same process

Recommendation:KEEP OPEN
Difficulty:n/a
Reasoning:

Confirmed known limitation by maintainer (sejoker). Hyperdrive doesn't work on localhost with remote database due to integration architecture. No ETA for fix.

Suggested Action:

Keep open as tracking issue - maintainer already responded

Analysis Report

Issue Review: cloudflare/workers-sdk#9485

Summary

Hyperdrive env vars not passed to secondary workers when running multiple workers in the same wrangler dev process.

Findings

  • Created: 2025-06-05
  • Updated: 2025-08-05
  • Version: wrangler v4.16 → v4.60.0 (current)
  • Component: wrangler/hyperdrive
  • Labels: bug
  • Comments: 1

Key Evidence

  • Maintainer Confirmed Known Limitation: Cloudflare member @sejoker responded (2025-08-05) confirming Hyperdrive doesn't work on localhost while connected to remote database due to how the integration between Hyperdrive and Workers Runtime was implemented.
  • No ETA for Fix: The maintainer explicitly stated there is no ETA when this could be resolved.
  • Not Fixed in Changelog: Issue #9485 is not mentioned in the wrangler or miniflare changelogs.
  • Related PRs Don't Address This: Recent Hyperdrive improvements (#11219 for TLS proxy, #11443 for Windows latency) address different issues, not multi-worker support.

Recommendation

Status: KEEP OPEN

Reasoning: This is a confirmed known limitation acknowledged by a Cloudflare team member. The issue represents a valid feature gap where Hyperdrive bindings don't work properly with secondary workers in local development mode. No fix has been merged and no ETA has been provided.

Action: Keep open as a known limitation tracking issue. No further action needed - the maintainer has already provided context to the reporter.

Notes & Feedback (0)

No notes yet.

Add Note