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] App crashes while trying to join public room via deep link #41170

Closed
2 of 6 tasks
m-natarajan opened this issue Apr 28, 2024 · 28 comments
Closed
2 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. Engineering Internal Requires API changes or must be handled by Expensify staff Weekly KSv2

Comments

@m-natarajan
Copy link

m-natarajan commented Apr 28, 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!


Issue found validating #40701
Version Number: 1.4.67-0
Reproducible in staging?: y
Reproducible in production?: no
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. Open any chat and paste Public room link (e.g. https://staging.new.expensify.com/r/2652281908731856)
  2. Click on the link
  3. if the issue not reproduced - leave the room and click on the link again

Expected Result:

The user should be able to join Public rooms via deep link

Actual Result:

in 50/50 times the app crashes in case of use Public room deep link

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

Bug6464352_1714307515239.Screen_Recording_2024-04-28_at_15.25.00.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01e9d522b8dfa6acfe
  • Upwork Job ID: 1784911146535624704
  • Last Price Increase: 2024-04-29
Issue OwnerCurrent Issue Owner: @puneetlath / @twisterdotcom
@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 28, 2024
Copy link

melvin-bot bot commented Apr 28, 2024

Triggered auto assignment to @twisterdotcom (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.

Copy link

melvin-bot bot commented Apr 28, 2024

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

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.

@m-natarajan
Copy link
Author

@puneetlath 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

@twisterdotcom
Copy link
Contributor

I can actually never get this to work if I'm not a member of the room already, I ALWAYS hit this {"jsonCode":407,"title":"Session expired","message":"Your session has expired. Please sign in again.","requestID":"87beeeb619a894a6-LHR"}

image

@twisterdotcom
Copy link
Contributor

twisterdotcom commented Apr 29, 2024

Sometimes I'll get

{"code":666,"jsonCode":403,"type":"Expensify\Libs\Error\ExpError","UUID":"da7984df-628f-41f6-a2b8-ecd4499f7975","message":"Report not found","title":"","data":{"onyxData":[{"onyxMethod":"merge","key":"report_0","value":{"errorFields":{"notFound":{"1714390877809894":"Report not found"}}}}]},"htmlMessage":"","requestID":"87bf05a98be594a6-LHR"}` as well.

@twisterdotcom twisterdotcom added the External Added to denote the issue can be worked on by a contributor label Apr 29, 2024
@melvin-bot melvin-bot bot changed the title App crashes while trying to join public room via deep link [$250] App crashes while trying to join public room via deep link Apr 29, 2024
Copy link

melvin-bot bot commented Apr 29, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01e9d522b8dfa6acfe

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

melvin-bot bot commented Apr 29, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @Ollyws (External)

@twisterdotcom
Copy link
Contributor

@puneetlath and @Ollyws - any idea why this regression is happening?

@twisterdotcom
Copy link
Contributor

@MonilBhavsar are we reverting #40701 - do we need somebody assigned here externally or not?

@Nodebrute
Copy link
Contributor

@twisterdotcom I think this should be resolved here #41128

@MonilBhavsar
Copy link
Contributor

are we reverting #40701 - do we need somebody assigned here externally or not?

No, because it didn't cause or reverting it doesn't fix this issue
#40701 (comment)

@twisterdotcom
Copy link
Contributor

Okay, so it's not due to #40701 and @MonilBhavsar doesn't think it's resolved by #41128, so we definitely need to look into this.

@melvin-bot melvin-bot bot added the Weekly KSv2 label Apr 29, 2024
@twisterdotcom twisterdotcom added Internal Requires API changes or must be handled by Expensify staff and removed External Added to denote the issue can be worked on by a contributor labels Apr 29, 2024
Copy link

melvin-bot bot commented Apr 29, 2024

Current assignee @Ollyws is eligible for the Internal assigner, not assigning anyone new.

@MonilBhavsar MonilBhavsar removed the DeployBlockerCash This issue or pull request should block deployment label Apr 29, 2024
Copy link

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

@MonilBhavsar
Copy link
Contributor

Tested and it works fine now

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Apr 29, 2024
@melvin-bot melvin-bot bot changed the title [$250] App crashes while trying to join public room via deep link [HOLD for payment 2024-05-06] [$250] App crashes while trying to join public room via deep link Apr 29, 2024
Copy link

melvin-bot bot commented Apr 29, 2024

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

@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

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

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

  • @Ollyws requires payment (Needs manual offer from BZ)

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:

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

@twisterdotcom
Copy link
Contributor

I don't think @Ollyws needs paying out here, this was reviewed by @puneetlath.

@MonilBhavsar or @puneetlath do we need a test here too? I think we already have tests but perhaps we could just use the QA steps from #40701?

  1. Create a public room as an admin
  2. As a user A, join the public room
  3. Copy the public room URL and signout
  4. Paste the URL and signin
  5. Leave the room
  6. Ensure you're redirected to Concierge chat
  7. As a user A, join the public room again
  8. This time visit two other reports - X and Y and then go to public room
  9. Leave the room
  10. Ensure you're redirected to report Y
  11. Create a group as an admin with user A and user B
  12. As a user B visit the group
  13. Click on group title and Leave the group
  14. Ensure you're redirected to last visited report

@twisterdotcom twisterdotcom removed the Awaiting Payment Auto-added when associated PR is deployed to production label Apr 30, 2024
@twisterdotcom twisterdotcom changed the title [HOLD for payment 2024-05-06] [$250] App crashes while trying to join public room via deep link App crashes while trying to join public room via deep link Apr 30, 2024
@MonilBhavsar
Copy link
Contributor

Yes, looks good 👍

@puneetlath
Copy link
Contributor

Sounds good to me!

@twisterdotcom
Copy link
Contributor

All done

@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 App crashes while trying to join public room via deep link [HOLD for payment 2024-05-08] App crashes while trying to join public room via deep link May 1, 2024
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. 🎊

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:

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

@twisterdotcom
Copy link
Contributor

Already done.

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. Engineering Internal Requires API changes or must be handled by Expensify staff Weekly KSv2
Projects
None yet
Development

No branches or pull requests

6 participants