Record levels 3 and 4 again on the final code

Every level 3 and level 4 file in evidence was taken on e00eb6c, before
track 1 rewrote the message write into one statement under the chat
lock. The runs are repeated on a02d442: smoke, stack, storage, both
failovers (the second after one shifting request), persistence, hooks,
the lab 2 fault tests, limits and injected violations, 20 same-key races,
three detection runs, failover-each under k6 and both rolling updates.
All pass. checks.txt adds the real output of make check, make validate
and make lint, and student-tests.txt includes the new access order test.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V1d3RLHNBBMA6UqBLLJv27
This commit is contained in:
Artyom
2026-10-29 23:24:11 +03:00
co-authored by Claude Opus 5.5
parent a02d442085
commit e722cb357d
63 changed files with 7990 additions and 7490 deletions
+18 -17
View File
@@ -1,9 +1,9 @@
date: 2026-10-28T16:57:24Z commit: e00eb6c
$ make test-faults BASE_URL=http://localhost:18083
BASE_URL="http://localhost:18083" .venv/bin/pytest -m stack -v -s student-tests/stack
date: 2026-10-29T20:16:02Z commit: a02d442
$ make test-faults # BASE_URL=http://127.0.0.1:18083
BASE_URL="http://127.0.0.1:18083" .venv/bin/pytest -m stack -v -s student-tests/stack
============================= test session starts ==============================
platform darwin -- Python 3.14.5, pytest-9.1.1, pluggy-1.6.0
rootdir: /Users/artemkostylev/projects/learning/HL/labs/mtusi2026lab3
rootdir: <repo>
configfile: pyproject.toml
plugins: asyncio-1.4.0, anyio-4.15.1
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=function, asyncio_default_test_loop_scope=function
@@ -11,27 +11,28 @@ collected 10 items
student-tests/stack/test_faults.py гонка 50 регистраций: 201×1, 409×49
.чат с несуществующим участником: 400
.неверный пароль: 401 за 0.012 с
неизвестный пользователь: 401 за 0.012 с
.неверный пароль: 401 за 0.015 с
неизвестный пользователь: 401 за 0.014 с
.logout: 204, затем 401, повтор 401
.5 проверок токена: keyspace_hits 4 → 9
.valkey остановлен, действующий токен: 200 за 0.004 с
valkey остановлен, неизвестный токен: 401 за 0.002 с
.valkey остановлен, действующий токен: 200 за 0.005 с
valkey остановлен, неизвестный токен: 401 за 0.003 с
valkey остановлен: ready 200, вход 201, выход 503
valkey снова запущен: повторный выход 204
.рестарт valkey: ключей 25 → 25
.рестарт valkey: ключей 15 → 15
рестарт valkey: живой 200, отозванный 401
.FLUSHALL: живой 200, отозванный 401
.postgres остановлен, ready: 503 за 0.004 с
.postgres остановлен, ready: 503 за 0.003 с
postgres остановлен, me: 503 за 0.003 с
postgres остановлен, stranger: 503 за 0.002 с
postgres остановлен, login: 503 за 0.002 с
postgres остановлен, register: 503 за 0.014 с
live внутри реплики 200; LB исключил все реплики ещё через 0.61 с
postgres остановлен, stranger: 503 за 0.003 с
postgres остановлен, login: 503 за 0.003 с
postgres остановлен, register: 503 за 0.015 с
live внутри реплики 200; LB исключил все реплики ещё через 1.03 с
live через LB без реплик: 503 за 0.000 с
postgres запущен: готовность через 2.1 с, прежний токен 200
postgres запущен: готовность через 2.3 с, прежний токен 200
.рестарт api: готовность через 2.8 с, токен 200
expires_at при входе 2026-10-28T17:57:38.249277Z, в БД после рестарта 2026-10-28T17:57:38.249277Z
expires_at при входе 2026-10-29T21:16:16.447011Z, в БД после рестарта 2026-10-29T21:16:16.447011Z
.
============================= 10 passed in 19.25s ==============================
============================= 10 passed in 19.53s ==============================
exit=0