-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
unhandledException - sticky tag data #196
Comments
Also just observed this related behavior... using the same repro app, altering only Run 1 // configureScope
scope.setTag("foo", "foo");
scope.setTag("bar", "bar"); Run 2: // configureScope
scope.setTag("foo", "foo");
scope.setTag("bar", "bar-run-2"); Output from Run 2:
|
It looks like you're reporting two issues here
The first one is actually the expected behaviour. As you can see here You can stop a tag from appearing in Sentry with:
The second one I'll have to take a look at. If you get a minute, could you you open a PR with a failing e2e test showing this failure? There are already a couple there that do multiple app runs. |
Sorry, I don't think I expressed this very well because there seems a couple different problems in this area.
Not quite, I understand and expect the merge behavior. But in this case For that matter, if I set
Doing this DOES affect the scope that prints out during I haven't dug too deep into the source, but I think all the symptoms are explained by these observed behaviors:
|
Sorry, clear not on what you want me to do. Any progress on this, in general? |
This seems like a bug to me. I asked about this same situation to tech support and during a webinar. Neither case did I receive an explanation as to how to resolve this situation. I think the problem is well explained/document here in this issue, so hopeful someone more knowledgeable at Sentry will chime in to offer some assistance. |
This is a bug yes, here is the fix |
Env
platform: mac-os, linux (appImage)
sdk: 1.0
Description
After configuring tags using
configureScope()
, obsolete tags (from previous builds) appear in scope duringprocess.unhandledException
handling.Obsolete tags do not go away until
userData
dir (or probably some specific portion of it) is cleared.This is observable without the default integrations by inspecting the scope at specific times in app lifecycle.
Repro
This is something that I observed while distilling #195
It requires two builds of the same application... On build 1 the the
foo
tag is included, on build 2, thebar
tag is included instead, butfoo
is still in the scope output of theunhandledException
handler.The text was updated successfully, but these errors were encountered: