forked from mtusi2026/mtusi2026lab5
- раздел «Внешний аудит»: замечание -> исправление -> доказательство, что сознательно не сделано - исправлены опровергнутые утверждения (draft и память, метаданные, лимиты) - evidence/ из полного прогона run_all.sh в чистом clone: 30 проверок, overall=0; before-fix/ — воспроизведения дефектов до исправления
123 lines
2.9 KiB
JSON
123 lines
2.9 KiB
JSON
{
|
|
"scenario": "janitor staging cleanup vs operator replay",
|
|
"date_utc": "2026-11-13T18:13:17+00:00",
|
|
"steps": [
|
|
{
|
|
"t": 18.28,
|
|
"utc": "18:12:49.407",
|
|
"step": "three failed attachments prepared",
|
|
"ids": [
|
|
"70937618-27be-4e96-8d66-bd2078e2bae4",
|
|
"512f0444-a200-4dbd-9019-199135218806",
|
|
"235fa5c6-a857-4b05-b6f5-73bde0a534d2"
|
|
]
|
|
},
|
|
{
|
|
"t": 27.76,
|
|
"utc": "18:12:58.879",
|
|
"step": "C: janitor selected z, replay committed, janitor rechecked under lock and skipped -> ready",
|
|
"attachment_id": "70937618-27be-4e96-8d66-bd2078e2bae4",
|
|
"janitor_candidates_included_z": true,
|
|
"replay": "replayed",
|
|
"janitor_staging_skipped_changed": 1,
|
|
"janitor_staging_failed_expired": 0,
|
|
"final": "ready",
|
|
"janitor_released_staging": false,
|
|
"events": [
|
|
"enqueued",
|
|
"claimed",
|
|
"retry_scheduled",
|
|
"claimed",
|
|
"retry_scheduled",
|
|
"claimed",
|
|
"retry_scheduled",
|
|
"claimed",
|
|
"retry_scheduled",
|
|
"claimed",
|
|
"failed",
|
|
"replayed",
|
|
"claimed",
|
|
"ready",
|
|
"staging_deleted"
|
|
]
|
|
},
|
|
{
|
|
"t": 33.71,
|
|
"utc": "18:13:04.829",
|
|
"step": "A: replay first -> janitor leaves it -> ready",
|
|
"attachment_id": "512f0444-a200-4dbd-9019-199135218806",
|
|
"replay": "replayed",
|
|
"staging_object_present": true,
|
|
"final": "ready"
|
|
},
|
|
{
|
|
"t": 39.48,
|
|
"utc": "18:13:10.604",
|
|
"step": "B: janitor first -> replay refused, no job without source",
|
|
"attachment_id": "235fa5c6-a857-4b05-b6f5-73bde0a534d2",
|
|
"janitor_staging_failed_expired": 1,
|
|
"replay": "refused_staging_expired",
|
|
"status": "failed",
|
|
"staging_key": null,
|
|
"staging_objects": [],
|
|
"events": [
|
|
"claimed",
|
|
"failed",
|
|
"staging_released"
|
|
]
|
|
},
|
|
{
|
|
"t": 46.63,
|
|
"utc": "18:13:17.756",
|
|
"step": "workers restored to .env configuration"
|
|
}
|
|
],
|
|
"results": {
|
|
"C_janitor_selected_then_replay": {
|
|
"attachment_id": "70937618-27be-4e96-8d66-bd2078e2bae4",
|
|
"janitor_candidates_included_z": true,
|
|
"replay": "replayed",
|
|
"janitor_staging_skipped_changed": 1,
|
|
"janitor_staging_failed_expired": 0,
|
|
"final": "ready",
|
|
"janitor_released_staging": false,
|
|
"events": [
|
|
"enqueued",
|
|
"claimed",
|
|
"retry_scheduled",
|
|
"claimed",
|
|
"retry_scheduled",
|
|
"claimed",
|
|
"retry_scheduled",
|
|
"claimed",
|
|
"retry_scheduled",
|
|
"claimed",
|
|
"failed",
|
|
"replayed",
|
|
"claimed",
|
|
"ready",
|
|
"staging_deleted"
|
|
]
|
|
},
|
|
"A_replay_then_janitor": {
|
|
"attachment_id": "512f0444-a200-4dbd-9019-199135218806",
|
|
"replay": "replayed",
|
|
"staging_object_present": true,
|
|
"final": "ready"
|
|
},
|
|
"B_janitor_then_replay": {
|
|
"attachment_id": "235fa5c6-a857-4b05-b6f5-73bde0a534d2",
|
|
"janitor_staging_failed_expired": 1,
|
|
"replay": "refused_staging_expired",
|
|
"status": "failed",
|
|
"staging_key": null,
|
|
"staging_objects": [],
|
|
"events": [
|
|
"claimed",
|
|
"failed",
|
|
"staging_released"
|
|
]
|
|
}
|
|
}
|
|
}
|