# Публичные проверки через LB; разные реплики обслуживают одну сессию
# date: 2026-11-01T14:53:50Z
# commit: 252ebd0

$ make check
python3 scripts/check_contract.py
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.

$ make test
python3 tests/smoke.py --base-url "http://lb:8080" 
PASS: lab3 public API scenario; infrastructure and grading evidence remain separate.

$ sh -c docker compose ps -q api | cut -c1-12
e0c31d893858
229dcf033bdc

$ python3 scripts/probe.py instances 6
register -> 201
login -> 201 expires_at: 2026-11-01T15:53:52.273Z
GET /api/v1/users/me -> 200 X-Instance-Id: e0c31d893858
GET /api/v1/users/me -> 200 X-Instance-Id: 229dcf033bdc
GET /api/v1/users/me -> 200 X-Instance-Id: e0c31d893858
GET /api/v1/users/me -> 200 X-Instance-Id: 229dcf033bdc
GET /api/v1/users/me -> 200 X-Instance-Id: e0c31d893858
GET /api/v1/users/me -> 200 X-Instance-Id: 229dcf033bdc

