Title: Remix sourcemaps don't have debugId injected when publicPath is set · Issue #9666 · getsentry/sentry-javascript · GitHub
Open Graph Title: Remix sourcemaps don't have debugId injected when publicPath is set · Issue #9666 · getsentry/sentry-javascript
X Title: Remix sourcemaps don't have debugId injected when publicPath is set · Issue #9666 · getsentry/sentry-javascript
Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using the latest SDK release https://github.com/...
Open Graph Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
X Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/9666
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Remix sourcemaps don't have debugId injected when publicPath is set","articleBody":"### Is there an existing issue for this?\r\n\r\n- [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues\r\n- [X] I have reviewed the documentation https://docs.sentry.io/\r\n- [X] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases\r\n\r\n### How do you use Sentry?\r\n\r\nSentry Saas (sentry.io)\r\n\r\n### Which SDK are you using?\r\n\r\n@sentry/remix\r\n\r\n### SDK Version\r\n\r\n7.81.1\r\n\r\n### Framework Version\r\n\r\nRemix 2.1.0\r\n\r\n### Link to Sentry event\r\n\r\nn/a\r\n\r\n### SDK Setup\r\n\r\nOmitting; this bug is sufficiently described with just the results of `sentry-cli sourcemaps inject`. (It hasn't been significantly modified from the results of following [the setup guide](https://docs.sentry.io/platforms/javascript/guides/remix/), though.)\r\n\r\n### Steps to Reproduce\r\n\r\n1. Configure a Remix app using [create-remix](https://remix.run/docs/en/main/other-api/create-remix)\r\n2. Make sure the `remix.config.js` includes a URL value for [`publicPath`](https://remix.run/docs/en/main/file-conventions/remix-config#publicpath)\r\n - Mine points to a public S3 bucket\r\n3. Follow the Sentry docs for [setting up the Remix SDK](https://docs.sentry.io/platforms/javascript/guides/remix/)\r\n - This includes creating a Sentry account and project, to be used as the `--org` and `--project` opts in a later step\r\n4. Run `npx remix build --sourcemap`\r\n5. Run `npx sentry-cli sourcemaps inject --org \u003corg> --project \u003cproject> --deleteAfterUpload=false`\r\n6. Inspect any of the generated `.js.map` files in `public/build/`\r\n\r\n### Expected Result\r\n\r\nFor any given `.js` file in the Remix build output, both that source file and its `.js.map` file should contain a comment like this:\r\n```js\r\n//# debugId=\u003cuuid>\r\n```\r\n\r\n### Actual Result\r\n\r\nEach `.js` file contains the `//# debugId=\u003cuuid>` comment, but none of the `.js.map` files do.","author":{"url":"https://github.com/brettdh","@type":"Person","name":"brettdh"},"datePublished":"2023-11-27T16:28:26Z","url":"https://github.com/getsentry/sentry-javascript/issues/9666"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7ea586af-c53d-1a09-298a-d7aaee011c6b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D92A:1827E:412CDE1:56D19EA:6B0402DA |
| html-safe-nonce | efda93db96e193db50e661f08dd05e77776d2b3d5f944f57a4698c4cdaf80d95 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTJBOjE4MjdFOjQxMkNERTE6NTZEMTlFQTo2QjA0MDJEQSIsInZpc2l0b3JfaWQiOiI0MzA4MDU2NTI0MTYyNTk3NTk0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 01cabf48745021e101bcd74bc43fa9951e60ed10b7000aec498204f3bbb8d193 |
| hovercard-subject-tag | issue:2012652751 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/9666/issue_layout |
| twitter:image | https://opengraph.githubassets.com/395a1147425a70f5bcf323d60cc023bd62214944e7aacb84541925ad77a1f177/getsentry/sentry-javascript/issues/9666 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/395a1147425a70f5bcf323d60cc023bd62214944e7aacb84541925ad77a1f177/getsentry/sentry-javascript/issues/9666 |
| og:image:alt | Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | brettdh |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width