-
Notifications
You must be signed in to change notification settings - Fork 927
infinite setTimeout loops after upgrading to 9.9.1 #6606
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
Comments
Anything would be helpful, a minimal reproduction would be best, the full app code would be useful as well, especially if you can point out where in the code App Check is used. If you only have an app build that demonstrates the problem, I can try to work with that. Which AppCheck-enabled products are you using? Firestore/RTDB/Functions/Storage? |
Here's the source code of our firebase configuration: Here's the live app showing the issue: https://alex-next.reflect.app/app And a demo video: |
Thanks for all the information. I was able to reproduce the behavior in the video by using the live app and substituting a logging version of window.setTimeout. A couple of things stood out:
Edit: The only change in Firestore between 9.9.0 and 9.9.1 seems to be updating the grpc-loader dependency which I don't think would be related to any kind of slowdown or excessive setTimeout calls. https://github.com/firebase/firebase-js-sdk/pull/6442/files |
Thanks! Glad you were able to reproduce.
It's possible that this is caused by some kind of internal state issue with locally cached data? Just an idea. |
That seems to have fixed it. Thank you! |
Do you think this deserves a bit of a post mortem? I.e. how it happened, how many users affected, steps to prevent that happening again etc. |
Reposting new issue spawned from #6373
Issue reporter says:
The 9.9.1 change is referring to the fix described in this comment:
#6373 (comment)
The PR that comment is referring to is:
#6439
The text was updated successfully, but these errors were encountered: