Skip to content

Guard staging env against inheriting the production route#7

Merged
lightsofapollo merged 1 commit into
mainfrom
fix/staging-route-guard
Jun 11, 2026
Merged

Guard staging env against inheriting the production route#7
lightsofapollo merged 1 commit into
mainfrom
fix/staging-route-guard

Conversation

@lightsofapollo

Copy link
Copy Markdown
Owner

A staging relay deploy attached relay.attn.sh to attn-relay-staging — wrangler v3 does inherit top-level [[routes]] into named environments, contrary to the comment in wrangler.toml. This adds an explicit routes = [] to [env.staging] so staging stays workers.dev-only, and corrects the comment.

Already verified live: staging redeployed with this config attaches no custom domain, and production reclaimed relay.attn.sh on its next deploy.

🤖 Generated with Claude Code

wrangler v3 inherits top-level [[routes]] into named environments — a
staging deploy on 2026-06-10 attached relay.attn.sh to attn-relay-staging,
contradicting the comment that claimed routes are not inherited. Explicit
routes = [] opts staging out; production reclaimed the domain on its next
deploy.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
attn Ready Ready Preview, Comment Jun 11, 2026 12:24am

Request Review

@lightsofapollo lightsofapollo merged commit d78acda into main Jun 11, 2026
6 checks passed
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.

1 participant