-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Workspace - New users invited to WS are not displayed in members list but chats are created for them #20961
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @PauloGasparSv ( |
Taking a look at this in a bit |
@PauloGasparSv I think the issue is that there's a huge delay on members being displayed on the members list after a user without an existing account is invited. Going to edit the OC a bit as I'm able to reproduce with both public and domain controlled accounts. |
Makes sense, I could only replicate this by inviting a non-existing account. I think this problem is known, will test production and investigate! I think this is caused because of |
Oh ok, maybe this is causing the error The Locally, that Since I can't replicate in prod or locally I'm comparing what the logic does in these diff environments. |
Looked a bit more at the logic and I actually think it's ok for the type to be that, that type Looks like the account wasn't created in time to add it to the workspace. I'm investigating where the account creation happens in that request. |
This comment was marked as outdated.
This comment was marked as outdated.
Hid the above comment by mistake! I think I'm getting stuck here but while I was testing the problem stopped happening on staging web: Screen.Recording.2023-06-19.at.16.04.57.movI can see no errors or RBR now and the user is added to the members list correctly! This may have been fixed by somethig that was CP'd so I'll check for that. In the meantime, @kbecciv could you please re-test this and check if it still happens to you? |
Carlos was able to replicate this on staging. I had another successfull test in staging Web thought so I'm pretty confused. |
Not a blocker, looks like optimistic and failure data are just not being set properly for this flow. This shouldn't block us from deploy. |
I'll work on this during the week and add that optimistic data, changing this to a daily. |
Ok, I think I found where the optimisticData is not set here. This only happens to new users, I think it's because we don't know the correct Still need some more time on this, will work on it later down the week. |
No updates here today, will get back to this asap Also changing the priority here to |
Back to this! No idea how to deal with this error, will double-check if that is the case. I also need to test what happens if you are offline and do this |
Investigated this further today! I still can't replicate this locally but it still happens in staging if:
Logs for that attempt indicate that:
Still need to investigate this further! |
Hi @PauloGasparSv - do you think this is related to this issue? seems similar but not 100% sure? |
Will get back to you on that ASAP (will try doing so on Monday) |
Hey @Christinadobrzyn just checked and replicated #22359 and it really isn't related to this!
Part of the issue here was pretty similar but then it stopped happening. What I was investigating was the cause of the error thought and not the RBR not clearing
Now I'm focused at this! |
Hey @Christinadobrzyn I'm going OOO for 2 weeks (starting on July 17th, back on July 31st) so I won't be updating this issue until then. Please feel free to re-assign this to another engineer! |
I'm back from OOO, will pick this back up ASAP |
Picked this back up right now! I can't reproduce this locally or in staging anymore (tested on Web chrome and Safari desktop) so I believe we fixed this in another P.R. these past few weeks. Closing this! |
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:
Expected Result:
Newly invited users are present in the Members list immediately after being invited.
Chats in LHN for new users are created.
Actual Result:
New users are not displayed in the members list after being invited. The workspace chat is displayed in LHN immediately but the user is not displayed in members list right away. If the user navigates back to Workspace settings, a red dot can be seen here:
This red dot is removed after the user is finally displayed in the members list.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.29.0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/3498653
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Bug6096645_Web-WS-gmail-members-list.mp4
Expensify/Expensify Issue URL:
po
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: