Title: Rethink where to put `debug_id` in event Payload · Issue #7161 · getsentry/sentry-javascript · GitHub
Open Graph Title: Rethink where to put `debug_id` in event Payload · Issue #7161 · getsentry/sentry-javascript
X Title: Rethink where to put `debug_id` in event Payload · Issue #7161 · getsentry/sentry-javascript
Description: There are considerations around whether the location we currently have debug_id under is a good location. It is now located under event.exception.values[].stacktrace.frames[].debug_id. While it is currently not used, there are worries (m...
Open Graph Description: There are considerations around whether the location we currently have debug_id under is a good location. It is now located under event.exception.values[].stacktrace.frames[].debug_id. While it is ...
X Description: There are considerations around whether the location we currently have debug_id under is a good location. It is now located under event.exception.values[].stacktrace.frames[].debug_id. While it is ...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/7161
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Rethink where to put `debug_id` in event Payload","articleBody":"There are considerations around whether the location we currently have `debug_id` under is a good location. It is now located under `event.exception.values[].stacktrace.frames[].debug_id`. While it is currently not used, there are worries (mainly by @mitsuhiko and @jan-auer) that having a JavaScript-specific field in the stack frame protocol will complicate many things in our code base.\r\n\r\nAs of now, the better alternative seems to be putting the `debug_id` mappings inside the Debug Meta Interface. Here we would have an image type that maps from `abs_path` (of the JS source file) to `debug_id` (an identifier for the source map in the backend). [Develop PR for more context](https://github.com/getsentry/develop/pull/836).\r\n\r\n**There is a potential issue we may face down the line:**\r\n\r\nThere is a good chance that the `filename` of a stack frame and the `source_filename` value of the Debug Meta mapping will not match, especially since we provide a dedicated API with the `RewriteFrames` integration to manipulate the file path in order to match source maps in the cases where the path may be dynamic. Essentially this means using the new `debug_id` approach alongside the `RewriteFrames` integration will in many cases not work.\r\n\r\nThe alternative solution is to keep the `debug_id` inside the stack frame object, completely disassociating the filename from source map resolving.","author":{"url":"https://github.com/lforst","@type":"Person","name":"lforst"},"datePublished":"2023-02-13T13:21:19Z","url":"https://github.com/getsentry/sentry-javascript/issues/7161"}
| 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:8f4276e4-025e-da66-68dd-349ce62ca780 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D154:27570E:FE18E:15D567:6B04B132 |
| html-safe-nonce | 5a9ccac60250cde4acb08591f8bb95a9745e4cfa69774bddb0c2c08a3549a785 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTU0OjI3NTcwRTpGRTE4RToxNUQ1Njc6NkIwNEIxMzIiLCJ2aXNpdG9yX2lkIjoiNzIzMDc1NzIwMTg3NzcwOTEwNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bba1d741447df9d20b9ba31fa7471cc29b2f4a4f7a1c6f1f52c1acac07a10622 |
| hovercard-subject-tag | issue:1582347121 |
| 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/7161/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9e5872ce73f5a85434342270aa7605600bf04fcc9639e8e8dd21218b9e68cd42/getsentry/sentry-javascript/issues/7161 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9e5872ce73f5a85434342270aa7605600bf04fcc9639e8e8dd21218b9e68cd42/getsentry/sentry-javascript/issues/7161 |
| og:image:alt | There are considerations around whether the location we currently have debug_id under is a good location. It is now located under event.exception.values[].stacktrace.frames[].debug_id. While it is ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lforst |
| hostname | github.com |
| expected-hostname | github.com |
| None | f1d110ea058a0915c1d8aa3fc2069fa15801e128f591e5762525abe77490ecb1 |
| 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 | ffa22a65e4c46d376940fe34b05e6a7e9c7fdb9b |
| ui-target | full |
| 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