-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[Due for payment 2025-04-23] [$250] Create report - No error is shown and the composer is presented after turning on failing request #59853
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
Comments
Triggered auto assignment to @kadiealexander ( |
Job added to Upwork: https://www.upwork.com/jobs/~021909791535722529701 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.The composer is still presented and the error is not shown when trying to create expense report with the failing requests turned on What is the root cause of that problem?Currently, it's not a bug, the request is retried 10 times before applying the App/src/libs/Network/SequentialQueue.ts Lines 117 to 120 in 563386f
What changes do you think we should make in order to solve the problem?Update the logic to merge the
App/src/libs/Network/SequentialQueue.ts Lines 117 to 120 in 563386f
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?We can add a test case in What alternative solutions did you explore? (Optional)ResultScreen.Recording.2025-04-09.at.09.50.16.movReminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
This is not a bug, failing requests setting takes really long time to apply failure state. Perhaps some day we should make this faster. Getting this failure state took me at least two full minutes. I'm posting a trimmed video(split into two parts) as a proof. part1.movpartlast.movcc @mountiny |
@SzymczakJ Yes, currently, we're still running the retry logic if Or I think we can reduce the request wait time. It's increased App/src/libs/RequestThrottle.ts Line 32 in cd227b6
|
It's a troubleshoot option, I'm not sure, if we want to spend our time on changing something like this right now, as this doesn't give any value to the user. Issue owner should make this decision. What I think about proposed solution:
I think it's not a good idea to reduce wait time as It's a exponential backoff algorithm and it's common solution for retrying failing requests. I liked your previous idea with merging the failureData immediately better. |
Yeah I am not sure if this is a bug really, this is not representative of this request actually failing |
Noting that in the BE this caused bunch of errors as the same request with the same params was used causing the subsequent calls to fail as the same IDs cannot be inserted the db obviously |
@mountiny As I mentioned above we can prevent the retry logic with the failing setting then we can prevent the thing you mentioned and also that will improve the testing experience. |
@nkdengineer if this settings is not on and the CreateAppReport call fails, we would retry 10times for the normal user? I dont think so right? |
@mountiny If this setting is not on, the API fails from the backend (that means this problem will not happens ), and we will do the retry logic normally. If all of them still fail, the |
Ok then your change makes sense to me, it does not make much sense to me to retry those failing requests |
📣 @nkdengineer 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.28-15-staging 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 2025-04-23. 🎊 For reference, here are some details about the assignees on this issue:
|
@allroundexperts @kadiealexander @allroundexperts The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
Triggered auto assignment to @sakluger ( |
Reassigning to handle payment as I'm heading OOO. Thanks for your help @sakluger! |
$250 to @nkdengineer and to @allroundexperts |
I guess no checklist is needed here as this was an improvement and not a bug. |
Yeah all good, I think no tests required here either |
Payment SummaryContributor: @nkdengineer paid $250 via Upwork |
Uh oh!
There was an error while loading. Please reload this page.
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Issue was found while executing QA for PR #59386
Version Number: 9.1.24-4
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: #59386
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: MacBook Air 15.4 Chrome, iPhone 15 iOS 8.3.2 Safari
App Component: Other
Action Performed:
Expected Result:
The composer is gone and the error shows up when trying to create expense report with the failing requests turned on
Actual Result:
The composer is still presented and the error is not shown when trying to create expense report with the failing requests turned on
Workaround:
Unknown
Platforms:
Screenshots/Videos
bug.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @saklugerThe text was updated successfully, but these errors were encountered: