python student-tests/failure_s3.py
=== s3 stopped
SERVICE   CONTAINER     STATE                STARTED AT (UTC)
api       81410605dad3  running (healthy)    2026-10-22T14:19:42.319
api       ccaea065f01a  running (healthy)    2026-10-22T14:20:22.672
lb        57f9ebc04460  running (healthy)    2026-10-22T14:06:53.419
migrate   806265078f47  exited               2026-10-22T14:19:39.391
postgres  b4b2a3cf061f  running (healthy)    2026-10-22T14:06:06.682
s3        cf488bd53603  exited               2026-10-22T14:07:23.226
s3-init   37fe53772dcb  exited               2026-10-22T14:19:39.389
valkey    d4851200ad55  running (healthy)    2026-10-22T14:06:06.574
upload while S3 is down: 503 unavailable in 6.03 s
metadata of the ready attachment (PostgreSQL): 200
download while S3 is down: 503 unavailable
text message: 201; history: 200; /health/ready: 200
=== s3 started
the file uploaded before the outage is back after 12.8 s, same bytes (sha256 99ea7533c441f79c...)
SERVICE   CONTAINER     STATE                STARTED AT (UTC)
api       81410605dad3  running (healthy)    2026-10-22T14:19:42.319
api       ccaea065f01a  running (healthy)    2026-10-22T14:20:22.672
lb        57f9ebc04460  running (healthy)    2026-10-22T14:06:53.419
migrate   806265078f47  exited               2026-10-22T14:19:39.391
postgres  b4b2a3cf061f  running (healthy)    2026-10-22T14:06:06.682
s3        cf488bd53603  running (starting)   2026-10-22T14:20:57.064
s3-init   37fe53772dcb  exited               2026-10-22T14:19:39.389
valkey    d4851200ad55  running (healthy)    2026-10-22T14:06:06.574
PASS: S3 down -> upload/download 503 (no 500), metadata, text messages and readiness keep working; after S3 is back the original is intact and uploads work again
