Files
mtusi2026lab5/evidence/worker-outage.json
T
zemiles 27f30afdad Отчёт и evidence: исправления по внешнему аудиту F01–F17, проверка из чистого clone
- раздел «Внешний аудит»: замечание -> исправление -> доказательство,
  что сознательно не сделано
- исправлены опровергнутые утверждения (draft и память, метаданные, лимиты)
- evidence/ из полного прогона run_all.sh в чистом clone: 30 проверок, overall=0;
  before-fix/ — воспроизведения дефектов до исправления
2026-11-13 21:19:10 +03:00

186 lines
3.6 KiB
JSON

{
"scenario": "worker outage -> restart api+broker -> worker start -> ready -> redelivery",
"date_utc": "2026-11-13T18:06:01+00:00",
"steps": [
{
"t": 1.48,
"utc": "18:05:32.760",
"step": "worker stopped",
"running": []
},
{
"t": 2.45,
"utc": "18:05:33.736",
"step": "upload while worker is down",
"http": 202,
"attachment_id": "67a8fe5e-5c9d-4193-a09f-c2b3aa50962a",
"status": "queued"
},
{
"t": 2.46,
"utc": "18:05:33.744",
"step": "metadata and content while queued",
"status": "queued",
"content": 409,
"thumbnail": 409,
"error_code": "conflict"
},
{
"t": 2.47,
"utc": "18:05:33.752",
"step": "messages while worker is down",
"with_queued_attachment": true,
"plain_message_id": "859feea3-e045-420b-906a-a2d71239abe6"
},
{
"t": 5.4,
"utc": "18:05:36.685",
"step": "job is durable in broker",
"queue": {
"messages": 1,
"messages_ready": 1,
"messages_unacknowledged": 0,
"consumers": 0
},
"outbox_published": true,
"job_id": "4eb87124-ca0c-462b-a04d-09e558406474",
"job_status": "queued"
},
{
"t": 14.16,
"utc": "18:05:45.437",
"step": "api restarted",
"status": "queued"
},
{
"t": 22.35,
"utc": "18:05:53.630",
"step": "broker restarted with volume",
"queue": {
"messages": 1,
"messages_ready": 1,
"messages_unacknowledged": 0,
"consumers": 0
},
"status": "queued"
},
{
"t": 28.18,
"utc": "18:05:59.459",
"step": "worker started"
},
{
"t": 28.21,
"utc": "18:05:59.493",
"step": "ready after worker start",
"variants": [
[
"thumbnail",
256,
160
],
[
"crop",
128,
128
],
[
"optimized",
320,
200
]
],
"original_sha256_ok": true,
"thumbnail_bytes": 4679
},
{
"t": 29.98,
"utc": "18:06:01.259",
"step": "redelivery of the same job is a no-op",
"events": [
"enqueued",
"claimed",
"ready",
"staging_deleted",
"duplicate_ignored"
],
"invariants": {
"variants": [
"crop",
"optimized",
"thumbnail"
],
"variants_ok": true,
"final_objects": 4,
"final_objects_ok": true,
"staging_left": false,
"job_status": "ready",
"attempt": 1
}
}
],
"attachment_id": "67a8fe5e-5c9d-4193-a09f-c2b3aa50962a",
"job_id": "4eb87124-ca0c-462b-a04d-09e558406474",
"events": [
{
"job_id": "4eb87124-ca0c-462b-a04d-09e558406474",
"at": "2026-11-13T18:05:33.732171Z",
"event": "enqueued",
"attempt": 1,
"actor": "api",
"detail": null
},
{
"job_id": "4eb87124-ca0c-462b-a04d-09e558406474",
"at": "2026-11-13T18:05:54.254979Z",
"event": "claimed",
"attempt": 1,
"actor": "338465464bda:c0c75819",
"detail": {
"redelivered_message_attempt": 1
}
},
{
"job_id": "4eb87124-ca0c-462b-a04d-09e558406474",
"at": "2026-11-13T18:05:54.379915Z",
"event": "ready",
"attempt": 1,
"actor": "338465464bda:c0c75819",
"detail": {
"variants": {
"crop": [
128,
128
],
"optimized": [
320,
200
],
"thumbnail": [
256,
160
]
}
}
},
{
"job_id": "4eb87124-ca0c-462b-a04d-09e558406474",
"at": "2026-11-13T18:05:54.380926Z",
"event": "staging_deleted",
"attempt": 1,
"actor": "338465464bda:c0c75819",
"detail": null
},
{
"job_id": "4eb87124-ca0c-462b-a04d-09e558406474",
"at": "2026-11-13T18:06:00.259189Z",
"event": "duplicate_ignored",
"attempt": 1,
"actor": "338465464bda:c0c75819",
"detail": {
"status": "ready"
}
}
]
}