Skip to content

Conversation

@iLLiCiTiT
Copy link
Member

@iLLiCiTiT iLLiCiTiT commented Dec 8, 2025

Changelog Description

Upload and download use retries if connection fails.

Additional review information

Added attempt to TransferProgress to track how many times it tried. Download can continue where ended up. Fixed _endpoint_to_url to use base url instead of graphql endpoint and download/upload functions do request endpoint without /api.

Testing notes:

  1. Upload and download can be retried (don't ask me how to test that please).
  2. Validate code changes.

Resolves #291

@iLLiCiTiT iLLiCiTiT self-assigned this Dec 8, 2025
@iLLiCiTiT iLLiCiTiT added the type: enhancement New feature or request label Dec 8, 2025
Copy link
Contributor

@BigRoy BigRoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure how to best test, but code makes sense.

@iLLiCiTiT iLLiCiTiT merged commit 15e99b4 into develop Dec 9, 2025
2 checks passed
@iLLiCiTiT iLLiCiTiT deleted the enhancement/291-yn-0247-server-timeouts-on-streamed-uploads branch December 9, 2025 10:42
"""
url = self._endpoint_to_url(endpoint)
url = self._endpoint_to_url(endpoint, use_rest=False)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was changed back to original value in develop after merge commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

YN-0247: Server Timeouts on streamed uploads

3 participants