Commit Graph

1 Commits

Author SHA1 Message Date
Cauê Faleiros
52fc90cbcd test: a short R2 failure while closing an upload: the server's steady retry and the browser's (contract contrato-r2-retry)
All checks were successful
Build and deploy / Validate source (push) Successful in 5s
Build and deploy / Integration suite on a real stack (push) Successful in 8m2s
Build and deploy / Secret scan and release gate (push) Successful in 8s
Build and deploy / Publish images (push) Successful in 1m12s
tests/test_storage_steady.py covers steady() and the storage's parts, size
and complete (a 5xx retried after 1, 2, 3 s; a 4xx and other errors at once;
NoSuchUpload on an object that exists is done). tests/upload_retry_test.mjs
covers closing the upload in web/upload.js (again after 3 s and 6 s; only
the last attempt reported; a 409 at once; an abort gives the upload back).
Both fail with the retry turned off. steady now looks time.sleep up when it
waits, so a patch of it reaches the storage methods.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 13:34:23 -03:00