Implement durable image processing pipeline with outbox and recovery
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"scenario": "failed staging integrity and audited replay",
|
||||
"attachment_id": "9bcd1157-a974-444f-bba6-ec4fc558d287",
|
||||
"job_id": "c48f14d0-586d-4c76-9b0e-a1b90e2e0cd8",
|
||||
"failed_job": {
|
||||
"job_id": "c48f14d0-586d-4c76-9b0e-a1b90e2e0cd8",
|
||||
"status": "failed",
|
||||
"attempt": 1,
|
||||
"outbox_count": 1,
|
||||
"published": true
|
||||
},
|
||||
"rejected_replay": {
|
||||
"result": "error",
|
||||
"error_type": "ValueError"
|
||||
},
|
||||
"dry_run": {
|
||||
"result": "dry_run",
|
||||
"job_id": "c48f14d0-586d-4c76-9b0e-a1b90e2e0cd8",
|
||||
"previous_attempt": 1,
|
||||
"new_attempt": 2,
|
||||
"new_max_attempts": 6,
|
||||
"previous_error_code": "invalid_image"
|
||||
},
|
||||
"applied_replay": {
|
||||
"result": "replayed",
|
||||
"job_id": "c48f14d0-586d-4c76-9b0e-a1b90e2e0cd8",
|
||||
"previous_attempt": 1,
|
||||
"new_attempt": 2,
|
||||
"new_max_attempts": 6,
|
||||
"previous_error_code": "invalid_image"
|
||||
},
|
||||
"final_job": {
|
||||
"job_id": "c48f14d0-586d-4c76-9b0e-a1b90e2e0cd8",
|
||||
"status": "ready",
|
||||
"attempt": 2,
|
||||
"outbox_count": 2,
|
||||
"published": true
|
||||
},
|
||||
"ready_replay": {
|
||||
"result": "noop",
|
||||
"job_id": "c48f14d0-586d-4c76-9b0e-a1b90e2e0cd8",
|
||||
"status": "ready",
|
||||
"reason": "job_is_not_current_failed_work"
|
||||
},
|
||||
"audit_rows": 1,
|
||||
"object_count": 4,
|
||||
"result": "PASS"
|
||||
}
|
||||
Reference in New Issue
Block a user