Skip to content

fix(v10/bundler-plugins): Stamp debug IDs onto emitted source maps when disable-upload is set - #24332

Merged
msonnb merged 2 commits into
v10from
ms/v10-stamp-debug-ids-disable-upload
Sep 11, 2026
Merged

fix(v10/bundler-plugins): Stamp debug IDs onto emitted source maps when disable-upload is set#24332
msonnb merged 2 commits into
v10from
ms/v10-stamp-debug-ids-disable-upload

Conversation

@msonnb

@msonnb msonnb commented Sep 11, 2026

Copy link
Copy Markdown
Member

Backport of: #23754

Differences to the original PR

  • packages/bundler-plugins/src/core/debug-id-upload.ts: included the existing bundleHasInlineSourceMap helper from develop, because v10 does not have it and the new stamping logic requires it.
  • packages/bundler-plugins/test/core/debug-id-upload.test.ts: added the shared debug-ID snippet and logger helpers directly, rather than moving them out of the upload tests, because those earlier tests are absent on v10. All tests introduced by fix(bundler-plugins): Stamp debug IDs onto emitted source maps when disable-upload is set #23754 are preserved.
  • packages/bundler-plugins/test/rollup/disable-upload.test.ts: skip only the Rolldown/Vite case on Node 18 and import Rolldown inside that test. Rolldown requires newer Node APIs, so a top-level import prevented all five Rollup tests from loading on Node 18. The other four cases still run there, and newer CI runtimes retain the Rolldown coverage.

@github-actions

github-actions Bot commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 27.77 kB added added
@sentry/browser - with treeshaking flags 26.22 kB added added
@sentry/browser (incl. Tracing) 46.63 kB added added
@sentry/browser (incl. Tracing + Span Streaming) 48.43 kB added added
@sentry/browser (incl. Tracing, Profiling) 51.39 kB added added
@sentry/browser (incl. Tracing, Replay) 85.95 kB added added
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 75.57 kB added added
@sentry/browser (incl. Tracing, Replay with Canvas) 90.68 kB added added
@sentry/browser (incl. Tracing, Replay, Feedback) 103.31 kB added added
@sentry/browser (incl. Feedback) 44.95 kB added added
@sentry/browser (incl. sendFeedback) 32.57 kB added added
@sentry/browser (incl. FeedbackAsync) 37.71 kB added added
@sentry/browser (incl. Metrics) 28.88 kB added added
@sentry/browser (incl. Logs) 29.1 kB added added
@sentry/browser (incl. Metrics & Logs) 29.8 kB added added
@sentry/react 29.59 kB added added
@sentry/react (incl. Tracing) 48.9 kB added added
@sentry/vue 33.21 kB added added
@sentry/vue (incl. Tracing) 48.62 kB added added
@sentry/svelte 27.81 kB added added
CDN Bundle 30.18 kB added added
CDN Bundle (incl. Tracing) 48.6 kB added added
CDN Bundle (incl. Logs, Metrics) 31.76 kB added added
CDN Bundle (incl. Tracing, Logs, Metrics) 49.92 kB added added
CDN Bundle (incl. Replay, Logs, Metrics) 71.1 kB added added
CDN Bundle (incl. Tracing, Replay) 86.19 kB added added
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 87.49 kB added added
CDN Bundle (incl. Tracing, Replay, Feedback) 91.97 kB added added
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 93.26 kB added added
CDN Bundle - uncompressed 89.91 kB added added
CDN Bundle (incl. Tracing) - uncompressed 146.72 kB added added
CDN Bundle (incl. Logs, Metrics) - uncompressed 94.62 kB added added
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 150.7 kB added added
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 219.57 kB added added
CDN Bundle (incl. Tracing, Replay) - uncompressed 266.15 kB added added
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 270.11 kB added added
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 279.85 kB added added
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 283.8 kB added added
@sentry/nextjs (client) 51.48 kB added added
@sentry/sveltekit (client) 47.07 kB added added
@sentry/core/server 80.8 kB added added
@sentry/core/browser 66.95 kB added added
@sentry/node-core 63.33 kB added added
@sentry/node 126.02 kB added added
@sentry/node (incl. diagnostics channel injection) 170.11 kB added added
@sentry/node/import (ESM hook with diagnostics-channel injection) 166 B added added
@sentry/node/light 51.47 kB added added
@sentry/node - without tracing 75 kB added added
@sentry/aws-serverless 84.26 kB added added
@sentry/cloudflare (withSentry) - minified 202.76 kB added added
@sentry/cloudflare (withSentry) 499.38 kB added added

Load Rolldown only inside its version-gated test so Node 18 can collect and run the remaining Rollup cases.

Co-Authored-By: OpenAI GPT-6 <codex@openai.com>
@msonnb
msonnb marked this pull request as ready for review September 11, 2026 11:30
@msonnb
msonnb requested review from Lms24 and chargome September 11, 2026 11:30
@msonnb
msonnb merged commit 6524d5c into v10 Sep 11, 2026
44 checks passed
@msonnb
msonnb deleted the ms/v10-stamp-debug-ids-disable-upload branch September 11, 2026 11:39
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