Skip to content

fix: remove remote option from hyperdrive create command#12006

Merged
penalosa merged 2 commits intomainfrom
penalosa/hyperdrive-remote
Jan 22, 2026
Merged

fix: remove remote option from hyperdrive create command#12006
penalosa merged 2 commits intomainfrom
penalosa/hyperdrive-remote

Conversation

@penalosa
Copy link
Copy Markdown
Contributor

@penalosa penalosa commented Jan 20, 2026

Fixes #11674.

Removes the --use-remote CLI flag from wrangler hyperdrive create and explicitly passes useRemote: false to prevent the interactive "remote resource" prompt from appearing.

Hyperdrive does not support remote bindings during local development - it requires a localConnectionString to connect to a local database. The prompt was confusing users into thinking they could use remote Hyperdrive during local dev.


  • Tests
    • Tests included/updated
    • Automated tests not possible - manual testing has been completed as follows:
    • Additional testing not necessary because:
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: This removes a non-functional option, no docs changes needed

Open with Devin

@penalosa penalosa requested a review from a team as a code owner January 20, 2026 16:18
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jan 20, 2026

🦋 Changeset detected

Latest commit: 6e7c910

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-project-automation github-project-automation Bot moved this to Untriaged in workers-sdk Jan 20, 2026
@penalosa penalosa force-pushed the penalosa/hyperdrive-remote branch 2 times, most recently from b6d2185 to 7a13762 Compare January 20, 2026 16:22
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Jan 20, 2026

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@12006

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@12006

miniflare

npm i https://pkg.pr.new/miniflare@12006

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@12006

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@12006

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@12006

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@12006

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@12006

@cloudflare/workers-utils

npm i https://pkg.pr.new/@cloudflare/workers-utils@12006

wrangler

npm i https://pkg.pr.new/wrangler@12006

commit: 6e7c910

Hyperdrive does not support remote bindings during local development.
This removes the confusing --use-remote flag and 'remote resource' prompt.

Fixes #11674
@penalosa penalosa force-pushed the penalosa/hyperdrive-remote branch from 7a13762 to e899ae3 Compare January 20, 2026 18:23
Comment thread AGENTS.md
Comment on lines 103 to +134
@@ -125,3 +127,8 @@ Run `pnpm check` before submitting changes to ensure all quality gates pass.
## Changesets

Every change to package code requires a changeset or it will not trigger a release. Read `.changeset/README.md` before creating changesets.

**Changeset Format:**

- Do not use conventional commit prefixes (e.g., `fix:`, `feat:`) in changeset descriptions
- Start with a capital letter and describe the change directly (e.g., "Remove unused option" not "fix: remove unused option")
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.

Is the changes here intentional?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yeah, these are mistakes opencode made when writing the PR, so I thought I'd add some more detail

@github-project-automation github-project-automation Bot moved this from Untriaged to Approved in workers-sdk Jan 22, 2026
Comment thread packages/wrangler/src/hyperdrive/create.ts
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 3 additional flags.

Open in Devin Review

@penalosa penalosa merged commit ad4666c into main Jan 22, 2026
39 of 40 checks passed
@penalosa penalosa deleted the penalosa/hyperdrive-remote branch January 22, 2026 17:57
@github-project-automation github-project-automation Bot moved this from Approved to Done in workers-sdk Jan 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Wrangler proposes configuring Hyperdrive binding with remote but it's not supported by Hyperdrive

4 participants