-
-
Notifications
You must be signed in to change notification settings - Fork 236
Open
Description
During production build of our Next.js project, the Sentry CLI panics while uploading source maps. This prevents the upload process from completing, resulting in incomplete source maps in Sentry.
Steps to Reproduce:
-
Install the following Sentry packages:
@sentry/nextjs^10.30.0@sentry/profiling-node^9.47.1@sentry/wizard^5.4.0
-
Configure Sentry in a Next.js project with a valid DSN and release.
-
Build the project for production using:
bun run --bun next build
-
Observe the Sentry CLI panic during source map upload, with output similar to:
2: std::panicking::panic_handler::{{closure}} 3: std::sys::backtrace::__rust_end_short_backtrace 4: __rustc::rust_begin_unwind ... Error: Command --header sentry-trace:... --header baggage:...
Expected Behavior:
Source maps upload successfully without any CLI panic.
Actual Behavior:
The Sentry CLI panics with a Rust backtrace, preventing the upload of source maps.
Project Environment:
Next.js: 16.0.10React: 19.2.3- Node.js runtime: Bun
- Turbopack: true
@sentry/nextjs: 10.30.0@sentry/profiling-node: 9.47.1@sentry/wizard: 5.4.0- Platform: Vercel
Build & Deployment Scripts:
"scripts": {
"dev": "bun run --bun next dev",
"build": "bun run --bun next build",
"start": "bun run --bun next start",
"postbuild": "next-sitemap"
}
imran-vz
Metadata
Metadata
Assignees
Labels
No labels
Projects
Status
No status