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

CRITICAL [UX Reliability] Tracking issue for random unreads in LHN #44683

Closed
muttmuure opened this issue Jul 1, 2024 · 21 comments
Closed

CRITICAL [UX Reliability] Tracking issue for random unreads in LHN #44683

muttmuure opened this issue Jul 1, 2024 · 21 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2

Comments

@muttmuure
Copy link
Contributor

Problem

We're seeing a lot of transaction or report threads being made unread in the LHN - we need to deep dive into why that is and fix it.

Solution

Let's track all of the reports of unexpected unreads in the LHN in this issue and keep this issue open until we get to the bottom of it and fix all instances of this bug.

@muttmuure muttmuure added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jul 1, 2024
Copy link

melvin-bot bot commented Jul 1, 2024

Triggered auto assignment to @zanyrenney (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@mallenexpensify
Copy link
Contributor

@muttmuure , do you want to link them in the OP or are the mentions above enough for tracking purposes?

@muttmuure
Copy link
Contributor Author

I think the mentions are fine

@melvin-bot melvin-bot bot added the Overdue label Jul 5, 2024
@muttmuure
Copy link
Contributor Author

No update yet - we're working through them

@melvin-bot melvin-bot bot removed the Overdue label Jul 8, 2024
@mallenexpensify
Copy link
Contributor

New chats not loading or showing in LHN
@muttmuure do you want the above added here? It might be the opposite, where unread chats aren't showing.

@puneetlath
Copy link
Contributor

So we've got a few known issues that we're tackling:

@melvin-bot melvin-bot bot added the Overdue label Jul 10, 2024
@deetergp
Copy link
Contributor

Investigations are ongoing.

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Jul 10, 2024
@muttmuure
Copy link
Contributor Author

@melvin-bot melvin-bot bot removed the Overdue label Jul 15, 2024
Copy link

melvin-bot bot commented Jul 15, 2024

@deetergp @muttmuure this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

@deetergp
Copy link
Contributor

The PR to prevent sending updates to paycheck and bill reports was approved and merged on Tuesday afternoon. @puneetlath and I identified another situation where we might be incorrectly marking reports as unread. I'm hoping to have a PR to address that raised later in the day today.

@melvin-bot melvin-bot bot added the Overdue label Jul 19, 2024
Copy link

melvin-bot bot commented Jul 22, 2024

@deetergp, @muttmuure Huh... This is 4 days overdue. Who can take care of this?

@deetergp
Copy link
Contributor

This PR just went out to Auth which catches a number of edge cases around reports becoming unexpectedly unread when they receive ESM supported system messages.

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Jul 22, 2024
Copy link

melvin-bot bot commented Jul 26, 2024

@deetergp, @muttmuure Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@muttmuure
Copy link
Contributor Author

@deetergp it seems like we've made some progress on this.

It looks like this is the only issue left with random unreads? #44693

@melvin-bot melvin-bot bot removed the Overdue label Jul 29, 2024
@muttmuure
Copy link
Contributor Author

Can you give an update on the status of the clean up? Thank you!

@deetergp
Copy link
Contributor

@muttmuure I spent some time on it on Thursday and was able to reproduce this locally with bulk exporting. I was OOO on Friday and am back and going to dig into it further today to see if I can prove or disprove my commit conflict theory.

@melvin-bot melvin-bot bot added the Overdue label Jul 31, 2024
@deetergp
Copy link
Contributor

I found a pretty big bug where, on reports where multiple users should be receiving updated last read times, we were only ever sending one for the first accountID returned by the query. That went to production around 6:30 AM PDT on the 30th. @puneetlath and I did some testing yesterday and found that we should be including REIMBURSED in the list of ESM supported actions. I made a PR for it that was merged earlier today, but has not yet been deployed to production. @twisterdotcom opened a GH earlier today about reports going unread because of POLICYCHANGELOG actions being added, but each one of them happened before the big bugfix went out. I've left the GH open and made it weekly since we are in a wait-and-see pattern at this point.

@melvin-bot melvin-bot bot removed the Overdue label Jul 31, 2024
@muttmuure
Copy link
Contributor Author

@melvin-bot melvin-bot bot added the Overdue label Aug 5, 2024
@muttmuure
Copy link
Contributor Author

Not overdue

@melvin-bot melvin-bot bot removed the Overdue label Aug 5, 2024
@deetergp
Copy link
Contributor

deetergp commented Aug 5, 2024

Last week, we figured out that everything is finally working correctly on the backend when we bulk export large numbers of reports. Unfortunately, we have also discovered that, despite setting the correct last read times on the backend, and despite queueing them for delivery via Pusher, not everybody is receiving them correctly on the front end. I've started a discussion here to ask for help as I'm not quite sure where to go next with this.

@muttmuure
Copy link
Contributor Author

This issue is the final report of this happening, so let's close this main tracker in favor of that one

@github-project-automation github-project-automation bot moved this from CRITICAL to Done in [#whatsnext] #quality Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2
Projects
Development

No branches or pull requests

5 participants