forked from mtusi2026/mtusi2026lab5
Отчёт и evidence: исправления по внешнему аудиту F01–F17, проверка из чистого clone
- раздел «Внешний аудит»: замечание -> исправление -> доказательство, что сознательно не сделано - исправлены опровергнутые утверждения (draft и память, метаданные, лимиты) - evidence/ из полного прогона run_all.sh в чистом clone: 30 проверок, overall=0; before-fix/ — воспроизведения дефектов до исправления
This commit is contained in:
+53
-53
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"scenario": "worker faults, retries, failed registry, replay, DLQ",
|
||||
"date_utc": "2026-11-13T17:55:56+00:00",
|
||||
"date_utc": "2026-11-13T18:08:43+00:00",
|
||||
"steps": [
|
||||
{
|
||||
"t": 7.38,
|
||||
"utc": "17:53:33.626",
|
||||
"t": 7.54,
|
||||
"utc": "18:06:21.593",
|
||||
"step": "workers recreated with fault injection",
|
||||
"env": {
|
||||
"WORKER_FAULT_INJECTION": "1",
|
||||
@@ -13,8 +13,8 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"t": 41.67,
|
||||
"utc": "17:54:07.922",
|
||||
"t": 40.79,
|
||||
"utc": "18:06:54.847",
|
||||
"step": "crash-after-claim",
|
||||
"events": [
|
||||
"enqueued",
|
||||
@@ -42,8 +42,8 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"t": 76.8,
|
||||
"utc": "17:54:43.051",
|
||||
"t": 76.26,
|
||||
"utc": "18:07:30.315",
|
||||
"step": "crash-after-s3-put",
|
||||
"events": [
|
||||
"enqueued",
|
||||
@@ -71,8 +71,8 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"t": 81.11,
|
||||
"utc": "17:54:47.360",
|
||||
"t": 80.62,
|
||||
"utc": "18:07:34.677",
|
||||
"step": "crash-after-commit",
|
||||
"events": [
|
||||
"enqueued",
|
||||
@@ -97,21 +97,21 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"t": 81.24,
|
||||
"utc": "17:54:47.489",
|
||||
"t": 80.76,
|
||||
"utc": "18:07:34.819",
|
||||
"step": "worker containers after crashes (restart: unless-stopped)",
|
||||
"containers": [
|
||||
"/mtusi-lab5-worker-1 1 running",
|
||||
"/mtusi-lab5-worker-2 2 running"
|
||||
"/mtusi-lab5-fresh-worker-1 1 running",
|
||||
"/mtusi-lab5-fresh-worker-2 2 running"
|
||||
]
|
||||
},
|
||||
{
|
||||
"t": 85.49,
|
||||
"utc": "17:54:51.743",
|
||||
"t": 85.08,
|
||||
"utc": "18:07:39.138",
|
||||
"step": "transient-2: retried with backoff",
|
||||
"delays": [
|
||||
0.72,
|
||||
1.133
|
||||
0.968,
|
||||
1.852
|
||||
],
|
||||
"bounds": [
|
||||
[
|
||||
@@ -138,14 +138,14 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"t": 87.52,
|
||||
"utc": "17:54:53.769",
|
||||
"t": 87.18,
|
||||
"utc": "18:07:41.233",
|
||||
"step": "unexpected exception -> processing_failed -> retry -> ready",
|
||||
"attachment_id": "fa2eb139-4738-48c7-afd9-0b555d748c2b",
|
||||
"attachment_id": "5c527c98-0276-4827-b652-d74ea3872885",
|
||||
"retry_error_codes": [
|
||||
"processing_failed"
|
||||
],
|
||||
"seconds_to_ready": 1.27,
|
||||
"seconds_to_ready": 1.26,
|
||||
"events": [
|
||||
"enqueued",
|
||||
"claimed",
|
||||
@@ -169,30 +169,30 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"t": 103.32,
|
||||
"utc": "17:55:09.568",
|
||||
"t": 102.16,
|
||||
"utc": "18:07:56.211",
|
||||
"step": "transient-always: failed after max attempts",
|
||||
"error_code": "retry_exhausted",
|
||||
"attempts": 5,
|
||||
"content": 409,
|
||||
"attach": 409,
|
||||
"registry_entry": {
|
||||
"attachment_id": "663cfcb8-6d2a-46e4-8f8b-09ab2733c642",
|
||||
"job_id": "51eda108-3eee-46e4-96be-5bfca56c0a1c",
|
||||
"attachment_id": "e1b414dd-1f9e-4982-9de1-e31e69f89523",
|
||||
"job_id": "a795d934-00a6-4e23-9be0-3371a2ebbd55",
|
||||
"error_code": "retry_exhausted",
|
||||
"attempt": 5,
|
||||
"max_attempts": 5,
|
||||
"replay_count": 0,
|
||||
"last_error": "last error: storage_unavailable injected transient error",
|
||||
"updated_at": "2026-11-13T17:55:07.923464Z",
|
||||
"updated_at": "2026-11-13T18:07:54.386852Z",
|
||||
"replayable": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"t": 106.82,
|
||||
"utc": "17:55:13.072",
|
||||
"t": 106.01,
|
||||
"utc": "18:08:00.069",
|
||||
"step": "replay -> ready; replay of ready refused",
|
||||
"attachment_id": "663cfcb8-6d2a-46e4-8f8b-09ab2733c642",
|
||||
"attachment_id": "e1b414dd-1f9e-4982-9de1-e31e69f89523",
|
||||
"dry_run": "would_replay",
|
||||
"replay": "replayed",
|
||||
"second_replay": "refused_status_ready",
|
||||
@@ -229,10 +229,10 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"t": 115.6,
|
||||
"utc": "17:55:21.852",
|
||||
"t": 115.41,
|
||||
"utc": "18:08:09.461",
|
||||
"step": "tampered staging -> failed without retries",
|
||||
"attachment_id": "b6e7e80e-6b67-4e72-a034-e811f6f99b05",
|
||||
"attachment_id": "03f82fee-70af-4267-a19d-a3a5d7f5ea17",
|
||||
"error_code": "staging_corrupted",
|
||||
"attempts": 1,
|
||||
"events": [
|
||||
@@ -242,8 +242,8 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"t": 126.17,
|
||||
"utc": "17:55:32.419",
|
||||
"t": 126.1,
|
||||
"utc": "18:08:20.155",
|
||||
"step": "poison message dead-lettered and purged",
|
||||
"dlq_before": 0,
|
||||
"dlq_after_publish": 1,
|
||||
@@ -261,10 +261,10 @@
|
||||
"dlq_after_purge": 0
|
||||
},
|
||||
{
|
||||
"t": 143.17,
|
||||
"utc": "17:55:49.417",
|
||||
"t": 143.08,
|
||||
"utc": "18:08:37.133",
|
||||
"step": "job deadline exceeded -> processing_timeout -> retry -> ready",
|
||||
"attachment_id": "2fd55b68-dab6-4549-92ca-f65dbfdef0c7",
|
||||
"attachment_id": "176a0882-0837-439a-9766-d66c6147ac7d",
|
||||
"retry_error_codes": [
|
||||
"processing_timeout"
|
||||
],
|
||||
@@ -291,14 +291,14 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"t": 149.95,
|
||||
"utc": "17:55:56.200",
|
||||
"t": 149.87,
|
||||
"utc": "18:08:43.921",
|
||||
"step": "workers restored to .env configuration"
|
||||
}
|
||||
],
|
||||
"results": {
|
||||
"crash-after-claim": {
|
||||
"attachment_id": "e4f486a2-e2cc-4630-afbc-6eec514458b7",
|
||||
"attachment_id": "6713044e-dfa3-4af1-9be4-9629cf92b391",
|
||||
"events": [
|
||||
"enqueued",
|
||||
"claimed",
|
||||
@@ -325,7 +325,7 @@
|
||||
}
|
||||
},
|
||||
"crash-after-s3-put": {
|
||||
"attachment_id": "d694f1a9-29e2-4d50-a2a4-20472eafa047",
|
||||
"attachment_id": "44871940-8f63-4c90-8484-18d3918fd6ad",
|
||||
"events": [
|
||||
"enqueued",
|
||||
"claimed",
|
||||
@@ -352,7 +352,7 @@
|
||||
}
|
||||
},
|
||||
"crash-after-commit": {
|
||||
"attachment_id": "1a077be1-1153-4a03-b0d2-ed65a91d1f8d",
|
||||
"attachment_id": "f2c860be-7496-4b63-8f3c-7300c582ed94",
|
||||
"events": [
|
||||
"enqueued",
|
||||
"claimed",
|
||||
@@ -376,10 +376,10 @@
|
||||
}
|
||||
},
|
||||
"transient-2": {
|
||||
"attachment_id": "797a8154-56d0-421d-a46a-2fecd999c3f0",
|
||||
"attachment_id": "a49187df-9a8c-4bad-9127-7ca2660f44aa",
|
||||
"delays": [
|
||||
0.72,
|
||||
1.133
|
||||
0.968,
|
||||
1.852
|
||||
],
|
||||
"bounds": [
|
||||
[
|
||||
@@ -392,9 +392,9 @@
|
||||
]
|
||||
],
|
||||
"claims_at": [
|
||||
"2026-11-13T17:54:47.512858Z",
|
||||
"2026-11-13T17:54:48.520912Z",
|
||||
"2026-11-13T17:54:50.561214Z"
|
||||
"2026-11-13T18:07:34.842536Z",
|
||||
"2026-11-13T18:07:35.850470Z",
|
||||
"2026-11-13T18:07:37.881538Z"
|
||||
],
|
||||
"invariants": {
|
||||
"variants": [
|
||||
@@ -411,11 +411,11 @@
|
||||
}
|
||||
},
|
||||
"bug": {
|
||||
"attachment_id": "fa2eb139-4738-48c7-afd9-0b555d748c2b",
|
||||
"attachment_id": "5c527c98-0276-4827-b652-d74ea3872885",
|
||||
"retry_error_codes": [
|
||||
"processing_failed"
|
||||
],
|
||||
"seconds_to_ready": 1.27,
|
||||
"seconds_to_ready": 1.26,
|
||||
"events": [
|
||||
"enqueued",
|
||||
"claimed",
|
||||
@@ -439,7 +439,7 @@
|
||||
}
|
||||
},
|
||||
"transient-always+replay": {
|
||||
"attachment_id": "663cfcb8-6d2a-46e4-8f8b-09ab2733c642",
|
||||
"attachment_id": "e1b414dd-1f9e-4982-9de1-e31e69f89523",
|
||||
"dry_run": "would_replay",
|
||||
"replay": "replayed",
|
||||
"second_replay": "refused_status_ready",
|
||||
@@ -476,7 +476,7 @@
|
||||
}
|
||||
},
|
||||
"staging-tamper": {
|
||||
"attachment_id": "b6e7e80e-6b67-4e72-a034-e811f6f99b05",
|
||||
"attachment_id": "03f82fee-70af-4267-a19d-a3a5d7f5ea17",
|
||||
"error_code": "staging_corrupted",
|
||||
"attempts": 1,
|
||||
"events": [
|
||||
@@ -502,7 +502,7 @@
|
||||
"dlq_after_purge": 0
|
||||
},
|
||||
"deadline": {
|
||||
"attachment_id": "2fd55b68-dab6-4549-92ca-f65dbfdef0c7",
|
||||
"attachment_id": "176a0882-0837-439a-9766-d66c6147ac7d",
|
||||
"retry_error_codes": [
|
||||
"processing_timeout"
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user