Разбить API на слои, комментарии на русском
Skeleton contracts / contracts (pull_request) Canceled after 0s

routes -> http/auth -> repositories -> infra; поведение не изменилось, smoke, persistence и тесты уровня 4 перепрогнаны.
This commit is contained in:
celis
2026-10-29 22:25:01 +03:00
parent cac37bddec
commit b79be9b0eb
35 changed files with 729 additions and 486 deletions
+1 -1
View File
@@ -3,5 +3,5 @@ PASS test_chat_rollback - chat with unknown member -> 400, no chat/member rows (
PASS test_pagination_and_injection - 57 messages over limit=7 pages: exact order, no dupes; foreign/garbage cursor -> 400; SQL text stored verbatim
PASS test_wrong_password_and_logout - wrong password / unknown user -> identical 401 Basic; logout -> 204, then 401 twice
PASS test_expiry - SESSION_TTL_SECONDS=2: 200 right after login, 401 after 3 s on both API processes
PASS test_valkey_outage - valkey stopped -> ready/me 503 unavailable in 0.02s, anonymous 401, registration 201; recovered with same token
PASS test_valkey_outage - valkey stopped -> ready/me 503 unavailable in 0.00s, anonymous 401, registration 201; recovered with same token
PASS test_postgres_outage - postgres stopped -> ready/me 503 unavailable in 2.01s, anonymous 401, registration 503; recovered with same token