Собрать стенд лабораторной 5: очередь, worker и идемпотентность pipeline.
This commit is contained in:
@@ -0,0 +1,318 @@
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"name": "durability",
|
||||
"ok": true,
|
||||
"seconds": 122.813,
|
||||
"detail": {
|
||||
"upload_status": "queued",
|
||||
"content_while_queued": 409,
|
||||
"text_status": 201,
|
||||
"text_id": "0cb05d10-70d9-46a2-9fad-3272a92af1b3",
|
||||
"linked_id": "5ffaee48-8e7c-4742-a5f1-b2991fed1a4b",
|
||||
"queue_before_api_restart": 1,
|
||||
"queue_after_api_restart": 1,
|
||||
"queue_after_rabbit_restart": 1,
|
||||
"picture": {
|
||||
"pipeline_version": 1,
|
||||
"variant_rows": 4,
|
||||
"thumbnail": [
|
||||
256,
|
||||
160
|
||||
],
|
||||
"crop": [
|
||||
128,
|
||||
128
|
||||
],
|
||||
"optimized": [
|
||||
320,
|
||||
200
|
||||
],
|
||||
"original_sha256": "99ea7533c441f79cd630d15ce4d58d1ec4e06f6f0efb3b77a5c088305cd1bd75"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "outbox_gap",
|
||||
"ok": true,
|
||||
"seconds": 26.781,
|
||||
"detail": {
|
||||
"unpublished_before_worker": 1,
|
||||
"queue_depth": 0,
|
||||
"picture": {
|
||||
"pipeline_version": 1,
|
||||
"variant_rows": 4,
|
||||
"thumbnail": [
|
||||
256,
|
||||
160
|
||||
],
|
||||
"crop": [
|
||||
128,
|
||||
128
|
||||
],
|
||||
"optimized": [
|
||||
320,
|
||||
200
|
||||
],
|
||||
"original_sha256": "99ea7533c441f79cd630d15ce4d58d1ec4e06f6f0efb3b77a5c088305cd1bd75"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "duplicate",
|
||||
"ok": true,
|
||||
"seconds": 19.203,
|
||||
"detail": {
|
||||
"republish": true,
|
||||
"picture": {
|
||||
"pipeline_version": 1,
|
||||
"variant_rows": 4,
|
||||
"thumbnail": [
|
||||
256,
|
||||
160
|
||||
],
|
||||
"crop": [
|
||||
128,
|
||||
128
|
||||
],
|
||||
"optimized": [
|
||||
320,
|
||||
200
|
||||
],
|
||||
"original_sha256": "99ea7533c441f79cd630d15ce4d58d1ec4e06f6f0efb3b77a5c088305cd1bd75"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "reorder",
|
||||
"ok": true,
|
||||
"seconds": 19.688,
|
||||
"detail": {
|
||||
"attempt": 1,
|
||||
"picture": {
|
||||
"pipeline_version": 1,
|
||||
"variant_rows": 4,
|
||||
"thumbnail": [
|
||||
256,
|
||||
160
|
||||
],
|
||||
"crop": [
|
||||
128,
|
||||
128
|
||||
],
|
||||
"optimized": [
|
||||
320,
|
||||
200
|
||||
],
|
||||
"original_sha256": "99ea7533c441f79cd630d15ce4d58d1ec4e06f6f0efb3b77a5c088305cd1bd75"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "stale_version",
|
||||
"ok": true,
|
||||
"seconds": 26.906,
|
||||
"detail": {
|
||||
"bump": {
|
||||
"job_id": "a7af6898-08db-4a00-aff6-a2b654e3e0da",
|
||||
"pipeline_version": 2
|
||||
},
|
||||
"old_job_status": "superseded",
|
||||
"old_error_code": "superseded",
|
||||
"attachment_error_code": null,
|
||||
"picture": {
|
||||
"pipeline_version": 2,
|
||||
"variant_rows": 4,
|
||||
"thumbnail": [
|
||||
256,
|
||||
160
|
||||
],
|
||||
"crop": [
|
||||
128,
|
||||
128
|
||||
],
|
||||
"optimized": [
|
||||
320,
|
||||
200
|
||||
],
|
||||
"original_sha256": "99ea7533c441f79cd630d15ce4d58d1ec4e06f6f0efb3b77a5c088305cd1bd75"
|
||||
},
|
||||
"thumbnail_unchanged": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "crash_before_effect",
|
||||
"ok": true,
|
||||
"seconds": 19.281,
|
||||
"detail": {
|
||||
"restart_count_before": 0,
|
||||
"restart_count_after": 1,
|
||||
"picture": {
|
||||
"pipeline_version": 1,
|
||||
"variant_rows": 4,
|
||||
"thumbnail": [
|
||||
256,
|
||||
160
|
||||
],
|
||||
"crop": [
|
||||
128,
|
||||
128
|
||||
],
|
||||
"optimized": [
|
||||
320,
|
||||
200
|
||||
],
|
||||
"original_sha256": "99ea7533c441f79cd630d15ce4d58d1ec4e06f6f0efb3b77a5c088305cd1bd75"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "crash_after_objects",
|
||||
"ok": true,
|
||||
"seconds": 14.968,
|
||||
"detail": {
|
||||
"started_at": "2026-11-12T09:24:05.644199607Z",
|
||||
"restarted_at": "2026-11-12T09:24:09.042866995Z",
|
||||
"picture": {
|
||||
"pipeline_version": 1,
|
||||
"variant_rows": 4,
|
||||
"thumbnail": [
|
||||
256,
|
||||
160
|
||||
],
|
||||
"crop": [
|
||||
128,
|
||||
128
|
||||
],
|
||||
"optimized": [
|
||||
320,
|
||||
200
|
||||
],
|
||||
"original_sha256": "99ea7533c441f79cd630d15ce4d58d1ec4e06f6f0efb3b77a5c088305cd1bd75"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "crash_after_commit",
|
||||
"ok": true,
|
||||
"seconds": 11.563,
|
||||
"detail": {
|
||||
"started_at": "2026-11-12T09:24:21.448659497Z",
|
||||
"restarted_at": "2026-11-12T09:24:24.489665631Z",
|
||||
"picture": {
|
||||
"pipeline_version": 1,
|
||||
"variant_rows": 4,
|
||||
"thumbnail": [
|
||||
256,
|
||||
160
|
||||
],
|
||||
"crop": [
|
||||
128,
|
||||
128
|
||||
],
|
||||
"optimized": [
|
||||
320,
|
||||
200
|
||||
],
|
||||
"original_sha256": "99ea7533c441f79cd630d15ce4d58d1ec4e06f6f0efb3b77a5c088305cd1bd75"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "transient_once",
|
||||
"ok": true,
|
||||
"seconds": 13.187,
|
||||
"detail": {
|
||||
"attempt": 2,
|
||||
"events": [
|
||||
"leased",
|
||||
"retry",
|
||||
"leased",
|
||||
"ready"
|
||||
],
|
||||
"variant_rows": 4,
|
||||
"status": "ready"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "permanent_replay",
|
||||
"ok": true,
|
||||
"seconds": 28.407,
|
||||
"detail": {
|
||||
"corrupt_sha256": "99ea7533c441f79cd630d15ce4d58d1ec4e06f6f0efb3b77a5c088305cd1bd75",
|
||||
"failed_code": "invalid_image",
|
||||
"attempt_at_fail": 1,
|
||||
"restored_sha256": "99ea7533c441f79cd630d15ce4d58d1ec4e06f6f0efb3b77a5c088305cd1bd75",
|
||||
"replay": {
|
||||
"result": "queued"
|
||||
},
|
||||
"second_replay": {
|
||||
"result": "already_ready"
|
||||
},
|
||||
"variant_rows": 4,
|
||||
"picture": {
|
||||
"pipeline_version": 1,
|
||||
"variant_rows": 4,
|
||||
"thumbnail": [
|
||||
256,
|
||||
160
|
||||
],
|
||||
"crop": [
|
||||
128,
|
||||
128
|
||||
],
|
||||
"optimized": [
|
||||
320,
|
||||
200
|
||||
],
|
||||
"original_sha256": "99ea7533c441f79cd630d15ce4d58d1ec4e06f6f0efb3b77a5c088305cd1bd75"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "lease",
|
||||
"ok": true,
|
||||
"seconds": 41.14,
|
||||
"detail": {
|
||||
"seconds_until_ready": 17.078,
|
||||
"events": [
|
||||
"lease_expired",
|
||||
"leased",
|
||||
"ready"
|
||||
],
|
||||
"attempt": 1,
|
||||
"picture": {
|
||||
"pipeline_version": 1,
|
||||
"variant_rows": 4,
|
||||
"thumbnail": [
|
||||
256,
|
||||
160
|
||||
],
|
||||
"crop": [
|
||||
128,
|
||||
128
|
||||
],
|
||||
"optimized": [
|
||||
320,
|
||||
200
|
||||
],
|
||||
"original_sha256": "99ea7533c441f79cd630d15ce4d58d1ec4e06f6f0efb3b77a5c088305cd1bd75"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "ready_503",
|
||||
"ok": true,
|
||||
"seconds": 13.625,
|
||||
"detail": {
|
||||
"lb_status": 503,
|
||||
"lb_body": "<html><body><h1>503 Service Unavailable</h1>\nNo server is available to handle this request.\n</body></html>\n",
|
||||
"api_status": 503,
|
||||
"api_message": "Сервис временно недоступен",
|
||||
"forbidden": [],
|
||||
"recovered": 200,
|
||||
"recovery_seconds": 0.063
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user