исправление - символ не дает 500

This commit is contained in:
2026-10-09 21:09:19 +03:00
parent be89a23dfa
commit 1d02ee3f33
11 changed files with 143 additions and 69 deletions
+12 -12
View File
@@ -1,21 +1,21 @@
docker compose ps -a --format "table {{.Service}}\t{{.ID}}\t{{.Status}}"
SERVICE CONTAINER ID STATUS
api 08b92853bbb4 Up 3 minutes (healthy)
api-short-ttl 047512285fe6 Up About a minute (healthy)
postgres 094d2f567e2e Up 49 seconds (healthy)
valkey 195f4a7b30f1 Up About a minute (healthy)
api 719af7c38c2d Up 41 seconds (healthy)
api-short-ttl 047512285fe6 Up 8 hours (healthy)
postgres 094d2f567e2e Up 8 hours (healthy)
valkey 195f4a7b30f1 Up 7 hours (healthy)
python tests/resilience.py --mode persistence --action-script "scripts/restart.cmd" --base-url "http://127.0.0.1:8080"
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
real 0m11.081s
real 0m12.535s
user 0m0.015s
sys 0m0.000s
sys 0m0.015s
docker compose ps -a --format "table {{.Service}}\t{{.ID}}\t{{.Status}}"
SERVICE CONTAINER ID STATUS
api 08b92853bbb4 Up 2 seconds (health: starting)
api-short-ttl 047512285fe6 Up About a minute (healthy)
postgres 094d2f567e2e Up 8 seconds (healthy)
valkey 195f4a7b30f1 Up 8 seconds (healthy)
api-1 | 2026-10-09 10:18:10,200 INFO messenger.db: Миграции применены: 001_core, 002_sessions
api-1 | 2026-10-09 10:21:37,443 INFO messenger.db: Миграции: новых нет, схема актуальна
api 719af7c38c2d Up 3 seconds (health: starting)
api-short-ttl 047512285fe6 Up 8 hours (healthy)
postgres 094d2f567e2e Up 9 seconds (healthy)
valkey 195f4a7b30f1 Up 9 seconds (healthy)
api-1 | 2026-10-09 17:57:26,685 INFO messenger.db: Миграции применены: 003_text_as_bytes
api-1 | 2026-10-09 17:58:17,783 INFO messenger.db: Миграции: новых нет, схема актуальна