Skip to content

Conversation

@yuanjieding-db
Copy link
Collaborator

What changes are proposed in this pull request?

WHAT

  • Add fall back to all exceptions encountered when presigned URL is not available for upload and download in FilesExt

WHY

  • This is to eliminate the possibility of any potential regression introduced by upload and download through presigned URL.

How is this tested?

Unit tests are updated to reflect the change.

@github-actions
Copy link

Please ensure that the NEXT_CHANGELOG.md file is updated with any relevant changes.
If this is not necessary for your PR, please include the following in your PR description:
NO_CHANGELOG=true
and rerun the job.

@github-actions
Copy link

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/sdk-py

Inputs:

  • PR number: 1115
  • Commit SHA: 374e2c72d0464b21d7b1fbc136bc42be8efc9a61

Checks will be approved automatically on success.

@parthban-db parthban-db changed the title Yuanjie/fix delta sharing download Add fall back to all exceptions encountered when presigned URL is not available for upload and download in FilesExt Nov 13, 2025
Copy link
Contributor

@parthban-db parthban-db left a comment

Choose a reason for hiding this comment

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

Can you also add this change in the changelog?

len(pre_read_buffer),
session_token,
BytesIO(pre_read_buffer),
is_first_part=True,
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need to pass this information? Every error returned by this will fall back to FilesAPI, right?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants