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

Compress sourcemaps before uploading to server #29534

Closed
kaatt opened this issue Oct 25, 2021 · 4 comments
Closed

Compress sourcemaps before uploading to server #29534

kaatt opened this issue Oct 25, 2021 · 4 comments

Comments

@kaatt
Copy link

kaatt commented Oct 25, 2021

Problem Statement

I'm on a bad internet connection and it takes ages to upload files to the server using releases [..] files [VERSION] upload-sourcemaps

Solution Brainstorm

Most source maps can have a 5x reduction in size when gzipped.

Can you implement this functionality so that sentry-cli compresses files in-memory before uploading them to the server?

@kamilogorek
Copy link
Contributor

As mentioned above, note that sentry-cli requires Sentry to handle uncompression first before we implement it there, so this is not sentry-cli issue "just yet".

@getsentry-release
Copy link

Routing to @getsentry/team-webplatform for triage. ⏲️

@chadwhitacre
Copy link
Member

Putting to Backlog per your comment @kamilogorek, if wrong please adjust. 🙏

@szokeasaurusrex
Copy link
Member

Closing in favor of getsentry/sentry-cli#2181.

Please not, however, we already perform some compression when uploading via chunked uploading (which should be the default with Sentry SaaS and all modern versions of self-hosted Sentry). I believe the compression is performed on individual chunks, rather than the entire file.

@szokeasaurusrex szokeasaurusrex closed this as not planned Won't fix, can't repro, duplicate, stale Dec 11, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Dec 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants