-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set Up Code Mapping fails when the file is at the top of the source repository #87044
Comments
Routing to @getsentry/product-owners-issues for triage ⏲️ |
Let me know if this isnt' Product: Issues 👁 |
Sentry Feedback: JAVASCRIPT-2YH9 |
@armenzg, do you know why this could be happening? |
I know why. If you look at the replay there's a link to the error. We currently prevent creating code mappings when the file is at the top of the repository:
This is because we started doing all work with Python packaged frames, thus, always expecting at least a directory. This was a mistake. Fixing it would require making sure we have good test coverage to prevent regressions. I tried to play it safe when prototyping but ended up writing a lot of code with this assumption. |
I'm tracking it now as part of the project. |
On this event, I clicked on:
I left a feedback in Sentry
Replay at that point in time
Note, I had just added mappings on the GitHub config manually
The text was updated successfully, but these errors were encountered: