Inconsistent session replay search results
Environment
SaaS (https://sentry.io/)
Steps to Reproduce
- navigate to Session Replay main page
- search
user.email is not "" - compare results of this search to the unfiltered results
Expected Result
All of the replays with a user email appear on the list for the user.email is not "" search
Actual Result
Some results that appeared in the unfiltered search (and had a user email) do not appear in the filtered search
Unfiltered search:
Filtered search:
Product Area
Replays
Link
No response
DSN
No response
Version
No response
Assigning to @getsentry/support for routing ⏲️
Routing to @getsentry/product-owners-replays for triage ⏲️
Hey @masinette 👋
Thanks for raising this.
The inconsistent search results for the "user.email is not """ search is indeed odd. I've been able to repro this on my laptop. I'm not entirely sure if our 'is not' syntax can work in this way when the value is empty 😅
What is the use-case/rationale for someone searching for this?
Filtering out users who are not signed in
I also tried user.ip is "" and user.ip is None, since the list displays IPs when an email is not available, but both of those queries crashed. After that I ran out of steam looking for ways to get the output I was looking for.
Also, it's not just the is not operator. user.email is "" returns weird results, too. In my project, that returns at least some rows where users clearly have an email.
IP bug relates to https://github.com/getsentry/sentry/pull/69326/files
We're looking into both of these issues, thanks for reporting! @staticshock @masinette
@staticshock the IP bug you discovered should be fixed by https://github.com/getsentry/sentry/pull/78642
Thank you, after this release the issue appears fixed in production :)