$ /workspace/scratch/a9cc7b7e4e4a/.venv/bin/python -m messenger.migrate Migrations applied successfully (already applied versions skipped). $ /workspace/scratch/a9cc7b7e4e4a/.venv/bin/python -m messenger.migrate Migrations applied successfully (already applied versions skipped). $ make check validate student-test PYTHON=/workspace/scratch/a9cc7b7e4e4a/.venv/bin/python /workspace/scratch/a9cc7b7e4e4a/.venv/bin/python scripts/check_contract.py PASS: offline skeleton structure, local refs and Python syntax; application NOT tested. /workspace/scratch/a9cc7b7e4e4a/.venv/bin/python scripts/validate_openapi.py PASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested. /workspace/scratch/a9cc7b7e4e4a/.venv/bin/python -m unittest discover -s student-tests -v test_atomic_chat_and_migration_repeat (test_api.ApiTests.test_atomic_chat_and_migration_repeat) ... ok test_authentication_and_logout (test_api.ApiTests.test_authentication_and_logout) ... ok test_expiry_and_restart_app (test_api.ApiTests.test_expiry_and_restart_app) ... ok test_pagination_survives_new_app (test_api.ApiTests.test_pagination_survives_new_app) ... ok test_strict_validation_and_private_chat (test_api.ApiTests.test_strict_validation_and_private_chat) ... ok ---------------------------------------------------------------------- Ran 5 tests in 4.193s OK $ make test BASE_URL=http://127.0.0.1:18080 PYTHON=/workspace/scratch/a9cc7b7e4e4a/.venv/bin/python /workspace/scratch/a9cc7b7e4e4a/.venv/bin/python tests/smoke.py --base-url "http://127.0.0.1:18080" PASS: lab2 public API scenario; infrastructure and grading evidence remain separate. $ make test-persistence ACTION_SCRIPT=/tmp/messenger-lab2-3_7rknxw/restart.sh BASE_URL=http://127.0.0.1:18080 PYTHON=/workspace/scratch/a9cc7b7e4e4a/.venv/bin/python /workspace/scratch/a9cc7b7e4e4a/.venv/bin/python tests/resilience.py --mode persistence --action-script "/tmp/messenger-lab2-3_7rknxw/restart.sh" --base-url "http://127.0.0.1:18080" Executing explicit persistence hook; hook output suppressed to avoid leaking secrets. PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence. Real local PostgreSQL restart (not Docker) API PID: 34 -> 1056 PostgreSQL start: 2026-11-15T21:29:56.296193+00:00 -> 2026-11-15T21:30:04.106927+00:00 Same data directory; no initdb/migrations/reseed in restart hook. Verified database: PostgreSQL 16.2 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11), 64-bit PASS: DB outage gives ready=503, live=200