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

[$250] [HOLD for payment 2024-05-06] Group - Wrong number of members seen on group details page #40463

Closed
1 of 6 tasks
m-natarajan opened this issue Apr 18, 2024 · 22 comments
Closed
1 of 6 tasks
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

@m-natarajan
Copy link

m-natarajan commented Apr 18, 2024

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: 1.4.63-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: n/a
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:

Action Performed:

  1. Navigate to staging.new.expensify.com
  2. Click on FAB > Start chat
  3. Search for 2 non-existing users and click on add to group
  4. Create the group
  5. Open the group details page and observe the number besides "Members" button

Expected Result:

Correct number of members is visible, in this case 3

Actual Result:

Incorrect number of members is seen, in this case 5

Workaround:

unknown

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

Bug6453424_1713433895585.bandicam_2024-04-18_12-47-48-931.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~014cb2f3679812b245
  • Upwork Job ID: 1790118403758641152
  • Last Price Increase: 2024-05-13
Issue OwnerCurrent Issue Owner: @
@m-natarajan m-natarajan added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Apr 18, 2024
@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Apr 18, 2024
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.

Copy link

melvin-bot bot commented Apr 18, 2024

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

Copy link

melvin-bot bot commented Apr 18, 2024

Triggered auto assignment to @johncschuster (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@m-natarajan
Copy link
Author

@johncschuster FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

@m-natarajan
Copy link
Author

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

@allgandalf
Copy link
Contributor

allgandalf commented Apr 18, 2024

Not reproducible on staging

Screen.Recording.2024-04-18.at.8.28.23.PM.mov

@rlinoz
Copy link
Contributor

rlinoz commented Apr 18, 2024

Hmm I can

Screen.Recording.2024-04-18.at.12.05.03.mov

I think we are not clearing the optimistic created participants?
image

@rlinoz
Copy link
Contributor

rlinoz commented Apr 18, 2024

Ooh I think this is part of moving away from participantAccountIDs to participants. The participantAccountIDs has only 3 members.

cc: @marcaaron since I think you were handling this?

@rlinoz
Copy link
Contributor

rlinoz commented Apr 18, 2024

Anyway, this happens only for accounts that are created on this flow and the main functionality is working as intended, so I don't think this should be a blocker. Removing the label.

@rlinoz rlinoz removed the DeployBlockerCash This issue or pull request should block deployment label Apr 18, 2024
@allgandalf
Copy link
Contributor

Ooh I think this is part of moving away from participantAccountIDs to participants. The participantAccountIDs has only 3 members.

Should we use report?.participantAccountIDs instead then ?

@rlinoz
Copy link
Contributor

rlinoz commented Apr 18, 2024

Should we use report?.participantAccountIDs instead then ?

No, that is being deprecated here #34692.

@melvin-bot melvin-bot bot added the Overdue label Apr 22, 2024
@rlinoz
Copy link
Contributor

rlinoz commented Apr 22, 2024

I still need to investigate to check if this is a backend bug

@melvin-bot melvin-bot bot removed the Overdue label Apr 22, 2024
@marcaaron
Copy link
Contributor

We should be clearing the optimistic accountIDs after inviting here:

https://github.com/Expensify/Web-Expensify/blob/6fe504f9aa17f8a3945bd4e2ba1fe2b155f5011a/lib/ReportAPI.php#L5949-L5967

We could check the logs though to make sure the params are correct and nothing happened to the Auth request

@rlinoz
Copy link
Contributor

rlinoz commented Apr 24, 2024

Seems like we are not sending the optimistic accountID list, will finish the PR tomorrow.

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Overdue Daily KSv2 Weekly KSv2 labels Apr 24, 2024
@melvin-bot melvin-bot bot changed the title Group - Wrong number of members seen on group details page [HOLD for payment 2024-05-06] Group - Wrong number of members seen on group details page Apr 29, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Apr 29, 2024
Copy link

melvin-bot bot commented Apr 29, 2024

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

Copy link

melvin-bot bot commented Apr 29, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.67-7 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-06. 🎊

Copy link

melvin-bot bot commented Apr 29, 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:

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

@rlinoz
Copy link
Contributor

rlinoz commented May 8, 2024

@johncschuster @ahmedGaber93 reviewed the PR.

@melvin-bot melvin-bot bot removed the Overdue label May 8, 2024
@johncschuster
Copy link
Contributor

Thanks, @rlinoz!

@johncschuster johncschuster added the External Added to denote the issue can be worked on by a contributor label May 13, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-05-06] Group - Wrong number of members seen on group details page [$250] [HOLD for payment 2024-05-06] Group - Wrong number of members seen on group details page May 13, 2024
Copy link

melvin-bot bot commented May 13, 2024

Job added to Upwork: https://www.upwork.com/jobs/~014cb2f3679812b245

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label May 13, 2024
Copy link

melvin-bot bot commented May 13, 2024

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

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels May 13, 2024
@johncschuster johncschuster removed the Help Wanted Apply this label when an issue is open to proposals by contributors label May 13, 2024
@johncschuster
Copy link
Contributor

johncschuster commented May 13, 2024

Summary:
Contributor+: @ahmedGaber93 $250 - Upwork Offer - PAID! 🎉

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

6 participants