-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
[HOLD #227234] Receiving Notifications from chats sent months ago #13140
Comments
Triggered auto assignment to @dylanexpensify ( |
working on reproducing now |
@garrettmknight is this only with your chat with Gabi? |
There's another chat with her that has the 'Invalid Date' text on the same day, but no others. |
Happened to @RobertLadue as well: |
possible theory - something in the API layer changed and is sending an invalid We render the date here -> App/src/pages/home/report/ReportActionItemDate.js Lines 15 to 19 in 820e876
So like the UI says it is probably invalid... Seeing the browser notifications makes sense too since we use the App/src/libs/actions/Report.js Lines 1330 to 1331 in 820e876
IMO this is in part of a consequence of this issue (needs a better general design) and in part due to some API change that we haven't connected to this bug yet (which seems more urgent to solve). |
Ah very interesting @marcaaron. Should we put this on hold then while we work on the linked issue? Or can we work on this externally in the meantime? |
I don't think it should be on HOLD, no. It seems like an API change has triggered this and we should make this |
Sounds good! Thanks! |
I'll take a stab at tracing where this API issue could be coming from |
Amazing, thanks @arosiclair ! |
@arosiclair any update here? |
Not sure where this could be coming from but here's what I've found so far. Several months ago we started using timestamps with millisecond precision in this PR. At the time we weren't depending on the A couple weeks ago we changed logic on how we generate and use If these were breaking changes, I'd think old messages sent before the above deploys would have this Invalid Date issue but that isn't the case for me. I've also tried trimming off the millisecond portion of the @luacmartins @roryabraham @tylerkaraszewski Any ideas if they (or anything else) might be the source of this issue? It might also be worth running a CQ to find what the |
@arosiclair any updates by chance? |
Only path forward I see is getting affected reportIDs and running a CQ to see what these invalid @garrettmknight @RobertLadue @joekaufmanexpensify could you share the report IDs for the chats you guys experienced this Invalid Date issue? You can open the chat in web and grab the ID from the URL here |
Sorry I completely missed the ping here. It seems like the PRs Andrew linked are probably the cause. I agree that we could run a CQ to get the created dates for those reports to see how we are storing the date and then fix it. |
I know I did experience this issue at some point in the past, but I don't remember which report, and didn't record it. Sorry! For me, signing out and back in resolved the issue at the time. |
@arosiclair, @dylanexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
No real updates atm. Signing out and back in resolving the issue suggests that Onyx might have had an invalid Bumping @garrettmknight @RobertLadue for those report IDs |
A couple of things:
|
Yeah let's just close this out for now as this may never come up again after sequence numbers is finished. If it does, we can just reopen and take another look. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
Notifications received would be from our chats happening now
Actual Result:
Received notifications from chats received months ago. When I look at those chats they also show “Invalid Date”
Workaround:
unknown
Platform:
Where is this issue occurring?
Version Number: 1.2.30-0
Reproducible in staging?: Needs reproduction
Reproducible in production?: Needs reproduction
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Expensify/Expensify Issue URL:
Issue reported by: @garrettmknight
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1669654070339909
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: