-
Notifications
You must be signed in to change notification settings - Fork 2
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
Inconsistent behaviour on notifications #18
Comments
Spent some time debugging this and it looks like Google Drive activity api just sends the wrong comment a lot of the time. It's extremely flaky. @darkLord19 Did you notice this as well? |
@BenCookie95 I did notice duplicate notifications. Upon checking in google api doc they have mentioned that if webhook server doesn't respond with ok status code then google will try to redeliver the same event with exponential backoff. As far as I am aware we do respond with status ok for webhook requests. Maybe our response takes longer than google is expecting or maybe something else. I will have a look at this and see what i find out. I haven't encountered any panics though. I will try to replicate it using steps you mentioned and see if I encounter it. |
@darkLord19 I'm already looking into this issue, I nearly have it resolved |
@BenCookie95 ohh alright. I was away for few days so just saw all the notifications. Let me know if there are any other issues which needs debugging. |
Notifications can be a little sporadic and incorrect, if you play around with a number of accounts you will notice incorrect names, duplicate notifications and missing notifications.
Heads up that these tests are flaky and you will have to play around a bit.
Prerequisites
You will need 3 different google accounts
Enable google drive notifications
Test 1
Expected result: You get a notification for each comment
Actual result: I got a duplicate notification for the second comment but nothing for the first
Test 2
Expected result: You get a notification for the last comment
Actual result: Instead of the notification being the last comment it will contain the content from your "reply to comment" form
Test 3
Expected Result: You receive 2 notifications
Actual result: I didn't get a notification for the anonymous comment. Sometimes the names on the notifications are incorrect.
I also randomly got this panic when doing test 3:
The text was updated successfully, but these errors were encountered: