python student-tests/run_persistence.py hook: scripts/restart.cmd === containers before SERVICE CONTAINER STATE STARTED AT (UTC) api 48dc392933dc running (healthy) 2026-10-26T16:25:57.020 api c1b7e1ab5673 running (healthy) 2026-10-26T16:26:21.371 broker 9f909ed7ecea running (healthy) 2026-10-26T16:19:00.163 lb 8be67a2e86b7 running (healthy) 2026-10-26T16:15:42.154 migrate a5a9934b4d6b exited 2026-10-26T16:23:38.842 postgres d2bfd48385f1 running (healthy) 2026-10-26T16:15:17.840 s3 892c7ca290f2 running (healthy) 2026-10-26T16:24:57.683 s3-init deab1aa2b022 exited 2026-10-26T16:23:38.843 valkey 4e223cb9301e running (healthy) 2026-10-26T16:15:17.820 worker 292a36c54a41 running (healthy) 2026-10-26T16:23:41.416 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 (test took 49.6 s: hook + waiting for readiness + data checks) SERVICE CONTAINER STATE STARTED AT (UTC) api 48dc392933dc running (healthy) 2026-10-26T16:27:12.404 api c1b7e1ab5673 running (healthy) 2026-10-26T16:27:12.751 broker 9f909ed7ecea running (healthy) 2026-10-26T16:26:35.888 lb 8be67a2e86b7 running (healthy) 2026-10-26T16:27:16.490 migrate a5a9934b4d6b exited 2026-10-26T16:26:50.586 postgres d2bfd48385f1 running (healthy) 2026-10-26T16:26:34.837 s3 892c7ca290f2 running (healthy) 2026-10-26T16:26:49.628 s3-init deab1aa2b022 exited 2026-10-26T16:27:10.098 valkey 4e223cb9301e running (healthy) 2026-10-26T16:26:34.974 worker 292a36c54a41 running (healthy) 2026-10-26T16:27:12.399 api 48dc392933dc: same container, start time 16:25:57 -> 16:27:12 api c1b7e1ab5673: same container, start time 16:26:21 -> 16:27:12 broker 9f909ed7ecea: same container, start time 16:19:00 -> 16:26:35 lb 8be67a2e86b7: same container, start time 16:15:42 -> 16:27:16 postgres d2bfd48385f1: same container, start time 16:15:17 -> 16:26:34 s3 892c7ca290f2: same container, start time 16:24:57 -> 16:26:49 valkey 4e223cb9301e: same container, start time 16:15:17 -> 16:26:34 worker 292a36c54a41: same container, start time 16:23:41 -> 16:27:12 PASS: api replicas, worker, postgres, valkey, s3, broker and lb were restarted (same containers and volumes, new start time); data, the attachment bytes and the existing token survived