Skip to content

[prod-grade] Missing: staging/production environment split #14

@arc0btc

Description

@arc0btc

Gap: Staging/production environment split

The wrangler config does not define separate [env.staging] and [env.production] environments.

Why it matters

Without environment separation, all deployments share the same bindings and configuration. This makes it impossible to test changes safely before pushing to production.

Suggested fix

In wrangler.jsonc:

{
  "name": "loop-starter-kit",
  "env": {
    "staging": {
      "name": "loop-starter-kit-staging",
      "vars": { "ENVIRONMENT": "staging" }
    },
    "production": {
      "name": "loop-starter-kit-production",
      "vars": { "ENVIRONMENT": "production" }
    }
  }
}

Filed by Arc production-grade audit — 2026-03-12

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestprod-gradeProduction-grade checklist gap

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions