{ "scenario": "worker outage -> restart api+broker -> worker start -> ready -> redelivery", "date_utc": "2026-11-13T13:54:46+00:00", "steps": [ { "t": 1.33, "utc": "13:54:22.424", "step": "worker stopped", "running": [] }, { "t": 1.78, "utc": "13:54:22.879", "step": "upload while worker is down", "http": 202, "attachment_id": "e6ed01be-52e1-4460-8858-b9eef348be70", "status": "queued" }, { "t": 1.79, "utc": "13:54:22.887", "step": "metadata and content while queued", "status": "queued", "content": 409, "thumbnail": 409, "error_code": "conflict" }, { "t": 1.8, "utc": "13:54:22.894", "step": "messages while worker is down", "with_queued_attachment": true, "plain_message_id": "f3001283-548f-4489-83de-615141cd549a" }, { "t": 4.18, "utc": "13:54:25.271", "step": "job is durable in broker", "queue": { "messages": 1, "messages_ready": 1, "messages_unacknowledged": 0, "consumers": 0 }, "outbox_published": true, "job_id": "819863af-2d27-4892-9716-57aab92180c6", "job_status": "queued" }, { "t": 13.09, "utc": "13:54:34.184", "step": "api restarted", "status": "queued" }, { "t": 18.16, "utc": "13:54:39.258", "step": "broker restarted with volume", "queue": { "messages": 1, "messages_ready": 1, "messages_unacknowledged": 0, "consumers": 0 }, "status": "queued" }, { "t": 23.99, "utc": "13:54:45.086", "step": "worker started" }, { "t": 24.02, "utc": "13:54:45.115", "step": "ready after worker start", "variants": [ [ "thumbnail", 256, 160 ], [ "crop", 128, 128 ], [ "optimized", 320, 200 ] ], "original_sha256_ok": true, "thumbnail_bytes": 4679 }, { "t": 25.72, "utc": "13:54:46.813", "step": "redelivery of the same job is a no-op", "events": [ "enqueued", "claimed", "ready", "staging_deleted", "duplicate_ignored" ], "invariants": { "variants": [ "crop", "optimized", "thumbnail" ], "variants_ok": true, "final_objects": 4, "final_objects_ok": true, "staging_left": false, "job_status": "ready", "attempt": 1 } } ], "attachment_id": "e6ed01be-52e1-4460-8858-b9eef348be70", "job_id": "819863af-2d27-4892-9716-57aab92180c6", "events": [ { "job_id": "819863af-2d27-4892-9716-57aab92180c6", "at": "2026-11-13T13:54:22.876280Z", "event": "enqueued", "attempt": 1, "actor": "api", "detail": null }, { "job_id": "819863af-2d27-4892-9716-57aab92180c6", "at": "2026-11-13T13:54:39.862578Z", "event": "claimed", "attempt": 1, "actor": "3ecc0795d2da:873f888f", "detail": { "redelivered_message_attempt": 1 } }, { "job_id": "819863af-2d27-4892-9716-57aab92180c6", "at": "2026-11-13T13:54:40.000589Z", "event": "ready", "attempt": 1, "actor": "3ecc0795d2da:873f888f", "detail": { "variants": { "crop": [ 128, 128 ], "optimized": [ 320, 200 ], "thumbnail": [ 256, 160 ] } } }, { "job_id": "819863af-2d27-4892-9716-57aab92180c6", "at": "2026-11-13T13:54:40.001908Z", "event": "staging_deleted", "attempt": 1, "actor": "3ecc0795d2da:873f888f", "detail": null }, { "job_id": "819863af-2d27-4892-9716-57aab92180c6", "at": "2026-11-13T13:54:45.844562Z", "event": "duplicate_ignored", "attempt": 1, "actor": "3ecc0795d2da:873f888f", "detail": { "status": "ready" } } ] }