Verified: 2026-09-29 10:59:59 UTC $ make build dotnet build src/Messenger.Api/Messenger.Api.csproj --nologo Определение проектов для восстановления... Все проекты обновлены для восстановления. Messenger.Api -> /Users/nikitakamensky/Documents/mtusi2026lab2/src/Messenger.Api/bin/Debug/net9.0/Messenger.Api.dll Сборка успешно завершена. Предупреждений: 0 Ошибок: 0 Прошло времени 00:00:02.36 $ make check python3 scripts/check_contract.py PASS: offline skeleton structure, local refs and Python syntax; application NOT tested. $ make validate PYTHON=.venv/bin/python .venv/bin/python scripts/validate_openapi.py PASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested. $ make test BASE_URL=http://localhost:18080 python3 tests/smoke.py --base-url "http://localhost:18080" PASS: lab2 public API scenario; infrastructure and grading evidence remain separate. $ make student-test BASE_URL=http://localhost:18080 python3 student-tests/lab2_tests.py --base-url "http://localhost:18080" PASS: Lab2 password, Basic, Bearer, input validation and session lifecycle $ make test-expiry BASE_URL=http://localhost:18080 BASE_URL="http://localhost:18080" PYTHON="python3" ./scripts/test-expiry.sh Container mtusi2026lab2-api-1 Recreate Container mtusi2026lab2-api-1 Recreated Container mtusi2026lab2-api-1 Starting Container mtusi2026lab2-api-1 Started PASS: Lab2 password, Basic, Bearer, input validation and session lifecycle Container mtusi2026lab2-api-1 Recreate Container mtusi2026lab2-api-1 Recreated Container mtusi2026lab2-api-1 Starting Container mtusi2026lab2-api-1 Started Container start times before persistence hook: postgres 2026-09-29T10:57:17.514431375Z api 2026-09-29T11:00:11.981683054Z $ make test-persistence ACTION_SCRIPT=scripts/restart.sh BASE_URL=http://localhost:18080 python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://localhost: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. Container start times after persistence hook: postgres 2026-09-29T11:00:13.851495055Z api 2026-09-29T11:00:14.208942221Z Migration count and password KDF prefix (no hashes or credentials): migrations=1 $argon2id