Open InterstellarStella opened 1 month ago
Assigning to @getsentry/support for routing ⏲️
Routing to @getsentry/product-owners-settings-integrations for triage ⏲️
Routing to @getsentry/product-owners-issues for triage ⏲️
Hi @InterstellarStella! I believe this falls within this known issue where we intentionally do not try to code-map source paths or stacktrace filepaths that contain only one file and no directories. This is because allowing single file matches would dramatically increase the potential for false code mappings.
In the example you shared, the source code path contains only the file index.js
, which is a good example of why we chose to implement it this way since index.js
is an extremely common file name - we want to make sure there's more overlap between the strack trace file path and the source path before we create a connection between the two, and there's no overlap to compare if either one contains only a single file.
That being said, this also could be a legitimately missed edge case that I'd like to investigate. Could you share the issue that that this is happening in so I can take a look for myself?
Hi @MichaelSun48 sorry for the late response. I added some more details regarding the original customer case in the linked shadow ticket. Please let me know if you need more information!
No worries @InterstellarStella, I'll respond to you internally about this in a moment!
Environment
SaaS (https://sentry.io/)
Steps to Reproduce
Expected Result
The code mapping works.
Actual Result
The code mapping doesn't work in either case.
Through the UI modal:
Note that there are no errors thrown when we hit "Save", as this was fixed here.
Product Area
Settings - Integrations
Link
No response
DSN
No response
Version
No response
┆Issue is synchronized with this Jira Improvement by Unito