выполнение лр2 на 4

This commit is contained in:
Ilya
2026-10-07 18:28:12 +03:00
parent 65003b6119
commit e914e384fc
32 changed files with 2054 additions and 15 deletions
+20
View File
@@ -0,0 +1,20 @@
# Persistence: API + PostgreSQL + Valkey restarted, volume kept, same token
# date: 2026-10-07T14:19:03Z
## containers BEFORE
api 2026-10-07T14:18:25.262485419Z running restarts=0
postgres 2026-10-07T14:18:22.306271835Z running restarts=0
valkey 2026-10-07T14:18:21.888265501Z running restarts=0
volume messenger-lab2_pgdata
$ make test-persistence ACTION_SCRIPT=scripts/restart.sh
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
## containers AFTER (StartedAt changed for all three)
api 2026-10-07T14:19:08.428103009Z running restarts=0
postgres 2026-10-07T14:19:05.240867716Z running restarts=0
valkey 2026-10-07T14:19:05.240850591Z running restarts=0
volume messenger-lab2_pgdata
$ docker compose logs migrate | tail -1
INFO migrate: migrations up to date: 0 applied now, 1 before