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 2024-05-08] [$250] Profile - Display name is not updating in "Share Somewhere" section #39607

Closed
3 of 6 tasks
kbecciv opened this issue Apr 4, 2024 · 48 comments
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 Apr 4, 2024

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: v1.4.60-1
Reproducible in staging?: y
Reproducible in production?: n
Issue reported by: Applause - Internal Team

Action Performed:

  1. Go to Profile.
  2. Add or change the Display name.
  3. Use FAB to assign a task.
  4. Add a title and click "Next" to share somewhere.
  5. Notice that the Display name isn't updated for the account email (email signed in).

Expected Result:

When the Display name is changed, it should be updated in the "Share Somewhere" section for the account email (email signed in).

Actual Result:

Display name is not updating in "Share Somewhere" section

Workaround:

n/a

Platforms:

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

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6437941_1712234508566.Screen_Recording_2024-04-04_at_1.14.37_AM.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0109207e4c67cd7686
  • Upwork Job ID: 1776016111925432320
  • Last Price Increase: 2024-04-11
  • Automatic offers:
    • hungvu193 | Reviewer | 0
    • nkdengineer | Contributor | 0
Issue OwnerCurrent Issue Owner: @JmillsExpensify
@kbecciv kbecciv added the DeployBlockerCash This issue or pull request should block deployment label Apr 4, 2024
Copy link

melvin-bot bot commented Apr 4, 2024

Triggered auto assignment to @bondydaa (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

Copy link
Contributor

github-actions bot commented Apr 4, 2024

👋 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.

@kbecciv
Copy link
Author

kbecciv commented Apr 4, 2024

We think that this bug might be related to #vip-vsb

@bondydaa
Copy link
Contributor

bondydaa commented Apr 4, 2024

I'm looking into this, nothing in the checklist stands out to me that might be something that broke this so having to dive into the code and see what exactly gets called.

@bondydaa
Copy link
Contributor

bondydaa commented Apr 4, 2024

okay i don't think it's a problem with the API, i see the response coming back properly with the updated data
image

And I see in the onyx db that it's been updated there
image

So this makes me think that for some reason the Share Somewhere component isn't properly subscribing to the onyx data or something so going to take a closer look at that.

@bondydaa
Copy link
Contributor

bondydaa commented Apr 4, 2024

Hmm this PR is sus to me after looking at the components involved here: #38207

@bondydaa
Copy link
Contributor

bondydaa commented Apr 4, 2024

okay yes I believe I've confirmed this by testing locally.

checking out 1.4.60-1 locally I see the same behavior and then reverting it I can't reproduce it anymore.

cc @grgia @hungvu193 @TMisiukiewicz can you take a look here?

@bondydaa
Copy link
Contributor

bondydaa commented Apr 4, 2024

I guess what we need is a way to invalidate the option list cache when personal details are updated, if there is a way to do that in the PR can you let me know?

or if that's still to come then maybe we consider this not a blocker?

makes me think of my favorite tweet 😂 https://twitter.com/codinghorror/status/506010907021828096

@jasperhuangg
Copy link
Contributor

@bondydaa This seems like a pretty minor bug–and since we've already narrowed down which PR it's coming from I think we can just mark it NAB and have @TMisiukiewicz look into a fix

@jasperhuangg jasperhuangg added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Apr 4, 2024
Copy link

melvin-bot bot commented Apr 4, 2024

Triggered auto assignment to @JmillsExpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@bondydaa
Copy link
Contributor

bondydaa commented Apr 4, 2024

alrighty, this might not be limited to only the Share Somewhere option so it the option list for many of the places updated in that PR could fail to properly update with new personal data.

I do agree it's probably fairly minor for now and can be fixed in a follow up PR though.

@bondydaa
Copy link
Contributor

bondydaa commented Apr 4, 2024

Chatted with Vit as well and we can also let this go through as external I think so throwing the label on. going to assign @hungvu193 as well though since you helped with the first PR.

@bondydaa bondydaa added the External Added to denote the issue can be worked on by a contributor label Apr 4, 2024
Copy link

melvin-bot bot commented Apr 4, 2024

Job added to Upwork: https://www.upwork.com/jobs/~0109207e4c67cd7686

@melvin-bot melvin-bot bot changed the title Profile - Display name is not updating in "Share Somewhere" section [$250] Profile - Display name is not updating in "Share Somewhere" section Apr 4, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Apr 4, 2024
Copy link

melvin-bot bot commented Apr 4, 2024

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

Copy link

melvin-bot bot commented Apr 15, 2024

@JmillsExpensify, @bondydaa, @hungvu193 Whoops! This issue is 2 days overdue. Let's get this updated quick!

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Apr 15, 2024
Copy link

melvin-bot bot commented Apr 15, 2024

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

Offer link
Upwork job

Copy link

melvin-bot bot commented Apr 15, 2024

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

Offer link
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 melvin-bot bot removed the Overdue label Apr 15, 2024
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Apr 16, 2024
@nkdengineer
Copy link
Contributor

@hungvu193 The PR is here.

Copy link

melvin-bot bot commented Apr 30, 2024

⚠️ Looks like this issue was linked to a Deploy Blocker here

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.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels May 1, 2024
@melvin-bot melvin-bot bot changed the title [$250] Profile - Display name is not updating in "Share Somewhere" section [HOLD for payment 2024-05-08] [$250] Profile - Display name is not updating in "Share Somewhere" section May 1, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label May 1, 2024
Copy link

melvin-bot bot commented May 1, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented May 1, 2024

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

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

Copy link

melvin-bot bot commented May 1, 2024

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:

  • [@hungvu193] The PR that introduced the bug has been identified. Link to the PR:
  • [@hungvu193] 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:
  • [@hungvu193] 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:
  • [@hungvu193] Determine if we should create a regression test for this bug.
  • [@hungvu193] 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.
  • [@JmillsExpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@hungvu193
Copy link
Contributor

  • The PR that introduced the bug has been identified. Link to the PR: perf: Cache search options #38207
  • 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:
  • 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: N/A
  • Determine if we should create a regression test for this bug: No

This is new feature, we can treat it as a follow up of #38207

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels May 7, 2024
Copy link

melvin-bot bot commented May 13, 2024

@JmillsExpensify, @bondydaa, @hungvu193, @nkdengineer Huh... This is 4 days overdue. Who can take care of this?

@hungvu193
Copy link
Contributor

Bump @JmillsExpensify for payment here

@JmillsExpensify
Copy link

Payment summary:

@melvin-bot melvin-bot bot removed the Overdue label May 14, 2024
@JmillsExpensify
Copy link

Both Contributor contracts paid out via Upwork, so I'm closing this issue.

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

7 participants