python student-tests/worker_outage.py 1. worker stopped: no running worker containers 2. upload -> 202 queued, attachment_id=514906d6-77b8-4dec-a73f-a43670fc65ab GET -> queued, /content -> 409, /content?variant=thumbnail -> 409 3. message with the queued attachment -> 201 (97507e33-6eca-4009-aa8e-4239ddece625); text message -> 201 (1296cc2b-4850-4695-93bc-07411472f7a7) 4. after 5 s still queued: the API does not resize synchronously 5. job 296f84cb-b2cd-49b6-9080-2e460df42764 attempt 1: outbox row published at 2026-10-26T16:37:37.645701+00:00 by relay-c1b7e1ab5673; queues: {'attachments.process': (1, 0), 'attachments.dead': (34, 0)} 6. api replicas restarted (same containers, volumes kept) broker restarted with volume rabbitmqdata; queues after restart: {'attachments.process': (1, 0), 'attachments.dead': (34, 0)} 7. worker started -> ready after 3.8 s thumbnail 256×160 JPEG, original SHA-256 unchanged, message 97507e33-6eca-4009-aa8e-4239ddece625 keeps the attachment; outbox rows for the job: 1 (published once, before the broker restart) job events: queued(1) -> claimed(1) -> ready(1) PASS: with the worker down uploads are accepted (202) and wait; the accepted job survives API and broker restarts and becomes ready once the worker is started