Files
dtf-system/web
Cauê Faleiros 5d70a6f912 fix: a short R2 failure no longer fails a customer's upload (DTF-API-D, DTF-WEB-27)
R2 answered ListParts with a 500 twice, 10 s apart, while closing an upload.
The storage calls an upload waits on (list parts, complete, head) try again on
a 5xx three more times over about 6 s; a 4xx and a timeout go back at once.
A complete R2 had in fact done answers NoSuchUpload on the retry: the object
is there, so it counts as done. The browser asks to close the upload again
after 3 s and 6 s on a server failure; only the last one is reported.

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