Skip to content

Conversation

@john-royal
Copy link
Collaborator

Closes #1251 and addresses a follow-up comment in #1135.

The problem was that while we were lowercasing the default worker generated name for the Worker resource, we weren't doing that for the Website resource, which affected generated wrangler.jsonc files.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 11, 2025

Open in StackBlitz

npm i https://pkg.pr.new/alchemy-run/alchemy@1257

commit: 79357d6

@github-actions
Copy link

github-actions bot commented Dec 11, 2025

🚀 Website Preview Deployed

Your website preview is ready!

Preview URL: https://eaa1d5e6-alchemy-website.alchemy-run.workers.dev

This preview was built from commit 34379a6


🤖 This comment will be updated automatically when you push new commits to this PR.

) {
const {
name = Scope.current.createPhysicalName(id),
name = Scope.current.createPhysicalName(id).toLowerCase(),
Copy link
Collaborator

Choose a reason for hiding this comment

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

Any reason not to do it for all physical names?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No, good catch - I was being a little too conservative. Will update now

Copy link
Collaborator

Choose a reason for hiding this comment

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

On second thought, I really hope this doesn't cause issues for people? Should it be up to each resource to lowercase it, or do we bit the bullet now and apply this blanket across all resources?

Which resources could it cause unnecessary replacements on?

@john-royal john-royal changed the title fix(cloudflare): lowercase generated worker name for websites fix(core): lowercase generated physical names Dec 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bundling issue with better-auth & generated website name includes uppercase characters

3 participants