fix(smoke): load staging env before migration/gameplay checks #140
Reference in New Issue
Block a user
Delete Branch "fix/smoke-env-load-130"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
/etc/wpp/staging.env(or$ENV_FILE) beforemanage.py migrate --checkandmanage.py smoke_stagingin staging smoke suiteWhy
Staging smoke can fail with schema mismatch when manage.py commands run without staging DB env, which makes checks read a different DB context after failed/partial deploy paths. This is a low-risk hardening directly for #130 and release-readiness #90.
Checks
bash -n infra/staging/smoke_suite.sh.venv/bin/python manage.py check.venv/bin/python manage.py test lobby.tests.SmokeStagingCommandTests.test_smoke_staging_command_runs_full_flowRefs #130
Refs #90
✅ Review complete: ændringen er lav-risiko, løser env-kontekst før migrate/smoke, og CI-status er grøn. Ingen blockers fundet på denne head SHA.
Merged by integrator after gates passed on head
8b6f11575963f8d29cf429c003b200df0367d52b(approved + required CI success). Source branch deleted.