forked from mtusi2026/mtusi2026lab5
121 lines
3.5 KiB
JSON
121 lines
3.5 KiB
JSON
{
|
|
"date": "2026-11-04",
|
|
"compose": {
|
|
"api_replicas": 2,
|
|
"host_port": 18080,
|
|
"services_healthy": true,
|
|
"readiness": "200"
|
|
},
|
|
"fixture": {
|
|
"file": "tests/fixtures/sample.png",
|
|
"sha256": "99ea7533c441f79cd630d15ce4d58d1ec4e06f6f0efb3b77a5c088305cd1bd75",
|
|
"size_bytes": 111817
|
|
},
|
|
"checks": [
|
|
{
|
|
"name": "public_smoke",
|
|
"result": "PASS",
|
|
"command": "make test BASE_URL=http://localhost:18080"
|
|
},
|
|
{
|
|
"name": "attachment_negative_cases",
|
|
"result": "PASS",
|
|
"command": "make test-attachments BASE_URL=http://localhost:18080",
|
|
"cases": [
|
|
"damaged PNG",
|
|
"spoofed MIME",
|
|
"oversized upload",
|
|
"pixel limit",
|
|
"unsafe filename",
|
|
"unauthorized chat",
|
|
"cross-chat attachment"
|
|
]
|
|
},
|
|
{
|
|
"name": "idempotency_race",
|
|
"result": "PASS",
|
|
"replicas": 2,
|
|
"concurrent_same_key_requests": 12,
|
|
"messages_created": 1
|
|
},
|
|
{
|
|
"name": "outbox_recovery",
|
|
"result": "PASS",
|
|
"status_before_publisher_restart": "queued",
|
|
"status_after_restart": "ready",
|
|
"original_sha256": "99ea7533c441f79cd630d15ce4d58d1ec4e06f6f0efb3b77a5c088305cd1bd75"
|
|
},
|
|
{
|
|
"name": "worker_restart_recovery",
|
|
"result": "PASS",
|
|
"sequence": [
|
|
"stop worker",
|
|
"upload returns 202 queued",
|
|
"link attachment to message",
|
|
"restart API",
|
|
"start worker",
|
|
"attachment reaches ready"
|
|
],
|
|
"message_attachment_link_survived": true
|
|
},
|
|
{
|
|
"name": "pipeline_version_replay",
|
|
"result": "PASS",
|
|
"version_transition": "1 -> 2",
|
|
"job_id_changed": true,
|
|
"original_sha256": "99ea7533c441f79cd630d15ce4d58d1ec4e06f6f0efb3b77a5c088305cd1bd75",
|
|
"v1_thumbnail_sha256": "7bc40bf315c8e18e907889b23514d978be213a44223d64b737290188ee808594",
|
|
"v2_thumbnail_sha256": "7904b78c14d936a9e5b4d024bd7bf9ffe4de546c484b356177056b8e949e763f"
|
|
},
|
|
{
|
|
"name": "failed_pipeline_replay",
|
|
"result": "PASS",
|
|
"previous_job_id": "2628b822-ae4c-4784-b3bf-03f695176984",
|
|
"failed_replay_job_id": "797cc24f-0c3a-49fa-9f25-febd21506c6c",
|
|
"pipeline_version": 2,
|
|
"audited_replays": 2,
|
|
"original_sha256": "99ea7533c441f79cd630d15ce4d58d1ec4e06f6f0efb3b77a5c088305cd1bd75"
|
|
},
|
|
{
|
|
"name": "reconciliation",
|
|
"result": "PASS",
|
|
"dataset_objects_scanned": 36,
|
|
"metadata_records_scanned": 9,
|
|
"scan_duration_ms": 20.873,
|
|
"orphan_detected_and_removed": 1,
|
|
"missing_object_detected_and_restored": 1,
|
|
"fresh_orphan_preserved_until_grace": true,
|
|
"anonymous_s3_access": "denied"
|
|
},
|
|
{
|
|
"name": "persistence_restart",
|
|
"result": "PASS",
|
|
"confirmed_data_preserved": true,
|
|
"existing_session_preserved": true
|
|
},
|
|
{
|
|
"name": "api_failover",
|
|
"result": "PASS",
|
|
"instances_before": 2,
|
|
"successful_writes": 131,
|
|
"failed_attempts": 1,
|
|
"first_recovery_seconds": 0.681,
|
|
"confirmed_data_preserved": true
|
|
},
|
|
{
|
|
"name": "concurrent_upload_memory",
|
|
"result": "PASS",
|
|
"api_replicas": 2,
|
|
"uploads": 10,
|
|
"concurrency": 10,
|
|
"bytes_per_upload": 5883411,
|
|
"duration_seconds": 2.525,
|
|
"baseline_max_container_bytes": 96101990,
|
|
"peak_max_container_bytes": 96101990,
|
|
"peak_delta_bytes": 0,
|
|
"sampling_method": "continuous docker stats stream"
|
|
}
|
|
],
|
|
"track_2_fault_injection": "pipeline-faults.json"
|
|
}
|