Skip to content
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

Livescores (v2) orphan data handle #1331

Closed
migbash opened this issue May 19, 2023 · 0 comments
Closed

Livescores (v2) orphan data handle #1331

migbash opened this issue May 19, 2023 · 0 comments
Assignees
Labels
🐞 [A] bug Something isn't working. Needs to be looked at. 🌟 [A] enhancement New feature or request 🔄 [ST] background Happening in the background and active. Out of direct control. ⏳ [ST] validating In a passive-active state. Being inspected and checked.

Comments

@migbash
Copy link
Collaborator

migbash commented May 19, 2023

Related/parent => #1108

DESCRIPTION

Multi-part issue for Livescores-v2 widget.

  1. Orphan Issue
  2. Firebase | Outdated Data - 🔥 Hot Fix - Firebase - live Updates issues #1108
  3. Firebase | Connection lost / freeze -> 🔥 Hot Fix - Firebase - live Updates issues #1108

  1. ✅ IMPLEMENTED

At times, the platform reloads as per a feature by the Realtime DB from Firebase, when a connection is lost, this loads the correct, and most up-to-date data for the livescroes-v2 widget. However, when this does not happen (or doesn't need to), the user is stuck relying on the livescores_now_scoreboard data to keep getting the latests new data. But, after 30 or X minutes of inactivity, the fixture might have finished and removed from the livescores_now_scoreboard data. This causes an orphan data to get stuck with a LIVE status (or otherwise incorrect data). As data is no longer avaialble on the livescores_now_scoreboard - a request needs to be made to the source Hasura to get the latest orphan data, for the target orphan fixtures.

For example:


Ended game


Same game (above) but mobile is off - example of orphan

DATA IS STILL FLOWING CORRECLTY ACCORDING TO LOGS:

  • Issue is regarding the NON-UPDATING of data, despite no errors and data still flowing in by the (document.hidden) validation check;

⚠️ HOWEVER, NOTE that the "real-time" no longer flows-in/works in this case…

@migbash migbash self-assigned this May 19, 2023
@migbash migbash added 🐞 [A] bug Something isn't working. Needs to be looked at. 🌟 [A] enhancement New feature or request labels May 19, 2023
@migbash migbash changed the title Livescores (v2) orphan data handle Livescores (v2) orphan data handle (+ other) May 19, 2023
@migbash migbash added ⏳ [ST] validating In a passive-active state. Being inspected and checked. 🔄 [ST] background Happening in the background and active. Out of direct control. labels May 19, 2023
migbash added a commit that referenced this issue May 22, 2023
@migbash migbash changed the title Livescores (v2) orphan data handle (+ other) Livescores (v2) orphan data handle May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 [A] bug Something isn't working. Needs to be looked at. 🌟 [A] enhancement New feature or request 🔄 [ST] background Happening in the background and active. Out of direct control. ⏳ [ST] validating In a passive-active state. Being inspected and checked.
Projects
Archived in project
Development

No branches or pull requests

2 participants