== negative PASS variants: original/thumbnail/crop/optimized 200 with own types, garbage 400 PASS S3 down: attachments 503, messages/ready OK, no rows left; recovered after start PASS upload replica b805dae52d5c stopped: other replica serves identical bytes PASS: 12 attachment checks exit -- nginx errors: nginx-1 | 192.168.229.1 - - [30/Oct/2026:22:27:15 +0000] "GET /api/v1/attachments/2b92fc3f-8a83-44d1-b591-48e82ddfb3cd/content HTTP/1.1" 502 157 "-" "Python-urllib/3.15" "-" nginx-1 | 192.168.229.1 - - [30/Oct/2026:22:27:16 +0000] "GET /api/v1/attachments/2b92fc3f-8a83-44d1-b591-48e82ddfb3cd/content HTTP/1.1" 502 157 "-" "Python-urllib/3.15" "-" nginx-1 | 2026/10/30 22:27:16 [error] 27#27: *184 no live upstreams while connecting to upstream, client: 192.168.229.1, server: localhost, request: "GET /api/v1/attachments/2b92fc3f-8a83-44d1-b591-48e82ddfb3cd/content HTTP/1.1", upstream: "http://api_backend nginx-1 | 2026/10/30 22:27:17 [warn] 27#27: *187 a client request body is buffered to a temporary file /var/cache/nginx/client_temp/0000000028, client: 192.168.229.1, server: localhost, request: "POST /api/v1/chats/1e8097c5-0a45-4712-8757-00fcbbf68c74/attachm nginx-1 | 2026/10/30 22:27:20 [error] 27#27: *192 upstream timed out (110: Operation timed out) while connecting to upstream, client: 192.168.229.1, server: localhost, request: "GET /api/v1/attachments/312a7fb3-1c5a-4ef9-807f-9dd8a7a4d327/content HTTP/1.1", u nginx-1 | 2026/10/30 22:27:21 [error] 27#27: *195 upstream timed out (110: Operation timed out) while connecting to upstream, client: 192.168.229.1, server: localhost, request: "GET /api/v1/attachments/312a7fb3-1c5a-4ef9-807f-9dd8a7a4d327/content HTTP/1.1", u == failover {"observed_instances_before": 2, "successful_writes": 118, "failed_attempts": 0, "first_recovery_seconds": 1.847} PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence. == persistence Executing explicit persistence hook; hook output suppressed to avoid leaking secrets. PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence. took 82s == pipeline PASS A: worker down -> 202/409/message 201 -> API+broker restart keeps job -> worker -> ready PASS B: crash windows recovered, duplicates dropped, backoff [781, 1147, 3292, 6579] ms -> retry_exhausted -> replay -> ready, invalid_image not retried PASS C: v2 committed first, late v1 committed as superseded, pointer stays 2, duplicates dropped PASS invariants: 9 attachments final, 27 variant objects = DB rows, checksums equal, every done job committed once, dropped {'duplicate_done': 4, 'duplicate_in_progress': 6, 'stale_attempt': 1} exit == smoke PASS: lab6 public API scenario; infrastructure and grading evidence remain separate. api-1 Up 55 seconds (healthy);api-2 Up 55 seconds (healthy);grafana Up 5 minutes;loki Up 5 minutes (healthy);nginx Up 5 minutes;otel-collector Up 5 minutes;postgres Up 5 minutes (healthy);prometheus Up 5 minutes (healthy);rabbitmq Up 4 minutes (healthy);redis Up 5 minutes (healthy);s3 Up 5 minutes (healthy);tempo Up 5 minutes;worker Up 55 seconds (healthy); == lab7 smoke (HTTPS, current run) PASS: lab7 public API scenario; infrastructure and grading evidence remain separate. == lab7 security (HTTPS, current run) PASS: trusted HTTPS works; untrusted CA rejected. This does NOT verify internal mTLS, OpenBao or hardening.