Skip to content

build(deps): Bump objectstore-client to 0.3.1 - #131768

Merged
jan-auer merged 1 commit into
masterfrom
build/bump-objectstore-client
Nov 19, 2026
Merged

jan-auer merged 1 commit into
masterfrom
build/bump-objectstore-client

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Version 0.3.1 of the objectstore Python client makes uploads more robust. This PR updates Sentry to that version.

The new version changes three things:

  • The client sends Content-Length when it uploads uncompressed bytes. The server then knows the size before the upload starts.
  • The client lowercases custom metadata keys and validates them. An invalid key raises ValueError before the request is sent. No caller in Sentry passes custom metadata to put, so this does not affect current code.
  • A declared-length upload stream that ends early raises UploadBodyTruncated (an OSError subclass). Before, such an upload could hang.

In Sentry, the last change affects debug file uploads and the snapshot zip upload in preprod/snapshots/zip_tasks.py. The zip upload streams a tempfile through a resumable upload. If that file is shorter than its declared size, the task now fails fast with an error.

via @jan-auer.

--

View Session [Sentry]

Co-Authored-By: Jan Michael Auer <1433023+jan-auer@users.noreply.github.com>
@sentry-junior
sentry-junior Bot requested a review from a team as a code owner November 19, 2026 11:15
@sentry-junior
sentry-junior Bot requested a review from jan-auer November 19, 2026 11:15
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Nov 19, 2026
@sentry-junior
sentry-junior Bot added this pull request to stack #131770 November 19, 2026 11:17
@jan-auer
jan-auer merged commit 73809dd into master Nov 19, 2026
106 checks passed
@jan-auer
jan-auer deleted the build/bump-objectstore-client branch November 19, 2026 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant