ЛР5: брокер RabbitMQ, worker, outbox, retry/DLQ/replay, трек 1
This commit is contained in:
@@ -0,0 +1,77 @@
|
||||
{
|
||||
"scenario": "hang",
|
||||
"result": "PASS",
|
||||
"started_at": "2026-11-11T23:25:57Z",
|
||||
"fault": "attempt 1 freezes for 3x lease without heartbeat (simulated hung worker)",
|
||||
"attachment_id": "9eb5e502-1491-4ae3-93ae-5031997a921d",
|
||||
"seconds_to_ready": 31.6,
|
||||
"statuses_seen": [
|
||||
"queued",
|
||||
"processing",
|
||||
"queued",
|
||||
"ready"
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"attempt": "1",
|
||||
"event": "queued",
|
||||
"error_code": "",
|
||||
"at": "23:25:57.874"
|
||||
},
|
||||
{
|
||||
"attempt": "1",
|
||||
"event": "started",
|
||||
"error_code": "",
|
||||
"at": "23:25:57.929"
|
||||
},
|
||||
{
|
||||
"attempt": "1",
|
||||
"event": "retry_scheduled",
|
||||
"error_code": "lease_expired",
|
||||
"at": "23:26:29.068"
|
||||
},
|
||||
{
|
||||
"attempt": "2",
|
||||
"event": "started",
|
||||
"error_code": "",
|
||||
"at": "23:26:29.319"
|
||||
},
|
||||
{
|
||||
"attempt": "2",
|
||||
"event": "ready",
|
||||
"error_code": "",
|
||||
"at": "23:26:29.391"
|
||||
}
|
||||
],
|
||||
"job_after": {
|
||||
"job_id": "f955fe0d-3b17-42bf-8df8-aae785e1ae68",
|
||||
"status": "ready",
|
||||
"attempt": 2,
|
||||
"max_attempts": 5,
|
||||
"error_code": "",
|
||||
"variant_rows": 3,
|
||||
"outbox_rows": 2,
|
||||
"outbox_unpublished": 0,
|
||||
"staging_removed": true
|
||||
},
|
||||
"s3": {
|
||||
"variants_objects": 3,
|
||||
"final_original": 1,
|
||||
"staging_objects": 0
|
||||
},
|
||||
"stale_attempt_logs": [
|
||||
"stale attempt finished after takeover; result already owned by newer attempt"
|
||||
],
|
||||
"ready_check": {
|
||||
"variants": {
|
||||
"thumbnail": "image/jpeg 256x160 5620B",
|
||||
"crop": "image/jpeg 128x128 2440B",
|
||||
"optimized": "image/webp 320x200 2462B"
|
||||
},
|
||||
"thumbnail_real_jpeg_size": [
|
||||
256,
|
||||
160
|
||||
],
|
||||
"original_sha256_ok": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user