You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 11, 2026. It is now read-only.
scripts/production-preflight.ts currently runs configuration, then db:migrate, then specification/tests/build. A failed later gate can therefore leave the target database mutated. Database pool-health skip behavior can also still permit a go-live result.
Objective
Make the default preflight read-only and require explicit, auditable authorization for migration application.
Parent epic: #679
Evidence
scripts/production-preflight.tscurrently runs configuration, thendb:migrate, then specification/tests/build. A failed later gate can therefore leave the target database mutated. Database pool-health skip behavior can also still permit a go-live result.Objective
Make the default preflight read-only and require explicit, auditable authorization for migration application.
Scope
--apply-migrationsexplicit; default invocation must not mutate data/schema.Acceptance criteria
bun run production:preflightis non-mutating.