# 2026-10-26 19:35:10 UTC | Persistence: контейнеры до | exit 0 | 0.3s
$ docker compose --env-file .env ps -a --format table {{.Name}}	{{.Status}}	{{.RunningFor}}
NAME                        STATUS                     CREATED
messenger-lab3-api-5        Up 31 seconds (healthy)    32 seconds ago
messenger-lab3-api-6        Up 21 seconds (healthy)    22 seconds ago
messenger-lab3-lb-1         Up 18 minutes (healthy)    44 minutes ago
messenger-lab3-migrate-1    Exited (0) 4 minutes ago   44 minutes ago
messenger-lab3-postgres-1   Up 18 minutes (healthy)    44 minutes ago
messenger-lab3-redis-1      Up 18 minutes (healthy)    44 minutes ago
# 2026-10-26 19:35:24 UTC | Persistence: make test-persistence | exit 0 | 14.1s
$ 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.

# 2026-10-26 19:35:24 UTC | Persistence: контейнеры после (Status = Up N seconds) | exit 0 | 0.3s
$ docker compose --env-file .env ps -a --format table {{.Name}}	{{.Status}}	{{.RunningFor}}
NAME                        STATUS                                     CREATED
messenger-lab3-api-5        Up 7 seconds (healthy)                     46 seconds ago
messenger-lab3-api-6        Up 7 seconds (healthy)                     36 seconds ago
messenger-lab3-lb-1         Up Less than a second (health: starting)   44 minutes ago
messenger-lab3-migrate-1    Exited (0) 5 minutes ago                   44 minutes ago
messenger-lab3-postgres-1   Up 7 seconds (healthy)                     44 minutes ago
messenger-lab3-redis-1      Up 7 seconds (healthy)                     44 minutes ago

