Implement durable image processing pipeline with outbox and recovery
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"scenario": "worker crash after ready commit, before ack",
|
||||
"attachment_id": "821b61c9-7251-491b-ad51-c29870dd43ab",
|
||||
"job_id": "92915f04-938a-4253-823f-8c299eb87788",
|
||||
"initial_job": {
|
||||
"job_id": "92915f04-938a-4253-823f-8c299eb87788",
|
||||
"status": "queued",
|
||||
"attempt": 1,
|
||||
"outbox_count": 1,
|
||||
"published": false
|
||||
},
|
||||
"worker_before_fault": {
|
||||
"started_at": "2026-11-17T14:39:01.016850053Z",
|
||||
"restart_count": 0
|
||||
},
|
||||
"delivery_events": [
|
||||
"worker-1 | 2026-11-17 14:39:02,540 INFO delivery job_id=92915f04-938a-4253-823f-8c299eb87788 redelivered=False",
|
||||
"worker-1 | 2026-11-17 14:39:05,774 WARNING fault_injection job_id=92915f04-938a-4253-823f-8c299eb87788 stage=before_ack exit_code=75",
|
||||
"worker-1 | 2026-11-17 14:39:08,149 INFO delivery job_id=92915f04-938a-4253-823f-8c299eb87788 redelivered=True",
|
||||
"worker-1 | 2026-11-17 14:39:08,150 INFO ack job_id=92915f04-938a-4253-823f-8c299eb87788"
|
||||
],
|
||||
"worker_after_fault": {
|
||||
"started_at": "2026-11-17T14:39:06.865588951Z",
|
||||
"restart_count": 1
|
||||
},
|
||||
"final_job": {
|
||||
"job_id": "92915f04-938a-4253-823f-8c299eb87788",
|
||||
"status": "ready",
|
||||
"attempt": 1,
|
||||
"outbox_count": 1,
|
||||
"published": true
|
||||
},
|
||||
"fault": {
|
||||
"consumed": true
|
||||
},
|
||||
"variant_rows": 3,
|
||||
"final_object_keys": [
|
||||
"originals/821b61c9-7251-491b-ad51-c29870dd43ab",
|
||||
"variants/821b61c9-7251-491b-ad51-c29870dd43ab/v1/crop",
|
||||
"variants/821b61c9-7251-491b-ad51-c29870dd43ab/v1/optimized",
|
||||
"variants/821b61c9-7251-491b-ad51-c29870dd43ab/v1/thumbnail"
|
||||
],
|
||||
"result": "PASS"
|
||||
}
|
||||
Reference in New Issue
Block a user