Final regression: PASSED
Started (UTC): 2026-11-11T21:03:10.320137+00:00
Finished (UTC): 2026-11-11T21:10:19.452449+00:00
Source/config/test SHA-256: 12af1c58afaa9c1600a9c95edbb083757447ee1d2ecca11948f6968ad80c3c8c
14 sequential suites passed; 47 unit tests passed; lint and Docker build passed.
Public tests unchanged; no business-request retries.
Runtime restored: both API replicas plus Nginx/PostgreSQL/Redis/RustFS/reconciler healthy.
Each API stopped separately by public hooks; all runtime stores restarted with volumes preserved.

Suites:
offline_contract: PASS (16.2 s)
unit: PASS (32.8 s)
lint: PASS (7.7 s)
public_smoke_before: PASS (4.5 s)
oversized_upload_transport: PASS (15.6 s)
attachments_s3_outage_persistence: PASS (92.0 s)
reconciliation_crash_and_database_outage: PASS (14.8 s)
public_persistence_and_each_api_failover: PASS (123.8 s)
swagger_and_attachment_failover: PASS (17.5 s)
interrupted_upload_and_receive_deadline: PASS (58.9 s)
presigned_positive_and_negative: PASS (14.7 s)
s3_restricted_roles: PASS (4.2 s)
s3_conditional_write_checksum_copy: PASS (4.0 s)
public_smoke_after: PASS (2.7 s)

Fix found during regression: early oversized upload rejection could yield Nginx 502 despite API 413.
Fix: bounded discard before sending 413, within the original receive deadline; explicit upstream Connection header.
Added byte-budget/end/deadline unit tests and real Content-Length/chunked regression through Nginx.
New drain code affects rejected bodies; normal upload buffering/validation remains the same.
Student lifecycle readiness now waits for both upstreams to remain ready across the reload transition.
Public tests and failover thresholds were not relaxed.
Earlier transport/recovery failures were superseded after the fixes; obsolete snapshots removed during report cleanup.

Repeat: python -X utf8 test/final-regression.py
