Files
mtusi2026lab5/evidence/replay-dlq.json
T
2026-11-20 20:11:39 +03:00

62 lines
1.9 KiB
JSON

{
"attachment_id": "d85cabe4-eb15-47ae-8d54-aece0bc6e26f",
"failed_attachment_status": "failed",
"failed_error_code": "invalid_image",
"failed_job": {
"attempts": 1,
"created_at": "2026-11-20T16:19:50.473300Z",
"finished_at": "2026-11-20T16:19:58.307023Z",
"id": "1addb168-76f0-4b23-bff7-10bf3fd7a44c",
"last_error_code": "invalid_image",
"lease_token": null,
"max_attempts": 5,
"pipeline_version": 2,
"replay_of": null,
"state": "failed",
"updated_at": "2026-11-20T16:19:58.307023Z",
"worker_id": "cf0cdb427054"
},
"final_variants": [
"crop",
"optimized",
"thumbnail"
],
"note": "The permanent fault produced failed+error_code and a DLQ message. Explicit replay created a new job_id linked by replay_of; the effect key stayed the same. Replaying an already ready job was refused.",
"original_job_id": "1addb168-76f0-4b23-bff7-10bf3fd7a44c",
"passed": true,
"queues_after_failure": {
"attachment.dlq": {
"messages": 5,
"ready": 5,
"unacknowledged": 0
},
"attachment.jobs": {
"messages": 0,
"ready": 0,
"unacknowledged": 0
}
},
"replay_job": {
"attempts": 1,
"created_at": "2026-11-20T16:20:13.115972Z",
"finished_at": "2026-11-20T16:20:13.471779Z",
"id": "25870dc2-6c98-414e-a03e-7cddbd675d90",
"last_error_code": null,
"lease_token": null,
"max_attempts": 5,
"pipeline_version": 2,
"replay_of": "1addb168-76f0-4b23-bff7-10bf3fd7a44c",
"state": "ready",
"updated_at": "2026-11-20T16:20:13.471779Z",
"worker_id": "cf0cdb427054"
},
"replay_job_id": "25870dc2-6c98-414e-a03e-7cddbd675d90",
"replay_of_ready_attempt": {
"return_code": 3,
"stderr": "replay rejected: only failed jobs can be replayed",
"stdout": ""
},
"scenario": "permanent_failure_dlq_and_replay",
"started_at": null,
"status_after_replay": "ready"
}