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

Unable to access private room on staging but shows a page with composer on production #20831

Closed
1 of 6 tasks
kavimuru opened this issue Jun 15, 2023 · 19 comments
Closed
1 of 6 tasks
Assignees
Labels
Engineering Internal Requires API changes or must be handled by Expensify staff Needs Reproduction Reproducible steps needed Weekly KSv2

Comments

@kavimuru
Copy link

kavimuru commented Jun 15, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Action Performed:

  1. Go to staging dot at first and login with User A (an incognito window might be good for this)
  2. Create a new workspace and invite User B
  3. Create a new room in PRIVATE mode on the Workspace you just created.
  4. Send a message to that room
  5. Click on the header of the room > Share code > Copy URL to clipboard.
  6. In another web chrome, login on staging.new.expensify.com with User B and paste the URL on the tab on User B side
  7. Result: See that on User B, it shows 'unable to access the chat' even when the User B was invited to the room
  8. Follow the same steps on production app and see that 'Unable to access' message is not shown. Instead a blank page with chat composer is shown. Inconsistency between staging and production environment is seen

Expected Result:

Should be able to access private room on staging

Actual Result:

Unable to access private room on staging but shows a page with composer on production

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?

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.28-3
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

error-2023-06-14_11.45.56.mp4
Recording.979.mp4

Expensify/Expensify Issue URL:
Issue reported by: @avi-shek-jha
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1686722925761399

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01a9b420914de094eb
  • Upwork Job ID: 1669474116334002176
  • Last Price Increase: 2023-06-15
@kavimuru kavimuru added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jun 15, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 15, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Jun 15, 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 Jun 15, 2023

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

@mallenexpensify
Copy link
Contributor

Thanks @avi-shek-jha for asking in the Slack thread that, if it's on staging only, should it be a deploy blocker. I asked https://expensify.slack.com/archives/C049HHMV9SM/p1686867131810959?thread_ts=1686722925.761399&cid=C049HHMV9SM and internally.

@amyevans wasn't sure about internal/external

@mallenexpensify mallenexpensify added DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 and removed Daily KSv2 labels Jun 15, 2023
@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.

@mallenexpensify mallenexpensify added the Internal Requires API changes or must be handled by Expensify staff label Jun 15, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 15, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Jun 15, 2023

Triggered auto assignment to Contributor Plus for review of internal employee PR - @aimane-chnaif (Internal)

@melvin-bot
Copy link

melvin-bot bot commented Jun 15, 2023

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

@cead22
Copy link
Contributor

cead22 commented Jun 15, 2023

@mallenexpensify @kavimuru are we certain the conversation should actually load, and that what we're seeing on staging isn't by design? The thing is, the video doesn't show the channel actually loading, it just shows the skeleton UI that suggests it's loading

@cead22
Copy link
Contributor

cead22 commented Jun 15, 2023

cc @dukenv0307 @fedirjh @aldo-expensify is it possible this is by design, and was implemented in this PR?

@mallenexpensify
Copy link
Contributor

I wondered the same thing @cead22 . But "Private" appears to mean "Private to the workspace", so the chat should load if a user is a member of the workspace (as it does on production). Since this is a deploy blocker, let me test again

@mallenexpensify
Copy link
Contributor

Tested again and was able to reproduce

@mallenexpensify
Copy link
Contributor

@cead22
Copy link
Contributor

cead22 commented Jun 15, 2023

Maybe this isn't caused by that PR since it is on staging and production, so the behavior from the PR should be the same on both

@mallenexpensify mallenexpensify added Daily KSv2 Needs Reproduction Reproducible steps needed and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Jun 16, 2023
@mallenexpensify
Copy link
Contributor

Upon multiple retests (where I double checked I was logged in on both production for User B with the correct accounts) I was unable to produce.

Where I think the problem is is that, when creating a new room, we state People invited to this room can find it and... there's no way I can find to invite people to the room.

@cead22 cead22 removed their assignment Jun 17, 2023
@melvin-bot melvin-bot bot added the Overdue label Jun 19, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 19, 2023

@mallenexpensify, @aimane-chnaif Whoops! This issue is 2 days overdue. Let's get this updated quick!

@mallenexpensify mallenexpensify added Weekly KSv2 and removed Daily KSv2 labels Jun 19, 2023
@melvin-bot melvin-bot bot removed the Overdue label Jun 19, 2023
@mallenexpensify mallenexpensify removed the Bug Something is broken. Auto assigns a BugZero manager. label Jun 19, 2023
@mallenexpensify
Copy link
Contributor

Bumping to weekly since it needs reproduction and/or it might be a feature request? Will dig in soon-ish

@melvin-bot melvin-bot bot added the Overdue label Jun 28, 2023
@mallenexpensify
Copy link
Contributor

Still need to look into

@melvin-bot melvin-bot bot removed the Overdue label Jun 30, 2023
@melvin-bot melvin-bot bot added the Overdue label Jul 10, 2023
@mallenexpensify
Copy link
Contributor

I'm going to close this for now since I wasn't able to reproduce and Vit mentioned this a few weeks ago

I am not sure about the each behaviour either but we definitely do not have the invite flow implemented.

I think we're planning on addressing this flow but it'll take a while to get everything fleshed out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Engineering Internal Requires API changes or must be handled by Expensify staff Needs Reproduction Reproducible steps needed Weekly KSv2
Projects
None yet
Development

No branches or pull requests

6 participants