-
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
[$250] Not Found page shows up when enabling Company Cards on offline #57119
Comments
Triggered auto assignment to @Christinadobrzyn ( |
I'm not able to reproduce this - asking QA to test. https://expensify.slack.com/archives/C9YU7BX5M/p1739993078008289 |
Still reproducible Recording.38.mp4 |
Job added to Upwork: https://www.upwork.com/jobs/~021892309795912003900 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @suneox ( |
🚨 Edited by proposal-police: This proposal was edited at 2025-02-20 05:58:39 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.What is the root cause of that problem?When offline we have three requests in the network queue When we get a request to process here by App/src/libs/actions/PersistedRequests.ts Line 122 in bf23769
After the API is complete, we call App/src/libs/Network/SequentialQueue.ts Line 110 in bf23769
Because the API1 and API3 are the same and the App/src/libs/actions/PersistedRequests.ts Line 64 in bf23769
So we only called two What changes do you think we should make in order to solve the problem?This starts happening after this PR. We have some options to fix it
App/src/libs/actions/PersistedRequests.ts Line 122 in bf23769
App/src/libs/actions/PersistedRequests.ts Lines 63 to 68 in bf23769
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?Update test for What alternative solutions did you explore? (Optional)We can add Reminder: 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. |
Awesome, @suneox can you take a peek at @nkdengineer's proposal to see if it will work? |
The alternative solution from @nkdengineer looks better than his primary proposal. In this case, the API toggle feature should be called once with the latest request instead of calling all toggle APIs for each feature. The solution using RequestConflictResolver from his alternative proposal LGTM, and we need to apply it for all feature on the 🎀 👀 🎀 C+ reviewed Note We can add more optional params into RequestConflictResolver to automatically resolveSingleRequest. |
Triggered auto assignment to @roryabraham, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@roryabraham Please help to review this #57119 (comment) |
@suneox, @roryabraham, @Christinadobrzyn Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.1.1-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @c3024
Slack conversation (hyperlinked to channel name): #Expensify bugs
Action Performed:
Expected Result:
The Company Cards page should continue showing up as it was before.
Actual Result:
The Company Cards page changes to Not Found page.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Screen.Recording.2025-02-19.at.6.49.28.PM.mov
Recording.998.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @roryabrahamThe text was updated successfully, but these errors were encountered: