-
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 2023-11-22] [HOLD for payment 2023-11-13] Expense - Copy to clipboard option for system message for paid expense crashes the app #30796
Comments
Triggered auto assignment to @greg-schroeder ( |
Bug0 Triage Checklist (Main S/O)
|
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @marcaaron ( |
Seems most likely related to the changes here |
we are getting {amount, currency} from originalMessage.IOUDetails while the originalMessage dont have any IOUDetails but has {amount, currency} in itself. https://github.com/Expensify/App/blob/main/src/libs/ReportUtils.js#L4072 |
Maybe this one then -> #30640 ? |
@marcaaron why is it related to that? our change was execlusive to safari only, nothing else, so if it was related why would this issue happen on all platform when our code change doesn't even get executed by anything other than Safari? |
@AmjedNazzal yes, see my next comment. I was taking an educated guess based on the title of the PR. |
Reverting #30640 fixes the issue. |
I can raise a quick fix PR if requires ProblemCopy to clipboard option for system message for paid expense crashes the app Root Causewe are getting {amount, currency} from originalMessage.IOUDetails while the originalMessage dont have any IOUDetails but has {amount, currency} in itself. https://github.com/Expensify/App/blob/main/src/libs/ReportUtils.js#L4072 Changes:First we will check if there is IOUDetails if not we will get amount, currency from originalMessage const {amount, currency} = originalMessage.IOUDetails || originalMessage |
I approved the PR, but let's keep this issue open until we figure out why we have this |
Fix should be working in staging, NAB |
@mountiny @marcaaron can you weigh in here as well? thanks! |
I think this was a regression and the solution used to resolve this Pr was proposed by me here. |
@ishpaul777 solution is actually a mix of the old pr + reverting old pr |
I think the root cause and solution was provided already as this is was a regression and DB offending PR author resolves the issue if available, and as far as i have noticed if PR author choose to go with Proposed solution, 25% of base price is paid to contributor who propose the solution. Am I right @mountiny? if we don't decide to pay for this, i will be okay 👍 but i think this is general process we follow for DB. |
This issue wasn't even ever labeled "External". Thank you for your input, but I would ask you to unsubscribe from notifications here and move on to working on other issues (preferably marked as "External" and "Help wanted"), as we do have guidelines about the lack of any guarantees about posting proposals to internal issues, unnecessary pinging, and other. |
You misspelled $62.50 🤪
We could try arguing, instead, that the schema of the discussed structure was unclear, and we'd like to ask for considering not applying the regression penalty in this case. |
I know that generally Deploy blockers are not external issues but I was just telling the general process i have noticed and experienced in other Deploy blockers, I apologise if I was wrong about the process |
@cubuspl42 hahaha |
it was a regression from @saranshbalyan-1234 PR right? And they raised a fix? then no payment here but also no penalty for regression on the original issue |
@mountiny considering the amount of effort for debugging, |
@mountiny is there a guidline on when contributors can expect a bounty for proposing solution to deploy blocker, as DB are high priroty issues if contributor has spent some effort finding root cause and proposed solution is used by Pr author it should be rewarded equally for all issues. Just pointing out because i have seen some issues paid 25% of base price. Currently it's very confusing and sometimes demotivating. |
@ishpaul777 unfortunately the DB are still kind of a grey area in this case and we havent standardized a good approach. Problem is simply that the DBs are regressions from someone elses PR and if we should pay another person $500 + $500 for a C+ review and then we also pay the engineers who cause the deploy blocker, although with a penalty, thats seems like throwing money out of window, doesnt it? At the same time we want to get them fixed asap. So no guidelines as of now, but I think we will try to work on ways to make the treatment of deploy blcookers more transparent and easier to manage. @saranshbalyan-1234 I understand this took more time to debug, but I believe this should have been caught in the original PR and tested properly all the cases on report actions and copy to clipboard. This caused a crash of the app which is a major regression. |
@mountiny ok😅 |
Totally understandable! I just wanted clarification on why on some DB were paid 25% and some not like this when exact solution is used its demotivating, Please view this as feedback rather than a complaint; I am grateful and satisfied with payments Expensify made for contributions. |
Thank you, we value your contributions, its just not easy to manage the program with so many individual contributors. |
Thanks all for the discussion. Agreed with @mountiny that we need a bit clearer guidelines on DBs... I'll start a convo with the team about this. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.99-0 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 2023-11-22. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
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:
|
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.3.95-0
Reproducible in staging?: Y
Reproducible in production?: N
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: Applause - Internal Team
Slack conversation:
Issue found when executing PR #30478
Action Performed:
Expected Result:
App does not crash
Actual Result:
App crashes
Crash is reproducible on Android and iOS.
On web, mweb and desktop app, Copy to clipboard button is not responsive and console error shows up
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6261302_1698952944194.Screen_Recording_20231103_031609_One_UI_Home.mp4
logs.txt
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: