fix(smoke): guard staging schema and include player session tokens (refs #130 #90)
All checks were successful
CI / test-and-quality (push) Successful in 1m34s
CI / test-and-quality (pull_request) Successful in 1m36s

This commit is contained in:
2026-02-28 15:36:29 +00:00
parent b1e89b135a
commit abb656d50b
3 changed files with 30 additions and 2 deletions

View File

@@ -50,6 +50,12 @@ PY
echo "[smoke] healthz check: ${BASE_URL}/healthz"
curl -fsS "${BASE_URL}/healthz" >/dev/null || { SMOKE_FAIL_MESSAGE="healthz check failed" fail "healthz check failed"; }
echo "[smoke] migration consistency check"
(
cd "${APP_DIR}"
.venv/bin/python manage.py migrate --check --noinput
) || { SMOKE_FAIL_MESSAGE="schema drift: unapplied migrations in staging" fail "schema drift: unapplied migrations in staging"; }
echo "[smoke] gameplay flow via management command"
(
cd "${APP_DIR}"