You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
sentry sourcemap upload --no-rewrite drops debug IDs already in the files #2500
With --no-rewrite, sentry sourcemap upload sends every file with an empty debug ID, even when the JS file already ends in //# debugId=… and its map carries debug_id. Without --release, the server then rejects the bundle:
Error: Artifact bundle assembly failed
Endpoint: organizations/<org>/artifactbundle/assemble/
uploading a bundle without debug ids or release is prohibited
Steps to Reproduce
Build a Next.js 16 app with Turbopack, which writes //# debugId= into its output natively.
Run sentry sourcemap upload --no-rewrite .next without --release.
Expected Result
--no-rewrite skips injection but still reads the existing debug IDs, so the files upload with debug-id headers and the bundle assembles.
Actual Result
The --no-rewrite branch builds its results with debugId: "" and never reads the files:
Activity
linear-code commentedon Nov 25, 2026
MCP-1281
fix(sourcemap): Keep existing debug IDs with upload --no-rewrite (get…