Closed georgeciubotaru closed 20 hours ago
Does it mean our reports will not be precise if we don't fix that bug?
@zolotokrylin It means the sync process will fail, as the dates
type should be timestamp not Nan
@georgeciubotaru,
@zolotokrylin
@teodorus-nathaniel Can you please check this issue? basically we get Nan for events (PR_SUBMISSION_CREATED)
@georgeciubotaru can you provide more details on this issue? or best thing is, do you know the steps to reproduce it?
I just checked the pr-time-tracker.vercel.app/api/events
and it seems like from the result it doesn't have any events with NaN updated_at
or created_at
From what I checked in code, it just seems like the only probable way this happens is if user somehow updates the submission, but sends created_at or updated_at as undefined.
For this case, I have fixed it in #332 But I can't make sure that this issue is 100% fixed as I don't know the exact reproduction (but imo it should fixes the issue)
Some of the records from Bigquery DB contain
NaN
value forcreated
,updated_at
fields of the submission event.