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

Improve sourcemap upload duration for multi-stage builds #626

Open
lforst opened this issue Oct 30, 2024 · 0 comments
Open

Improve sourcemap upload duration for multi-stage builds #626

lforst opened this issue Oct 30, 2024 · 0 comments

Comments

@lforst
Copy link
Member

lforst commented Oct 30, 2024

I'll limit this issue to Next.js because it is a super-set of everything else.

In high-level frameworks there are often multiple build-passes the framework does. This can cause the Sentry plugin to pick up and upload the same files multiple times, potentially leading to unnecessarily long uploads.

Brainstorming a solution:

  • Allow to pass in a build-id into the plugin that will associate multiple bundler runs with the same build, allowing us to store and deduplicate files to avoid double uploading.
  • Telemetry-wise, it would probably also good to share a trace id between these runs.

Related getsentry/sentry-javascript#14132

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

No branches or pull requests

1 participant