-
Notifications
You must be signed in to change notification settings - Fork 88
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
Loosing events after upgrading to 1.5.7 #324
Comments
Hi @xmollv would you mind reaching out to |
In addition to what @alanjcharles stated, I'd first try the latest. There were some previously resolved issues that could result in a situation that you're describing. Feel free to reopen and/or reply to this ticket if you have any more questions for us. |
Cool! I've just got in touch with that email, if and when there's a 'solution' found I'll update this ticket for anyone that might have experienced the same issue.
The thing is, we already lost 2 weeks of 'good' data on production. We can't afford to push a build with a broken analytics SDK. How confident are you that what could have been broken on |
@bsneed @alanjcharles I've been poking at the diffs from 1.5.5...1.5.9. I'm pretty sure the issue we are facing was introduced in this PR #304, which seemed to ship with Of course, I might be totally wrong here since I don't know this codebase at all. Just trying to help figure out what's wrong because I really don't like not being able to be on the latest version of an SDK we use! 🙏🏼 |
Hi @bsneed @alanjcharles, we're starting to see this hit us significantly across all tracked events after upgrading from This is the only relevant change over the time period shown below. A drop of nearly 75% in this particular event case. Can you re-open this ticket / otherwise guide us on getting this looked at as a priority? |
@tristan-warner-smith sorry to hear you're running into issues. We pushed I am unable to replicate losing events in my local environment on FYI: you can add a breakpoint here to see your events being batched/sent. |
With this in mind we're putting out a hotfix bumping from |
Eager to see what comes out of this! We have started tested internally |
I know y'all didn't make a big fuss of this, but things are still pretty broken for us. We were in Leaving it here for anyone searching online that Segment is missing events. |
Hi @xmollv would you mind reaching out to |
I already did it last time, and after two weeks of back and forth emails it ended up as 'we don't know what's wrong, so can't reproduce it, therefore we can't fix it'. I'm not going to do it again to get the same result. I think I've already done enough, if y'all don't want to prioritize this that's fine. I told my team that I've pinned the dependency to PS: This is the message I saw this morning when I logged into work from the person that's in charge of Analytics:
The only change between it being broken and it being perfect is this: |
Describe the bug
A few days ago our team realized that some analytics were wrong, and after some investigation it seems that something happened after
1.5.5
where Segment is loosing tracked events. Let me explain:We had build 1.2 on the App Store using Segment
1.5.5
. When we released 1.3 (and 1.4), the only change about analytics was updating Segment to1.5.7
. After doing that, we realized on Mixpanel (what we use to read Segment's data) that some events were totally wrong. We have an onboarding flow where you do steps A → B → C. To reach C, you must have gotten through A & B. Since 1.3, we were seeing that some users reached C without going through A & B, which is impossible.We then released 1.4.1 where the only change was downgrading Segment to
1.5.5
. Since then, we see all events back to normal. Not a single user has managed to skip A and/or B, which leads me to believe that in some of the latest versions of Segment there's a bug somewhere that's leading to data loss.Here's a Mixpanel graph of the discrepancy in the data. Observe how March 23rd the lines start diverging (release of our 1.3 app version which included Segment's
1.5.7
SDK) until April 3rd, where almost all of our users are on 1.4.1 (which means they're using the now downgraded version of Segment, that is1.5.5
).To Reproduce
Unclear. Seems to start happening on versions
> 1.5.5
of the SDK.Expected behavior
No data loss of tracked events.
Screenshots
See above.
Platform (please complete the following information):
Additional context
N/A
The text was updated successfully, but these errors were encountered: