docs: add lab4 report and evidence

This commit is contained in:
2026-11-05 17:45:51 +03:00
parent f8e41b1195
commit 9141873b04
14 changed files with 2056 additions and 14 deletions
+26
View File
@@ -0,0 +1,26 @@
# Публичные проверки через LB; разные реплики обслуживают одну сессию
# date: 2026-11-05T13:58:22Z
# commit: f8e41b1
$ 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: lab4 public API scenario; infrastructure and grading evidence remain separate.
$ sh -c docker compose ps -q api | cut -c1-12
bb4424f819bb
0900a35b199d
$ python3 scripts/probe.py instances 6
register -> 201
login -> 201 expires_at: 2026-11-05T14:58:32.678Z
GET /api/v1/users/me -> 200 X-Instance-Id: 0900a35b199d
GET /api/v1/users/me -> 200 X-Instance-Id: bb4424f819bb
GET /api/v1/users/me -> 200 X-Instance-Id: 0900a35b199d
GET /api/v1/users/me -> 200 X-Instance-Id: bb4424f819bb
GET /api/v1/users/me -> 200 X-Instance-Id: 0900a35b199d
GET /api/v1/users/me -> 200 X-Instance-Id: bb4424f819bb