-
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 for payment 2024-06-06] [$250] Distance is not optimistically updated #41817
Comments
Triggered auto assignment to @Christinadobrzyn ( |
Job added to Upwork: https://www.upwork.com/jobs/~01e08c348144daf8d9 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @akinwale ( |
cc @neil-marcellini and @paultsimura since you were involved in the slack chat - https://expensify.slack.com/archives/C049HHMV9SM/p1713898800427079 |
ProposalPlease re-state the problem that we are trying to solve in this issue.The distance does not optimistically update to the correct new value while online. It updates to a big value, then showing "pending" and then updates. What is the root cause of that problem?We always set Lines 2322 to 2323 in 55c56bf
What changes do you think we should make in order to solve the problem?We should check if the route is also updated, we will calculate the amount and update it in optimistic data. The way to calculate the same as we do in
Lines 2861 to 2862 in 55c56bf
2. Pass routes and policy into IOU.updateMoneyRequestDistance function here
Line 2319 in 55c56bf
Do the same for OPTIONAL: We can create a util to update the amount when the waypoint is changed and use it in these functions What alternative solutions did you explore? (Optional)NA ResultScreen.Recording.2024-05-08.at.12.28.02.mov |
cc @paultsimura since you were in the Slack convo, just in case you have some input here. |
@akinwale, @neil-marcellini, @Christinadobrzyn Eep! 4 days overdue now. Issues have feelings too... |
Bump @akinwale please review |
@nkdengineer's proposal works here. 🎀👀🎀 C+ reviewed. |
Current assignee @neil-marcellini is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
I agree! Hired. I like the idea of using util functions to avoid repetition and simplify. |
❌ There was an error making the offer to @akinwale for the Reviewer role. The BZ member will need to manually hire the contributor. |
📣 @nkdengineer 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
reviewing PR - #42337 |
monitoring - #42337 |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.77-11 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 2024-06-06. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
@akinwale do we need a regression test for this? Payouts due:
Upwork job is here. |
@Christinadobrzyn Yes, we do. Also, please note that there was a regression from the PR, so there should be a penalty of 50% of the due payment applied. |
hi @akinwale can you provide the regression test for this? Thank you! |
Not a regression.
Regression Test Steps
Do we agree 👍 or 👎? |
@Christinadobrzyn Done! |
Thanks @akinwale - regression test here - https://github.com/Expensify/Expensify/issues/403299 Paying out based on this payment summary - #41817 (comment) Closing this out! let me know if I missed anything! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.71-0
Reproducible in staging?: y
Reproducible in production?: y
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: @neil-marcellini
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1713898800427079
Action Performed:
Expected Result:
The distance optimistically updates to the correct new value.
Actual Result:
The distance does not optimistically update to the correct new value while online. It updates to a big value, then showing "pending" and then updates.
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Recording.9.mp4
Screen.Recording.2024-04-23.at.11.56.01.AM.mov
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: