Skip to content

test(nextjs): Run the source map upload e2e test on Bun - #26344

Merged
JPeer264 merged 1 commit into
developfrom
jp/nextjs-sourcemaps-bun
Nov 13, 2026
Merged

JPeer264 merged 1 commit into
developfrom
jp/nextjs-sourcemaps-bun

Conversation

@JPeer264

Copy link
Copy Markdown
Member

closes #19179
closes JS-1644

Description

This adds Bun variants of the nextjs-sourcemaps e2e test, for Turbopack and webpack. They build with bun --bun run build, so Bun runs next build and the source map upload. The assert script also checks the runtime in the User-Agent of the upload requests, so a variant fails when another runtime does the upload.

@linear-code

linear-code Bot commented Nov 13, 2026

Copy link
Copy Markdown

JS-1644

Adds Bun variants for the Turbopack and the webpack build of
`nextjs-sourcemaps`. They build with `bun --bun run build`, so Bun runs
`next build` and the upload. The assert script checks the runtime in the
User-Agent of the `sentry` CLI requests, so a variant fails when another
runtime does the upload.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

size-limit report 📦

Compared: b2b11e1 (PR test merge using develop at 82c7b4a)

Against: 82c7b4a (develop) · base run #65925

✅ Baseline matches: this diff contains only this PR's changes.

Path Size % Change Change
@sentry/browser 30.04 kB - -
@sentry/browser - with treeshaking flags 28.23 kB - -
@sentry/browser - with treeshaking flags tracing without tracing 28.12 kB - -
@sentry/browser (incl. Tracing) 52.2 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 52.2 kB - -
@sentry/browser (incl. Tracing, Profiling) 55.17 kB - -
@sentry/browser (incl. Tracing, Replay) 92.73 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 81.52 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 97.08 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 110.51 kB - -
@sentry/browser (incl. Feedback) 47.66 kB - -
@sentry/browser (incl. sendFeedback) 30.62 kB - -
@sentry/browser (incl. FeedbackAsync) 35.62 kB - -
@sentry/browser (incl. Metrics) 31.36 kB - -
@sentry/browser (incl. Logs) 31.64 kB - -
@sentry/browser (incl. Metrics & Logs) 32.3 kB - -
@sentry/react 32.04 kB - -
@sentry/react (incl. Tracing) 54.86 kB - -
@sentry/vue 38.21 kB - -
@sentry/vue (incl. Tracing) 55.14 kB - -
@sentry/svelte 30.05 kB - -
@sentry/remix (Remix 3 client bundle) 57.96 kB - -
CDN Bundle 31.79 kB - -
CDN Bundle (incl. Tracing) 52.58 kB - -
CDN Bundle (incl. Logs, Metrics) 34.58 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 55.14 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 75.61 kB - -
CDN Bundle (incl. Tracing, Replay) 90.63 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 93.25 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 96 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 98.6 kB - -
CDN Bundle - uncompressed 92.69 kB - -
CDN Bundle (incl. Tracing) - uncompressed 155.13 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 101.03 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 162.76 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 231.11 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 275.27 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 282.9 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 287.07 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 294.69 kB - -
@sentry/nextjs (client) 58.23 kB - -
@sentry/sveltekit (client) 53.26 kB - -
@sentry/core/server 44.53 kB - -
@sentry/core/browser 13.99 kB - -
@sentry/node 149.35 kB -0.01% -4 B 🔽
@sentry/node/import (ESM hook with diagnostics-channel injection) 83.18 kB - -
@sentry/node - without tracing 88.27 kB -0.01% -5 B 🔽
@sentry/node - without channel injection 138.45 kB -0.01% -2 B 🔽
@sentry/aws-serverless 97.19 kB -0.01% -4 B 🔽
@sentry/cloudflare (withSentry) - minified 204.35 kB - -
@sentry/cloudflare (withSentry) 474.32 kB - -
@sentry/nextjs/cloudflare (withSentry) - minified 229.66 kB - -

View base workflow run

@JPeer264
JPeer264 force-pushed the jp/nextjs-sourcemaps-bun branch from 27687b9 to cc8553e Compare November 13, 2026 07:14
@JPeer264
JPeer264 marked this pull request as ready for review November 13, 2026 08:34
@JPeer264
JPeer264 requested a review from a team November 13, 2026 08:34
@JPeer264 JPeer264 self-assigned this Nov 13, 2026
@JPeer264
JPeer264 requested review from chargome and removed request for Lms24 and logaretm November 13, 2026 08:34
@JPeer264
JPeer264 merged commit ddbfdac into develop Nov 13, 2026
50 checks passed
@JPeer264
JPeer264 deleted the jp/nextjs-sourcemaps-bun branch November 13, 2026 11:59
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.

Is it possible to use Sentry in Nextjs using Bun runtime?

2 participants