-
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
[HOLD for payment 2024-12-07] [HOLD for payment 2024-12-05] [HOLD for payment 2024-12-03] [$250] [CRITICAL] Multiple workspaces get created when someone either refreshes the page, or drops off and returns later. #52894
Comments
Current assignee @trjExpensify is eligible for the Bug assigner, not assigning anyone new. |
@nkdengineer This is coming from your PR here https://github.com/Expensify/App/pull/51839/files We should not be creating the workspace on each mount forever. Only if there is no group policy the user is admin of yet |
ProposalPlease re-state the problem that we are trying to solve in this issue.Multiple workspaces get created when someone either refreshes the page, or drops off and returns later. What is the root cause of that problem?We are already returning early in case there is onboarding policy id set but on refresh the useOnyx will not make the data available and the effect runs too early App/src/pages/OnboardingAccounting/BaseOnboardingAccounting.tsx Lines 61 to 62 in 2d2555b
What changes do you think we should make in order to solve the problem?We should first check that onBoarding Policy ID data is loaded not loading
What alternative solutions did you explore? (Optional) |
@mountiny The code is already doing that but the effect runs too early for the useEffect. I have posted a fix I can immediately raise a PR if you want 👍 |
Job added to Upwork: https://www.upwork.com/jobs/~021859580489556912069 |
Current assignee @jayeshmangwani is eligible for the External assigner, not assigning anyone new. |
@jayeshmangwani I see the offending PR is just on the fence of the 1 week regression period and it was paid out. I think its fair if you will review this PR as part of regression still. Let us know if that sounds fine with you @FitseTLT I think your solution makes sense, you also need to add the |
Yep I only missed it when commenting the proposal 👍 |
@trjExpensify I requested to become a contributor through email, but I have not received feedback for a few days. Is there another way to do this? |
📣 @myspace20! 📣
|
Yes, I am definitely fine with it. We missed the case during testing |
@mountiny, @FitseTLT 's Suggestion looks good to me here. Should I raise a PR quickly, or will @FitseTLT do it? |
@jayeshmangwani I am already preparing 👍 |
Cool, please do it |
@mountiny BTW, the payment for the original issue that this one is coming from hasn't been completed yet for me(I've requested on ND today). We can hold the payment until this issue is resolved. I can delete the payment request for that issue, please let me know. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.66-8 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-12-03. 🎊 For reference, here are some details about the assignees on this issue:
|
@jayeshmangwani @trjExpensify @jayeshmangwani The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.67-9 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-12-05. 🎊 For reference, here are some details about the assignees on this issue:
|
@jayeshmangwani @trjExpensify @jayeshmangwani The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
👋 Please assign me here for #53093 review |
📣 @ishpaul777 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@ishpaul777 helped to jump in for urgent review, $250 to them |
Yep, sounds good! |
@trjExpensify please has the contributor onbording problem been resolved? I mean the slack channel among others. |
Slack access is still restricted, you will be notified when that's resolved, but there's no timeline I can give you on it. Regardless, gaining access to Slack isn't a requirement to start putting proposals forward on issues labelled |
@trjExpensify Thanks I will do just that. |
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.68-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-12-07. 🎊 For reference, here are some details about the assignees on this issue:
|
@jayeshmangwani / @ishpaul777 @trjExpensify @jayeshmangwani / @ishpaul777 The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
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: v9.0.65-1
Reproducible in staging?: Y
**Reproducible in production?:**Y
**If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:**N/A
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
Expensify/Expensify Issue URL:
Issue reported by: @trjExpensify
Slack conversation : #convert thread
Action Performed:
Expected Result:
If we’ve created a workspace for the new sign-up already, don’t create another one when they refresh or return.
Actual Result:
We create a workspace every time they refresh or get redirected to NewDot and haven’t completed the onboarding modal steps yet.
Workaround:
N/A
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Refreshing the page
2024-11-21_12-29-41.mp4
Returning to expensify.com
2024-11-21_12-08-53.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @Issue Owner
Current Issue Owner: @trjExpensifyThe text was updated successfully, but these errors were encountered: