Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 Feature Request: It isn't clear that R2 buckets bound in wrangler dev are local #6811

Open
rozenmd opened this issue Sep 24, 2024 · 1 comment · May be fixed by #6972
Open

🚀 Feature Request: It isn't clear that R2 buckets bound in wrangler dev are local #6811

rozenmd opened this issue Sep 24, 2024 · 1 comment · May be fixed by #6972
Labels
enhancement New feature or request error-messaging Improving user facing error messages

Comments

@rozenmd
Copy link
Contributor

rozenmd commented Sep 24, 2024

Describe the solution

I'm sure R2 isn't the only product with this issue, but:

Here's the output of wrangler dev with a bucket bound:

> wrangler dev ./src/index.ts


 ⛅️ wrangler 3.78.4 (update available 3.78.8)
-------------------------------------------------------

Your worker has access to the following bindings:
- R2 Buckets:
  - BUCKET: asdfasdf
⎔ Starting local server...
[wrangler:inf] Ready on http://localhost:8787

When you have a bucket on R2 named asdfasdf, it's really confusing why your Worker is 404ing fetches from that bucket in wrangler dev.

@rozenmd rozenmd added the enhancement New feature or request label Sep 24, 2024
@isaac-mcfadyen
Copy link
Contributor

isaac-mcfadyen commented Sep 24, 2024

Wonder if this should be a part of a bigger UX improvement?
Even a simple BINDING_NAME: <name> (local mode) for all of the bindings that run locally would be much better than the current.

@lrapoport-cf lrapoport-cf added the error-messaging Improving user facing error messages label Oct 14, 2024
@penalosa penalosa linked a pull request Oct 15, 2024 that will close this issue
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request error-messaging Improving user facing error messages
Projects
Status: Backlog
Development

Successfully merging a pull request may close this issue.

3 participants