ЛР5: брокер RabbitMQ, worker, outbox, retry/DLQ/replay, трек 1

This commit is contained in:
2026-11-12 13:29:23 +03:00
parent 276dbdad8a
commit 726c77156e
66 changed files with 7731 additions and 18 deletions
+74
View File
@@ -0,0 +1,74 @@
{
"scenario": "effect-crash",
"result": "PASS",
"started_at": "2026-11-11T23:24:19Z",
"fault": "worker os.Exit after writing original+variants to S3, before result COMMIT and ack",
"attachment_id": "4e2f8752-7072-4dc0-ae24-eccb7f6d25ff",
"upload": 202,
"worker_restart_counts_before": {
"d3259669fad0": 0
},
"worker_restart_counts_after": {
"d3259669fad0": 1
},
"statuses_seen": [
"queued",
"processing",
"ready"
],
"events": [
{
"attempt": "1",
"event": "queued",
"error_code": "",
"at": "23:24:21.431"
},
{
"attempt": "1",
"event": "started",
"error_code": "",
"at": "23:24:21.482"
},
{
"attempt": "1",
"event": "taken_over",
"error_code": "",
"at": "23:24:22.154"
},
{
"attempt": "1",
"event": "ready",
"error_code": "",
"at": "23:24:22.573"
}
],
"job_after": {
"job_id": "f945f7fb-dd8f-461b-b3e5-7cae6db38fcc",
"status": "ready",
"attempt": 1,
"max_attempts": 5,
"error_code": "",
"variant_rows": 3,
"outbox_rows": 1,
"outbox_unpublished": 0,
"staging_removed": true
},
"s3": {
"variants_objects": 3,
"final_original": 1,
"staging_objects": 0
},
"redelivery_noop_log": [],
"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
}
}