Skip to content

Conversation

@Lms24
Copy link
Member

@Lms24 Lms24 commented Nov 28, 2025

#18270 bumps just the rollup plugin but we should bump both simultaneously.

@Lms24 Lms24 requested review from logaretm and s1gr1d November 28, 2025 11:21
@Lms24 Lms24 self-assigned this Nov 28, 2025
@Lms24 Lms24 changed the title fead(nuxt): Bump @sentry/vite-plugin and @sentry/rollup-plugin to 4.6.1 feat(nuxt): Bump @sentry/vite-plugin and @sentry/rollup-plugin to 4.6.1 Nov 28, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 28, 2025

node-overhead report 🧳

Note: This is a synthetic benchmark with a minimal express app and does not necessarily reflect the real-world performance impact in an application.

Scenario Requests/s % of Baseline Prev. Requests/s Change %
GET Baseline 8,547 - 9,071 -6%
GET With Sentry 1,709 20% 1,773 -4%
GET With Sentry (error only) 6,036 71% 6,207 -3%
POST Baseline 1,204 - 1,209 -0%
POST With Sentry 603 50% 619 -3%
POST With Sentry (error only) 1,042 87% 1,071 -3%
MYSQL Baseline 3,221 - 3,378 -5%
MYSQL With Sentry 464 14% 551 -16%
MYSQL With Sentry (error only) 2,626 82% 2,733 -4%

View base workflow run

@Lms24 Lms24 force-pushed the lms/deps-nuxt-plugins branch from b5f6880 to f3cf791 Compare November 28, 2025 15:17
@Lms24 Lms24 force-pushed the lms/deps-nuxt-plugins branch from f3cf791 to 2c39c62 Compare December 11, 2025 14:51
@Lms24 Lms24 enabled auto-merge (squash) December 11, 2025 14:51
project,
// same handling as in bundler plugins: https://github.com/getsentry/sentry-javascript-bundler-plugins/blob/05084f214c763a05137d863ff5a05ef38254f68d/packages/bundler-plugin-core/src/build-plugin-manager.ts#L102-L103
project: Array.isArray(project) ? project[0] : project,
...sentryConfig.unstable_sentryVitePluginOptions,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Spread overwrites normalized project value

The SentryCli constructor carefully normalizes project from array to string on line 69, but then immediately spreads ...sentryConfig.unstable_sentryVitePluginOptions on line 70. Since unstable_sentryVitePluginOptions may contain its own project property (potentially an array), this spread overwrites the normalized value, defeating the purpose of the array-to-string conversion. The spread should come before the project property, not after.

Fix in Cursor Fix in Web

project,
// same handling as in bundler plugins: https://github.com/getsentry/sentry-javascript-bundler-plugins/blob/05084f214c763a05137d863ff5a05ef38254f68d/packages/bundler-plugin-core/src/build-plugin-manager.ts#L102-L103
project: Array.isArray(project) ? project[0] : project,
...sentryConfig.unstable_sentryVitePluginOptions,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Spread overwrites normalized project value

The SentryCli constructor carefully normalizes project from array to string on line 69, but then immediately spreads ...sentryConfig.unstable_sentryVitePluginOptions on line 70. Since unstable_sentryVitePluginOptions may contain its own project property (potentially an array), this spread overwrites the normalized value, defeating the purpose of the array-to-string conversion. The spread should come before the project property, not after.

Fix in Cursor Fix in Web

@github-actions
Copy link
Contributor

github-actions bot commented Dec 12, 2025

size-limit report 📦

Path Size % Change Change
@sentry/browser 24.81 kB - -
@sentry/browser - with treeshaking flags 23.3 kB - -
@sentry/browser (incl. Tracing) 41.55 kB - -
@sentry/browser (incl. Tracing, Profiling) 46.14 kB - -
@sentry/browser (incl. Tracing, Replay) 79.97 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 69.7 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 84.64 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 96.89 kB - -
@sentry/browser (incl. Feedback) 41.52 kB - -
@sentry/browser (incl. sendFeedback) 29.49 kB - -
@sentry/browser (incl. FeedbackAsync) 34.48 kB - -
@sentry/react 26.52 kB - -
@sentry/react (incl. Tracing) 43.75 kB - -
@sentry/vue 29.27 kB - -
@sentry/vue (incl. Tracing) 43.36 kB - -
@sentry/svelte 24.82 kB - -
CDN Bundle 27.24 kB - -
CDN Bundle (incl. Tracing) 42.23 kB - -
CDN Bundle (incl. Tracing, Replay) 78.75 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 84.21 kB - -
CDN Bundle - uncompressed 80.04 kB - -
CDN Bundle (incl. Tracing) - uncompressed 125.39 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 241.42 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 254.18 kB - -
@sentry/nextjs (client) 45.97 kB - -
@sentry/sveltekit (client) 41.92 kB - -
@sentry/node-core 51.5 kB - -
@sentry/node 159.94 kB - -
@sentry/node - without tracing 92.91 kB - -
@sentry/aws-serverless 108.44 kB - -

View base workflow run

@Lms24 Lms24 merged commit e9b2df9 into develop Dec 12, 2025
206 checks passed
@Lms24 Lms24 deleted the lms/deps-nuxt-plugins branch December 12, 2025 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants