Добавить результаты проверки через make и restart.sh
Skeleton contracts / contracts (pull_request) Blocked by required conditions
Lab 2 application / postgres (pull_request) Blocked by required conditions

This commit is contained in:
2026-12-01 14:37:37 +03:00
parent ca84823281
commit b8c4d50113
2 changed files with 23 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
POSIX Make verification 2026-12-01T11:12:12Z
Submitted commit ca84823281539a3e1343f88ccf967defe632c40d
Python 3.12.16
GNU Make 4.4.1
Docker Compose version v2.35.0
BASE_URL=http://api:8080
Command: make check
python3 scripts/check_contract.py
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
Command: make test
python3 tests/smoke.py --base-url "http://api:8080"
PASS: lab2 public API scenario; infrastructure and grading evidence remain separate.
Before restart: api=2026-12-01T11:11:29.358865668Z db=2026-12-01T11:11:26.64639198Z volume=mtusi-lab2-make-1201_pgdata volume_created=2026-12-01T11:11:26Z
Command: make test-persistence ACTION_SCRIPT=scripts/restart.sh
python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://api:8080"
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
After restart: api=2026-12-01T11:12:20.066788274Z db=2026-12-01T11:12:17.310082973Z volume=mtusi-lab2-make-1201_pgdata volume_created=2026-12-01T11:11:26Z
PASS: POSIX restart.sh restarted API and PostgreSQL and retained the original database volume
PASS: schema_migrations still contains exactly one migration, version 1