-
Notifications
You must be signed in to change notification settings - Fork 3k
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 for payment 2022-01-21] [$1000] When sending new chats in Desktop, an old message persists at the bottom #5952
Comments
Triggered auto assignment to @conorpendergrast ( |
Triggered auto assignment to @Gonals ( |
@isagoico Can you do me a favor and see if you can reproduce based on my steps above? |
Triggered auto assignment to @kadiealexander ( |
Huh... This is 4 days overdue. Who can take care of this? |
@isagoico Can you do me a favor and see if you can reproduce based on my steps above? |
@mallenexpensify Still unable to reproduce this on my side on the Desktop app |
Eep! 4 days overdue now. Issues have feelings too... |
Makes sense, I think handling "no response" cases seems like a good next progression of our network logic. |
📣 @kidroca You have been assigned to this job by @johnmlee101! |
Should I be posting a comment here once I apply to Upwork? It's not specified on https://github.com/Expensify/App/blob/main/CONTRIBUTING.md#propose-a-solution-for-the-job
I've only been assigned the issue, but not been hired in upwork
Does that mean I should post a comment here or on Upwork? Because on the proposal form in Upwork there's:
|
Jumping in while Matt's on leave. @kidroca I see how this is confusing! I'll pass this feedback along to the team. Could you please leave a comment here with the expected completion time? I've gone ahead and hired you in Upwork. |
Thanks @kadiealexander |
PR is ready: #6567 |
Pinged John and Rory in the PR for 👀 #6567 (comment) |
Going to review this soon! However a lot of this is outside of my wheelhouse a bit more than normal, so I definitely want to have Rory review as well. |
@johnmlee101 @roryabraham can one of you review the PR when ya have time, @kidroca 's been waiting over two weeks (and yes... it's the holidays....) |
it's moving along!!! |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.29-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2022-01-21. 🎊 |
Posted the below image in this slack thread @kidroca do you think the issue I had was related to this GH? In the Slack thread I said 'do nothing' for now so we can wait to see if it happens again |
It kinda is because looks like it would create the same problem - a message stuck on the bottom But the focus of the current issue was on "Network not present" - our messages never reaching the server - and not the server returning 50x codes so we never explored this possibility Whatever message you sent - either caused the server to choke and be unable to process it, or you message reached the server but it wasn't able to return a response because something else already preoccupied it Maybe we need another ticket to find out why a 504 was returned, should we worry about that? |
I've followed the code and it seems we're covering this case as well - meaning App should re-try posting you're Report Action and eventually succeed 1 When we get a 50x error this method would typically fail due to
Lines 14 to 28 in dc2b32e
2 Which means we're going to go in the catch handler here: Lines 228 to 239 in dc2b32e
3 The Non retrievable actions would fall to So the comment would stay on the bottom, but it will get delivered eventually |
Thanks for the context and explanation, it was helpful for me, being a non-engineer.
This likely explains why the comment stopped being stuck at the bottom soon after. In the past, the chats used to get stuck for more longer, I think I had to sign out/in to get them unstuck.
Can you think of a way to reproduce the issue I had? If so, we should definitely create an issue. If not.. are there other way to 'dig into' why 504 was possibly returned? Then we'd be able to potentially make a fix. |
No
I'm 99% sure there should be server logs about these 50x errors and someone already monitors them and would do something about it if necessary or bring it up internally Maybe the request timed out because you send a message just as the backend was getting updated? In any case it something requiring internal knowledge and it's either not a problem or should be discussed internally |
Thanks @kidroca I've asked QA to create a new issue, reference this one and to label |
Paid @kidroca $1000 |
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:
New messages should always display at the bottom.
Actual Result:
When sending new chats in Desktop, an old message persists (is stuck) at the bottom.
Workaround:
Hard refreshing used to solve the problem but it's not now (at least not consistently on desktop). A user needs to log out/in to fix
Platform:
Where is this issue occurring?
Web
iOS
Android
Desktop App ✔️
Mobile Web
Version Number: Version 1.1.7-24
Notes/Photos/Videos:
Switch wifi network from my home network to tethering from my phone, then send messages.
2021-10-19_14-23-38.mp4
Original issue is #3623, it got messy so I created this fresh one.
Logs:
Expensify/Expensify Issue URL:
View all open jobs on Upwork
From @mallenexpensify https://expensify.slack.com/archives/C01GTK53T8Q/p1623805090370500
The text was updated successfully, but these errors were encountered: