Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/tanstackstart-react
SDK Version
10.39.0
Framework Version
No response
Link to Sentry event
https://testappliaction.sentry.io/issues/97452943/?environment=production&query=is%3Aunresolved&referrer=issue-stream
Reproduction Example/SDK Setup
https://github.com/sommeeeer/sentry-nitro-tanstack-issue
Steps to Reproduce
sentry-nitro-tanstack-issue
Multiple source maps are uploaded for one project. In this case 3 times. Seems to be related to the Sentry plugin and Nitro not working together. My theory is that somewhere in the build pipeline the Sentry plugin gets triggered 3 times to upload source maps.
TODO
-
Fill in all TODO: placeholders in source files (for this repro, start with src/router.tsx).
-
Install dependencies:
-
Deploy to SST test stage:
pnpm sst deploy --stage test
After deploy visist the https://domain.com/test page to trigger an error. See that the sourcemaps is not working.
Expected Result
I only want to see one source map being uploaded, and that it is the correct one. So my stack traces are actually with readable code.
Actual Result
Additional Context
Let me know if there is anything more I can provide for this issue to get attention.
Priority
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it.
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/tanstackstart-react
SDK Version
10.39.0
Framework Version
No response
Link to Sentry event
https://testappliaction.sentry.io/issues/97452943/?environment=production&query=is%3Aunresolved&referrer=issue-stream
Reproduction Example/SDK Setup
https://github.com/sommeeeer/sentry-nitro-tanstack-issue
Steps to Reproduce
sentry-nitro-tanstack-issue
Multiple source maps are uploaded for one project. In this case 3 times. Seems to be related to the Sentry plugin and Nitro not working together. My theory is that somewhere in the build pipeline the Sentry plugin gets triggered 3 times to upload source maps.
TODO
Fill in all
TODO:placeholders in source files (for this repro, start withsrc/router.tsx).Install dependencies:
Deploy to SST test stage:
pnpm sst deploy --stage testAfter deploy visist the
https://domain.com/testpage to trigger an error. See that the sourcemaps is not working.Expected Result
I only want to see one source map being uploaded, and that it is the correct one. So my stack traces are actually with readable code.
Actual Result
Additional Context
Let me know if there is anything more I can provide for this issue to get attention.
Priority
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding
+1orme too, to help us triage it.