date: 2026-10-28T21:19:01Z  commit: a774a2f  BASE_URL=http://localhost:18084
# Регрессия уровня «3» и лабы 3 после изменений уровня «4» (буферы сокетов LB и API, порог mmap, слоты, уборка)
$ make test
PASS: lab4 public API scenario; infrastructure and grading evidence remain separate.
$ make test-persistence ACTION_SCRIPT=scripts/restart.sh
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
$ make test-failover ACTION_SCRIPT=scripts/stop-one.sh  # прогон 1
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
  mtusi2026lab4-api-1 Up 25 seconds (healthy)
  mtusi2026lab4-api-2 Exited (0) 12 seconds ago
$ make restore
  restored: 2 healthy
$ make test-failover ACTION_SCRIPT=scripts/stop-one.sh  # прогон 2
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
  mtusi2026lab4-api-1 Exited (0) 12 seconds ago
  mtusi2026lab4-api-2 Up 17 seconds (healthy)
$ make restore
  restored: 2 healthy
$ python3 scripts/lab4_scenarios.py failover-upload --restore
  exit 0: {'ok': True, 'upload_instance': '0b2544e9c8de', 'download_instance': 'cf30d7db141f', 'sha256_equal': True, 'download_ok_after_seconds': 2.709}
$ python3 scripts/lab4_scenarios.py s3-outage --restore
  exit 0: {'ok': True, 'as_expected': True, 's3_back_healthy_seconds': 5.697}
$ python3 scripts/lab4_scenarios.py abort-upload --restore
  exit 0: {'ok': True, 'rows_by_status': {}, 'ready_rows': 0, 'api_still_serves': True}
  s3-outage: upload 503 за 1.696 с, metadata 200 за 0.018 с, download 503 за 1.631 с, text_message 201 за 0.007 с, health_ready 200 за 0.002 с
$ make limits
PASS: limits, ports, secrets, volumes and networks match the policy
$ make test-faults   # все проверки стенда student-tests/stack: лабы 2–3 и уровень «4» лабы 4
======================== 15 passed in 64.77s (0:01:04) =========================
  student-tests/stack/test_attachment_faults.py: 5
  student-tests/stack/test_faults.py: 10
