Files
mtusi2026lab2/evidence/persistence.txt
T

21 lines
946 B
Plaintext

# 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