Skip to content
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-08-01][$1000] Chat - App crashed while clicking on non-existed mention email #23250

Closed
6 tasks done
kbecciv opened this issue Jul 20, 2023 · 30 comments
Closed
6 tasks done
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor

Comments

@kbecciv
Copy link

kbecciv commented Jul 20, 2023

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:

  1. Go to any chat.
  2. Mention an non-existed email and press enter to send
  3. Click on that mention
  4. Notice that app is crashed

Expected Result:

App shouldn't be crash after clicking mention

Actual Result:

App crashed while clicking on non-existed mention email

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.43-2
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
Notes/Photos/Videos: Any additional supporting documentation

Screen.Recording.2023-07-20.at.14.43.03.mov
Recording.3769.mp4

Expensify/Expensify Issue URL:
Issue reported by: @hungvu193
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1689839180058799

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01100b87f8a6a775ce
  • Upwork Job ID: 1681996917328850944
  • Last Price Increase: 2023-07-20
@kbecciv kbecciv added the DeployBlockerCash This issue or pull request should block deployment label Jul 20, 2023
@hungvu193
Copy link
Contributor

hungvu193 commented Jul 20, 2023

There's a discussion here to decide if this a regression: https://expensify.slack.com/archives/C049HHMV9SM/p1689839180058799

In case this is not a regression, I already posted my solution in the thread above.

We should pass login to our generateAccountID() function in here

 const optimisticAccountID = UserUtils.generateAccountID(login);

or at least add a initial value for searchValue of generateAccountID function.

@OSBotify
Copy link
Contributor

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@melvin-bot
Copy link

melvin-bot bot commented Jul 20, 2023

Triggered auto assignment to @MariaHCD (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Hourly KSv2 labels Jul 20, 2023
@hungvu193
Copy link
Contributor

@MariaHCD PR is ready! There's a lint issue but it's from main and being addressed by this PR
#23256 (cc @mountiny )

@MariaHCD MariaHCD added the External Added to denote the issue can be worked on by a contributor label Jul 20, 2023
@melvin-bot melvin-bot bot changed the title Chat - App crashed while clicking on non-existed mention email [$1000] Chat - App crashed while clicking on non-existed mention email Jul 20, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 20, 2023

Job added to Upwork: https://www.upwork.com/jobs/~01100b87f8a6a775ce

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jul 20, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 20, 2023

Triggered auto assignment to @lschurr (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

@MariaHCD MariaHCD added Bug Something is broken. Auto assigns a BugZero manager. and removed Help Wanted Apply this label when an issue is open to proposals by contributors labels Jul 20, 2023
@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jul 20, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 20, 2023

Current assignee @lschurr is eligible for the Bug assigner, not assigning anyone new.

@melvin-bot
Copy link

melvin-bot bot commented Jul 20, 2023

Current assignee @sobitneupane is eligible for the External assigner, not assigning anyone new.

@melvin-bot
Copy link

melvin-bot bot commented Jul 20, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@melvin-bot
Copy link

melvin-bot bot commented Jul 20, 2023

📣 @sobitneupane Please request via NewDot manual requests for the Reviewer role ($1000)

@melvin-bot
Copy link

melvin-bot bot commented Jul 20, 2023

📣 @hungvu193 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@melvin-bot
Copy link

melvin-bot bot commented Jul 21, 2023

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:

  • [@sobitneupane] The PR that introduced the bug has been identified. Link to the PR:
  • [@sobitneupane] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@sobitneupane] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@sobitneupane] Determine if we should create a regression test for this bug.
  • [@sobitneupane] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@lschurr] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Jul 25, 2023
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2023-07-28] [$1000] Chat - App crashed while clicking on non-existed mention email [HOLD for payment 2023-08-01] [HOLD for payment 2023-07-28] [$1000] Chat - App crashed while clicking on non-existed mention email Jul 25, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 25, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.44-2 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-08-01. 🎊

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.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

For reference, here are some details about the assignees on this issue:

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot
Copy link

melvin-bot bot commented Jul 25, 2023

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:

  • [@sobitneupane] The PR that introduced the bug has been identified. Link to the PR:
  • [@sobitneupane] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@sobitneupane] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@sobitneupane] Determine if we should create a regression test for this bug.
  • [@sobitneupane] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@lschurr] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@mountiny mountiny removed the DeployBlockerCash This issue or pull request should block deployment label Jul 25, 2023
@lschurr lschurr changed the title [HOLD for payment 2023-08-01] [HOLD for payment 2023-07-28] [$1000] Chat - App crashed while clicking on non-existed mention email [HOLD for payment 2023-08-01][$1000] Chat - App crashed while clicking on non-existed mention email Jul 25, 2023
@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels Jul 27, 2023
@lschurr
Copy link
Contributor

lschurr commented Jul 31, 2023

Not overdue. Payment will happen tomorrow. I'll review today and note payments amounts.

@melvin-bot melvin-bot bot removed the Overdue label Jul 31, 2023
@lschurr
Copy link
Contributor

lschurr commented Jul 31, 2023

@sobitneupane - could you work on the checklist for this one?

@dylanexpensify
Copy link
Contributor

@hungvu193 apologies if I missed this, but what was the verdict on this being a regression? And if so, who caused it?

@hungvu193
Copy link
Contributor

hungvu193 commented Aug 2, 2023

@hungvu193 apologies if I missed this, but what was the verdict on this being a regression? And if so, who caused it?

@dylanexpensify Yeah, we have a discussion here about it:
https://app.slack.com/client/T03SC9DTT/C049HHMV9SM/thread/C049HHMV9SM-1689839180.058799

It was decided not a regression, but we should double check again latest main before merge PR into main to prevent this kind of issue happened.

For the reason:

  1. A new param was added to generateAccountID in Expensify/App/pull/22791
  2. But another PR used generateAccountID when there was no param added: Expensify/App/pull/23053
  3. Expensify/App/pull/23053 was merged first and then a day later Expensify/App/pull/22791 was merged

@lschurr
Copy link
Contributor

lschurr commented Aug 2, 2023

Payout summary:

@hungvu193 will be paid in Upwork
@sobitneupane - be sure to request payment in Newdot.

@lschurr
Copy link
Contributor

lschurr commented Aug 2, 2023

@sobitneupane could you also work on this checklist so that we can close this out? #23250 (comment)

@lschurr
Copy link
Contributor

lschurr commented Aug 3, 2023

@sobitneupane
Copy link
Contributor

Sorry for the delay @lschurr. I will try to get to this issue by EOD.

@melvin-bot melvin-bot bot added the Overdue label Aug 7, 2023
@lschurr
Copy link
Contributor

lschurr commented Aug 7, 2023

Just bumping @sobitneupane :)

@melvin-bot melvin-bot bot removed the Overdue label Aug 7, 2023
@sobitneupane
Copy link
Contributor

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:

  • [@sobitneupane] The PR that introduced the bug has been identified. Link to the PR:

Discussion related to the culprit PR: https://expensify.slack.com/archives/C049HHMV9SM/p1689839180058799

  • [@sobitneupane] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:

https://expensify.slack.com/archives/C049HHMV9SM/p1689839180058799

  • [@sobitneupane] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:

https://expensify.slack.com/archives/C049HHMV9SM/p1689852466206849?thread_ts=1689839180.058799&cid=C049HHMV9SM

  • [@sobitneupane] Determine if we should create a regression test for this bug.

I don't think specific regression test is required for this issue.

@sobitneupane
Copy link
Contributor

Requested payment on newDot.

#23250 (comment)

@lschurr
Copy link
Contributor

lschurr commented Aug 9, 2023

Thanks @sobitneupane - going to close this one!

@lschurr lschurr closed this as completed Aug 9, 2023
@JmillsExpensify
Copy link

Reviewed the payment details for @sobitneupane. $1,500 is approved for payment in NewDot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests

9 participants