Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(proguard): Introduce experimental chunk uploading feature #2264

Merged

Conversation

szokeasaurusrex
Copy link
Member

Introduce an experimental chunk uploading feature for the sentry-cli upload-proguard command. The feature can be activated by setting the SENTRY_EXPERIMENTAL_PROGUARD_CHUNK_UPLOAD environment variable to 1. The feature is only activated when users opt in via this environment variable.

The experimental chunk uploading feature is not backwards compatible. We attempt the upload regardless of whether the server supports receiving chunk-uploaded Proguard files. Server-side support will only be available once getsentry/sentry#81131 is released. The goal here was to create something that works, so some optimizations that we use for other chunk uploaded file types (e.g. first checking whether any chunks are present on the server, and only uploading the missing ones), are not implemented for Proguard.

Ref #2196

Introduce an experimental chunk uploading feature for the `sentry-cli upload-proguard` command. The feature can be activated by setting the `SENTRY_EXPERIMENTAL_PROGUARD_CHUNK_UPLOAD` environment variable to `1`. The feature is only activated when users opt in via this environment variable.

The experimental chunk uploading feature is not backwards compatible. We attempt the upload regardless of whether the server supports receiving chunk-uploaded Proguard files. Server-side support will only be available once getsentry/sentry#81131 is released. The goal here was to create something that works, so some optimizations that we use for other chunk uploaded file types (e.g. first checking whether any chunks are present on the server, and only uploading the missing ones), are not implemented for Proguard.

Ref #2196
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/proguard-experimental-chunk-upload branch from fa4adb8 to c8eab31 Compare November 22, 2024 17:07
@szokeasaurusrex szokeasaurusrex merged commit ffd3848 into master Nov 22, 2024
14 checks passed
@szokeasaurusrex szokeasaurusrex deleted the szokeasaurusrex/proguard-experimental-chunk-upload branch November 22, 2024 17:14
szokeasaurusrex added a commit to getsentry/sentry-android-gradle-plugin that referenced this pull request Nov 22, 2024
Bump `sentry-cli` to `2.39.0`. This version includes an experimental chunk uploading feature for Proguard files: getsentry/sentry-cli#2264.
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