Record level 4 evidence and fill in the report

evidence/level4.json: all 17 scenarios of levels 3 and 4 and the eight
invariants pass on 0b85edf; evidence/operator.txt shows the failed
registry, a replay to ready, a noop replay, an expired replay and the
DLQ. Smoke, topology, level3, persistence, failover, lab 4 scenarios,
limits, student tests and contract checks are refreshed on the same
commit. REPORT.md describes the variants, worker limits, jitter, lease
renewal, crash points, replay and retention, adds rows 4.1-4.4, the
level 4 failure experiments and the updated limitations.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Artyom
2026-10-29 03:39:20 +03:00
co-authored by Claude Opus 5.5
parent 0b85edfdea
commit 573220e12a
19 changed files with 1277 additions and 203 deletions
+33 -29
View File
@@ -1,6 +1,6 @@
{
"suite": "lab5-pipeline-idempotency",
"started_at": "2026-10-28T22:20:16.079560Z",
"started_at": "2026-10-29T00:21:40.224842Z",
"config": {
"base_url": "http://localhost:18085",
"level": 3,
@@ -71,7 +71,7 @@
0
],
"attachments.process.dlq": [
0,
1,
0
]
},
@@ -92,11 +92,13 @@
"name": "smoke_pipeline",
"level": 3,
"window": "upload, ready, variants match metadata",
"seconds": 0.3,
"seconds": 1.3,
"result": "PASS",
"observed": {
"attachment_id": "01a18499-a3b4-71f7-9116-e01ab2e3927b",
"attachment_id": "01a18508-c6f6-774b-ae60-24aa728ad62c",
"variants": [
"crop",
"optimized",
"thumbnail"
]
}
@@ -105,31 +107,31 @@
"name": "worker_down_broker_restart",
"level": 3,
"window": "worker down, API and broker restart",
"seconds": 25.2,
"seconds": 24.0,
"result": "PASS",
"observed": {
"attachment_id": "01a18499-a689-742f-9c5c-bc6196e95b17",
"attachment_id": "01a18508-cd97-737c-bb03-5409de83ff8e",
"timeline": [
{
"at": "2026-10-28T22:20:24.579204Z",
"at": "2026-10-29T00:21:49.075959Z",
"step": "worker stopped"
},
{
"at": "2026-10-28T22:20:24.595477Z",
"at": "2026-10-29T00:21:49.095967Z",
"step": "upload 202 queued",
"attachment_id": "01a18499-a689-742f-9c5c-bc6196e95b17"
"attachment_id": "01a18508-cd97-737c-bb03-5409de83ff8e"
},
{
"at": "2026-10-28T22:20:24.599071Z",
"at": "2026-10-29T00:21:49.099982Z",
"step": "content 409 while queued"
},
{
"at": "2026-10-28T22:20:24.619147Z",
"at": "2026-10-29T00:21:49.138263Z",
"step": "message with attachment 201, other messages work",
"message_id": "01a18499-a698-7776-9a20-eacea53325fe"
"message_id": "01a18508-cdad-708f-8324-18123e9c7758"
},
{
"at": "2026-10-28T22:20:31.645448Z",
"at": "2026-10-29T00:21:54.782528Z",
"step": "job is in the broker queue",
"queues": {
"attachments.process": [
@@ -137,17 +139,17 @@
0
],
"attachments.process.dlq": [
0,
1,
0
]
}
},
{
"at": "2026-10-28T22:20:37.799903Z",
"at": "2026-10-29T00:22:00.869187Z",
"step": "API replicas and relay restarted"
},
{
"at": "2026-10-28T22:20:46.499917Z",
"at": "2026-10-29T00:22:09.698869Z",
"step": "broker restarted with its volume, job survived",
"queues": {
"attachments.process": [
@@ -155,19 +157,21 @@
0
],
"attachments.process.dlq": [
0,
1,
0
]
}
},
{
"at": "2026-10-28T22:20:49.240721Z",
"at": "2026-10-29T00:22:12.427256Z",
"step": "worker started"
},
{
"at": "2026-10-28T22:20:49.423263Z",
"at": "2026-10-29T00:22:12.707560Z",
"step": "ready",
"variants": [
"crop",
"optimized",
"thumbnail"
]
}
@@ -178,10 +182,10 @@
"name": "duplicate_after_ready",
"level": 3,
"window": "redelivery of a finished job",
"seconds": 3.9,
"seconds": 7.4,
"result": "PASS",
"observed": {
"attachment_id": "01a1849a-0796-74ec-9ed8-4fdce40fa325",
"attachment_id": "01a18509-29ee-7116-b3df-b04caf1c48e7",
"events": [
{
"kind": "enqueued",
@@ -206,7 +210,7 @@
"name": "poison_image",
"level": 3,
"window": "permanent error without retries",
"seconds": 0.1,
"seconds": 0.0,
"result": "PASS",
"observed": {
"rejected_by_api": 415
@@ -216,13 +220,13 @@
"name": "s3_outage_recovers",
"level": 3,
"window": "transient error with retry",
"seconds": 13.8,
"seconds": 11.6,
"result": "PASS",
"observed": {
"attachment_id": "01a1849a-18c4-7330-b1d6-a596a0e473c1",
"attachment_id": "01a18509-4892-72ec-8f31-ea07c55239c7",
"jobs": [
{
"job_id": "01a1849a-18cf-7463-b86e-697e4a60189d",
"job_id": "01a18509-4898-70c0-9198-8af96f5da78b",
"pipeline_version": 1,
"status": "done",
"attempt": 2
@@ -234,13 +238,13 @@
"name": "retry_exhausted",
"level": 3,
"window": "transient error until JOB_MAX_ATTEMPTS",
"seconds": 22.9,
"seconds": 23.4,
"result": "PASS",
"observed": {
"attachment_id": "01a1849a-5ba2-759c-8166-8c6061753c4b",
"attachment_id": "01a18509-8268-718e-912d-c6718d5492e0",
"jobs": [
{
"job_id": "01a1849a-5bba-75f8-99bc-cdcfe0dc84d8",
"job_id": "01a18509-826e-7736-8d1e-ba66a970dc8e",
"pipeline_version": 1,
"status": "failed",
"attempt": 5
@@ -250,5 +254,5 @@
}
],
"result": "PASS",
"finished_at": "2026-10-28T22:21:35.933583Z"
"finished_at": "2026-10-29T00:23:06.519678Z"
}