forked from mtusi2026/mtusi2026lab2
21 lines
946 B
Plaintext
21 lines
946 B
Plaintext
# Persistence: API + PostgreSQL + Valkey restarted, volume kept, same token
|
|
# date: 2026-10-08T21:04:36Z
|
|
## containers BEFORE
|
|
api 2026-10-08T21:04:21.524285049Z running restarts=0
|
|
postgres 2026-10-08T21:04:18.312105839Z running restarts=0
|
|
valkey 2026-10-08T21:04:18.312749256Z 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-08T21:04:41.315237919Z running restarts=0
|
|
postgres 2026-10-08T21:04:38.136785584Z running restarts=0
|
|
valkey 2026-10-08T21:04:38.136211584Z running restarts=0
|
|
volume messenger-lab2_pgdata
|
|
|
|
$ docker compose logs migrate | tail -1
|
|
INFO migrate: migrations up to date: 0 applied now, 1 before
|