acoustic-carpenter-78188
05/12/2026, 4:34 PM_upload_with_retry only catches httpx.TimeoutException and httpx.ConnectError. A transient httpx.ReadError (e.g. "connection reset by peer" mid-upload) bypasses the retry loop entirely and surfaces as an unhandled crash.
• Broaden the catch to httpx.NetworkError, which is the umbrella for ConnectError, ReadError, WriteError, and CloseError — all transient transport-level failures that deserve the same backoff/retry treatment timeouts already get.
Sentry issues
Fixes FLYTE-SDK-9 (ReadError during signed-URL upload, no retry)
Test plan
• New test_upload_retries_on_read_error integration test
• Existing tests/flyte/remote/test_upload_retry.py suite still passes
flyteorg/flyte-sdkacoustic-carpenter-78188
05/12/2026, 7:47 PM