Files
mtusi2026lab2/evidence/final-validation-2026-11-07/postgres-outage-retry.json
T

200 lines
6.6 KiB
JSON

{
"mode": "postgres-outage-retry",
"source_sha": "b30e2f6a84419d1ca64525ffb40df92183cccaef",
"started_at": "2026-11-06T21:20:02.998079Z",
"cases": [
{
"name": "published_outbox_database_outage",
"started_at": "2026-11-06T21:20:04.036200Z",
"observed": {
"attachment_id": "01a1b2bb-aa23-72ec-98b1-63582184109f",
"jobs_before": [
{
"job_id": "01a1b2bb-aa2a-72d3-ad8b-623a79fcbed4",
"pipeline_version": 1,
"status": "queued",
"attempt": 1
}
],
"jobs_after": [
{
"job_id": "01a1b2bb-aa2a-72d3-ad8b-623a79fcbed4",
"pipeline_version": 1,
"status": "done",
"attempt": 1
}
],
"requeues": 12,
"queues_during": {
"attachments.process": [
0,
1
],
"attachments.process.dlq": [
15,
0
]
},
"queues_after": {
"attachments.process": [
0,
0
],
"attachments.process.dlq": [
15,
0
]
},
"replay": false,
"stopped_containers": [
"mtusi2026lab5-api-1 fc7d65385119 running Up 3 minutes (healthy)",
"mtusi2026lab5-api-2 a5411e55f06d running Up 3 minutes (healthy)",
"mtusi2026lab5-broker-1 a38bbcf03870 running Up 3 minutes (healthy)",
"mtusi2026lab5-lb-1 f0d01200b1f8 running Up 3 minutes (healthy)",
"mtusi2026lab5-migrate-1 feca425ac0ae exited Exited (0) About a minute ago",
"mtusi2026lab5-postgres-1 9f62ea9d176b exited Exited (0) Less than a second ago",
"mtusi2026lab5-relay-1 4153c8488753 running Up 3 minutes (healthy)",
"mtusi2026lab5-s3-1 9a7684ef147a running Up 3 minutes (healthy)",
"mtusi2026lab5-s3-init-1 e5825f3eeafb exited Exited (0) About a minute ago",
"mtusi2026lab5-valkey-1 e37f783f9d50 running Up 3 minutes (healthy)",
"mtusi2026lab5-worker-1 ee8f9d678c2c exited Exited (0) 1 second ago"
]
},
"result": "PASS",
"elapsed_seconds": 21.815
}
],
"conditions": {
"host_load": [
3.986328125,
3.29931640625,
2.619140625
],
"containers": [
"mtusi2026lab5-api-1 fc7d65385119 running Up 3 minutes (healthy)",
"mtusi2026lab5-api-2 a5411e55f06d running Up 3 minutes (healthy)",
"mtusi2026lab5-broker-1 a38bbcf03870 running Up 3 minutes (healthy)",
"mtusi2026lab5-lb-1 f0d01200b1f8 running Up 3 minutes (healthy)",
"mtusi2026lab5-migrate-1 feca425ac0ae exited Exited (0) About a minute ago",
"mtusi2026lab5-postgres-1 9f62ea9d176b running Up About a minute (healthy)",
"mtusi2026lab5-relay-1 4153c8488753 running Up 3 minutes (healthy)",
"mtusi2026lab5-s3-1 9a7684ef147a running Up 3 minutes (healthy)",
"mtusi2026lab5-s3-init-1 e5825f3eeafb exited Exited (0) About a minute ago",
"mtusi2026lab5-valkey-1 e37f783f9d50 running Up 3 minutes (healthy)",
"mtusi2026lab5-worker-1 ee8f9d678c2c running Up About a minute (healthy)"
],
"running": "mtusi2026lab5-api-1 Up 3 minutes (healthy)\nmtusi2026lab5-relay-1 Up 3 minutes (healthy)\nmtusi2026lab5-api-2 Up 3 minutes (healthy)\nmtusi2026lab5-worker-1 Up About a minute (healthy)\nmtusi2026lab5-broker-1 Up 3 minutes (healthy)\nmtusi2026lab5-postgres-1 Up About a minute (healthy)\nmtusi2026lab5-lb-1 Up 3 minutes (healthy)\nmtusi2026lab5-s3-1 Up 3 minutes (healthy)\nmtusi2026lab5-valkey-1 Up 3 minutes (healthy)\n",
"worker_limits": "448\n30\n2\n"
},
"outage_checkpoint": {
"attachment_id": "01a1b2bb-aa23-72ec-98b1-63582184109f",
"jobs_before": [
{
"job_id": "01a1b2bb-aa2a-72d3-ad8b-623a79fcbed4",
"pipeline_version": 1,
"status": "queued",
"attempt": 1
}
],
"dlq_before": [
15,
0
],
"stopped_containers": [
"mtusi2026lab5-api-1 fc7d65385119 running Up 3 minutes (healthy)",
"mtusi2026lab5-api-2 a5411e55f06d running Up 3 minutes (healthy)",
"mtusi2026lab5-broker-1 a38bbcf03870 running Up 3 minutes (healthy)",
"mtusi2026lab5-lb-1 f0d01200b1f8 running Up 3 minutes (healthy)",
"mtusi2026lab5-migrate-1 feca425ac0ae exited Exited (0) About a minute ago",
"mtusi2026lab5-postgres-1 9f62ea9d176b exited Exited (0) Less than a second ago",
"mtusi2026lab5-relay-1 4153c8488753 running Up 3 minutes (healthy)",
"mtusi2026lab5-s3-1 9a7684ef147a running Up 3 minutes (healthy)",
"mtusi2026lab5-s3-init-1 e5825f3eeafb exited Exited (0) About a minute ago",
"mtusi2026lab5-valkey-1 e37f783f9d50 running Up 3 minutes (healthy)",
"mtusi2026lab5-worker-1 ee8f9d678c2c exited Exited (0) 1 second ago"
]
},
"invariants": [
{
"id": "terminal",
"statement": "every 202 reaches its expected terminal state",
"result": "PASS",
"details": {
"accepted": 1
}
},
{
"id": "single_effect",
"statement": "one variant set per (attachment_id, pipeline_version, variant)",
"result": "PASS",
"details": {
"rows": 0
}
},
{
"id": "no_ready_rollback",
"statement": "ready never returns to queued or processing",
"result": "PASS",
"details": {
"traced": 1
}
},
{
"id": "monotonic_publication",
"statement": "published_version only moves forward",
"result": "PASS",
"details": {
"sampled": 0
}
},
{
"id": "bytes_match_metadata",
"statement": "sha256, size and real dimensions match served bytes",
"result": "PASS",
"details": {
"verified": 1
}
},
{
"id": "bounded_attempts",
"statement": "attempt <= JOB_MAX_ATTEMPTS",
"result": "PASS",
"details": {
"rows": 0
}
},
{
"id": "no_orphans",
"statement": "no pending outbox, messages, dead letters, staging, objects",
"result": "PASS",
"details": {
"queues": {
"attachments.process": [
0,
0
],
"attachments.process.dlq": [
15,
0
]
},
"s3_objects": 4,
"scoped_attachments": 1
}
},
{
"id": "no_lost_202",
"statement": "every 202 is present in PostgreSQL and the API",
"result": "PASS",
"details": {
"accepted": 1
}
}
],
"accepted_ids": [
"01a1b2bb-aa23-72ec-98b1-63582184109f"
],
"finished_at": "2026-11-06T21:20:30.164434Z",
"result": "PASS"
}