# make test-persistence: restart.sh перезапускает postgres, redis, api с сохранением volumes
# date: 2026-10-21T12:19:34Z
# commit: e20a5a4

## до
/messenger-lab2-api-1 running started=2026-10-21T12:10:45.032417029Z
/messenger-lab2-postgres-1 running started=2026-10-21T12:10:45.157769153Z
/messenger-lab2-redis-1 running started=2026-10-21T12:10:45.414709112Z

$ make test-persistence ACTION_SCRIPT=scripts/restart.sh
python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://api: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.

## после (started изменился у всех трёх контейнеров)
/messenger-lab2-api-1 running started=2026-10-21T12:19:36.892497071Z
/messenger-lab2-postgres-1 running started=2026-10-21T12:19:36.687967134Z
/messenger-lab2-redis-1 running started=2026-10-21T12:19:36.530451334Z
