Repository navigation
fix(files): retry transient upload transport errors - #629
Draft
cursor[bot] wants to merge 1 commit into
Draft
cursor[bot] wants to merge 1 commit into
cursor[bot] wants to merge 1 commit into
Conversation
Co-authored-by: Blaine Kasten <blainekasten@gmail.com>
Broly Security ScanWarning Latest baseline snapshot is stale. Broly is running in PR-only fallback mode until the next scheduled baseline refreshes. This does not block the PR. Note ✅ Clean scan Note Re-scan this PR anytime with
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
httpx.TransportErrorfailuresThe Oct 4–5 CLI failure export contained six repeated
files uploadReadErrorfailures and one SSL read failure. These PUTs bypass the SDK request retry loop, and no existing open PR ormainfix covered them.Testing
TOGETHER_TELEMETRY_DISABLED=1 uv run pytest -n 0 tests/unit/test_files_resource.py tests/unit/test_upload_progress.py tests/cli/test_files.py(87 passed)uv run pyright src/together/lib/resources/files.py tests/unit/test_files_resource.pyuv run ruff check src/together/lib/resources/files.py tests/unit/test_files_resource.pyuv run ruff format --check src/together/lib/resources/files.py tests/unit/test_files_resource.py