{ "scenario": "worker outage -> restart api+broker -> worker start -> ready -> redelivery", "date_utc": "2026-11-13T13:20:54+00:00", "steps": [ { "t": 1.69, "utc": "13:20:27.997", "step": "worker stopped", "running": [] }, { "t": 2.72, "utc": "13:20:29.021", "step": "upload while worker is down", "http": 202, "attachment_id": "d5d38cb6-d3e7-424b-8dc6-33270c9df865", "status": "queued" }, { "t": 2.72, "utc": "13:20:29.031", "step": "metadata and content while queued", "status": "queued", "content": 409, "thumbnail": 409, "error_code": "conflict" }, { "t": 2.73, "utc": "13:20:29.041", "step": "messages while worker is down", "with_queued_attachment": true, "plain_message_id": "10afa020-6afb-4516-853f-2254f37ed7c7" }, { "t": 6.56, "utc": "13:20:32.862", "step": "job is durable in broker", "queue": { "messages": 1, "messages_ready": 1, "messages_unacknowledged": 0, "consumers": 0 }, "outbox_published": true, "job_id": "41ad5bea-d05d-42b4-a450-d47690ef998c", "job_status": "queued" }, { "t": 16.02, "utc": "13:20:42.330", "step": "api restarted", "status": "queued" }, { "t": 21.07, "utc": "13:20:47.381", "step": "broker restarted with volume", "queue": { "messages": 1, "messages_ready": 1, "messages_unacknowledged": 0, "consumers": 0 }, "status": "queued" }, { "t": 26.86, "utc": "13:20:53.167", "step": "worker started" }, { "t": 26.89, "utc": "13:20:53.196", "step": "ready after worker start", "variants": [ [ "thumbnail", 256, 160 ], [ "crop", 128, 128 ], [ "optimized", 320, 200 ] ], "original_sha256_ok": true, "thumbnail_bytes": 4679 }, { "t": 28.47, "utc": "13:20:54.779", "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": "d5d38cb6-d3e7-424b-8dc6-33270c9df865", "job_id": "41ad5bea-d05d-42b4-a450-d47690ef998c", "events": [ { "job_id": "41ad5bea-d05d-42b4-a450-d47690ef998c", "at": "2026-11-13T13:20:29.018662Z", "event": "enqueued", "attempt": 1, "actor": "api", "detail": null }, { "job_id": "41ad5bea-d05d-42b4-a450-d47690ef998c", "at": "2026-11-13T13:20:47.938036Z", "event": "claimed", "attempt": 1, "actor": "c2f424ff165b:fa6a01e0", "detail": { "redelivered_message_attempt": 1 } }, { "job_id": "41ad5bea-d05d-42b4-a450-d47690ef998c", "at": "2026-11-13T13:20:48.074885Z", "event": "ready", "attempt": 1, "actor": "c2f424ff165b:fa6a01e0", "detail": { "variants": { "crop": [ 128, 128 ], "optimized": [ 320, 200 ], "thumbnail": [ 256, 160 ] } } }, { "job_id": "41ad5bea-d05d-42b4-a450-d47690ef998c", "at": "2026-11-13T13:20:48.076077Z", "event": "staging_deleted", "attempt": 1, "actor": "c2f424ff165b:fa6a01e0", "detail": null }, { "job_id": "41ad5bea-d05d-42b4-a450-d47690ef998c", "at": "2026-11-13T13:20:53.879984Z", "event": "duplicate_ignored", "attempt": 1, "actor": "c2f424ff165b:fa6a01e0", "detail": { "status": "ready" } } ] }