forked from mtusi2026/mtusi2026lab3
Record levels 3 and 4 again on the final code
Every level 3 and level 4 file in evidence was taken one00eb6c, before track 1 rewrote the message write into one statement under the chat lock. The runs are repeated ona02d442: 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:
co-authored by
Claude Opus 5.5
parent
a02d442085
commit
e722cb357d
@@ -1,7 +1,14 @@
|
||||
date: 2026-10-29T00:00:10Z commit: e88673d
|
||||
date: 2026-10-29T20:13:17Z commit: a02d442
|
||||
$ PYTEST_ADDOPTS=-vv make student-test # все собственные тесты без маркера stack (одноразовые PostgreSQL и Valkey в Docker), по именам
|
||||
============================= test session starts ==============================
|
||||
collecting ... collected 250 items / 10 deselected / 240 selected
|
||||
platform darwin -- Python 3.14.5, pytest-9.1.1, pluggy-1.6.0 -- <repo>/.venv/bin/python
|
||||
cachedir: .pytest_cache
|
||||
rootdir: <repo>
|
||||
configfile: pyproject.toml
|
||||
testpaths: student-tests
|
||||
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
|
||||
collecting ... collected 251 items / 10 deselected / 241 selected
|
||||
|
||||
student-tests/api/test_access.py::test_outsider_gets_404_on_chat PASSED
|
||||
student-tests/api/test_access.py::test_unknown_chat_is_indistinguishable_from_foreign PASSED
|
||||
@@ -10,6 +17,7 @@ student-tests/api/test_access.py::test_outsider_cannot_read_history PASSED
|
||||
student-tests/api/test_access.py::test_access_checked_before_body PASSED
|
||||
student-tests/api/test_access.py::test_chat_list_hides_foreign_chats PASSED
|
||||
student-tests/api/test_access.py::test_403_is_never_used PASSED
|
||||
student-tests/api/test_access.py::test_request_shape_is_checked_before_access PASSED
|
||||
student-tests/api/test_bounded_contexts.py::test_identity_does_not_know_about_messaging PASSED
|
||||
student-tests/api/test_bounded_contexts.py::test_messaging_touches_identity_only_through_events PASSED
|
||||
student-tests/api/test_bounded_contexts.py::test_domains_do_not_import_infrastructure PASSED
|
||||
@@ -244,10 +252,10 @@ student-tests/unit/test_domain.py::test_user_registration_emits_event PASSED
|
||||
student-tests/unit/test_domain.py::test_clock_is_strictly_increasing PASSED
|
||||
student-tests/unit/test_timeouts.py::test_timeouts_shrink_inwards_and_shutdown_fits_the_stop_budget PASSED
|
||||
|
||||
===================== 240 passed, 10 deselected in 19.77s ======================
|
||||
===================== 241 passed, 10 deselected in 20.91s ======================
|
||||
|
||||
$ .venv/bin/pytest -s -q student-tests/api/test_drain.py student-tests/unit/test_timeouts.py # SIGTERM-окно и цепочка таймаутов
|
||||
.окно: ready/live (503, 200), порт закрыт через 1.74 с, выход 2.11 с
|
||||
.окно: ready/live (503, 200), порт закрыт через 1.70 с, выход 2.09 с
|
||||
запрос, принятый до SIGTERM и дописанный после закрытия порта: HTTP/1.1 201 Created
|
||||
.обнаружение 1.5 с (зависание 3.5 с), окно 2.0 с, остановка 5.0 с, хук 6.0 с, stop_grace_period 8.0 с; LB server 10.0 с > запрос 8.0 с > БД 3.0 с; readiness 0.8 с < check 1.0 с
|
||||
.
|
||||
|
||||
Reference in New Issue
Block a user