-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
fix(browser): Reassign lastEventId
while eliminating duplicate events.
#4021
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
Conversation
size-limit report
|
Overall I think it might work fine. WDYT @getsentry/team-webplatform ? |
I’m fine with this approach |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add tests?
And a question: is it possible the following flow happens?
- A duplicated event E is generated.
- Another event F is generated.
- The ID of event E is set as the last ID.
- The latest event ID corresponds to E, instead of F.
Closing this, as @iker-barriocanal, thanks. I'm now working on a new PR to add a test suite for dedupe integration. 👍 |
Fixes: #4018