-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Stack parsers use both ?
and <anonymous>
to denote anonymous functions
#5523
Comments
Hey - you're right that this is kind of a weird inconsistency. @kamilogorek any ideas on why this happens? |
If we change this, will it impact fingerprinting? |
Mostly likely yes - we'll need to understand the grouping impact, but we can get folks more involved there (and run some queries in Sentry to determine possible impact). |
Historical reasons. It was called Now, this will not affect any grouping (at least for one version of it), due to those frames being skipped, see: https://github.com/getsentry/sentry/blob/46d9c2aa672b8abe2e26e52c60e9ffc32eba9c23/src/sentry/grouping/strategies/newstyle.py#L394-L398 Also original references: sentry-javascript/packages/raven-js/src/raven.js Line 1122 in 7b664ff
|
This issue has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you label it "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
I'm going to submit a PR to change everything to |
yeah that sounds good to me - will be more bundle size efficient. Maybe we should also write this in the developer docs somewhere. |
This could potentially be a breaking change since customers might be using Seems highly unlikely anyone is doing this but worth considering. |
How about we just backlog for the next major bump then? I don't mind tabling this patch until then since we treat it identically for grouping strategies. |
resolved with #10732 |
Chrome/v8 stack frames use
?
to denote anonymous functions but we also use<anonymous>
in a few places.sentry-javascript/packages/utils/src/stacktrace.ts
Line 75 in 78395c6
sentry-javascript/packages/utils/src/stacktrace.ts
Line 80 in 78395c6
The text was updated successfully, but these errors were encountered: