3.20: Sometimes Global Score doesn't auto-update across tabs
Describe the bug When 2 tabs open, one on the Dashboard the second on the Rocket Insights tab, adding a URL on the second tab sometimes won't auto-update the Global Score in the first tab.
To Reproduce Steps to reproduce the behavior:
- Using 3.20-alpha2, open 2 tabs: one on the WPR Dashboard and the other on the Rocket Insights tab.
- While on the Rocket Insights tab, add a URL. > loading spinner is displayed.
- Check the tab with the Dashboard.
- Notice that the previous score is still showing, not the loading animation, and it will be like this until the user manually refreshes the page.
Expected behavior Global Score should auto-update across tabs without the need for a manual refresh.
Screenshots
https://github.com/user-attachments/assets/3a31e1e0-50df-4411-84ed-a234f9f81d1e
- even on the same tab , sometimes after fresh install, home score is there while GS is loading and other times we may have some delay till score/GS is updated
It's important quality problem. We'll need as detailed steps to reproduce as possible
@piotrbak, @Miraeld We can also consistently reproduce this by putting the device to sleep while the loading spinner is displayed. Upon waking the device, it continues to show the loading spinner on both the Dashboard and Rocket Insights tabs. It happens every time.
cc @jeawhanlee, @wordpressfan
I put it to Blocked as we are not sure we will fix this
@wordpressfan Can yolu check comment in the PR itself