-
Notifications
You must be signed in to change notification settings - Fork 3k
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-04-05] [$500] Workspace - #admin room with messages shows skeleton loading after workspace is deleted #38839
Comments
We think that this bug might be related to #vip-vsb |
👋 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:
|
Triggered auto assignment to @aldo-expensify ( |
The |
Seems like the functions loadOlderChats and loadNewerChats gets called in a infinite loop: The App/src/pages/home/report/ReportActionsList.tsx Lines 610 to 613 in 81787f5
|
Adding |
Job added to Upwork: https://www.upwork.com/jobs/~0190baa2ce2890e3e7 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane ( |
Triggered auto assignment to @mallenexpensify ( |
@aldo-expensify , does this need to be a deploy blocker? I have a feeling it might be related to comment linking, multiple bugs have been reported, like here https://expensify.slack.com/archives/C049HHMV9SM/p1711147499521539 cc @roryabraham , you likely have a better idea if it's related. |
I think so, it is causing a regression that doesn't allow opening the admin room. |
ProposalPlease re-state the problem that we are trying to solve in this issue.The app keeps calling the loading skeleton after a workspace is deleted What is the root cause of that problem?the reportActions returned from the getContinuousReportActionChain always have fewer actions after deleting the workspace this happens because the optimistic value of the delete workspace action doesn't have a What changes do you think we should make in order to solve the problem?we can modify the endIndex loop so that it skips if the current action is while (
(endIndex < sortedReportActions.length - 1 && sortedReportActions[endIndex].previousReportActionID === sortedReportActions[endIndex + 1].reportActionID) ||
!!sortedReportActions[endIndex + 1]?.whisperedToAccountIDs?.length ||
!!sortedReportActions[endIndex]?.whisperedToAccountIDs?.length ||
sortedReportActions[endIndex]?.actionName === CONST.REPORT.ACTIONS.TYPE.ROOMCHANGELOG.INVITE_TO_ROOM ||
sortedReportActions[endIndex]?.actionName === CONST.REPORT.ACTIONS.TYPE.CLOSED ||
sortedReportActions[endIndex + 1]?.actionName === CONST.REPORT.ACTIONS.TYPE.CLOSED ||
sortedReportActions[endIndex + 1]?.actionName === CONST.REPORT.ACTIONS.TYPE.CREATED
) { POC:Screen.Recording.2024-03-26.at.6.40.04.AM.movalternatively:or we can pass a |
Thanks for the proposal @abzokhattab There are two Closed action which looks like the reason for the issue. Why do we have two Closed Actions in the first place? One of them don't have This PR might have caused the regression. Does reverting the PR and adding |
@roryabraham @perunt when you have some time, can you check if this solution makes sense to you? 🙏 |
PR is being CP'd presently |
This hit production two days ago 🎉 |
Created issue to handle the follow up work for this: https://github.com/Expensify/Expensify/issues/383435 |
@mallenexpensify : @ishpaul777 ended up reviewing |
📣 @ishpaul777 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
hmm, this doesn't require a payment i was c+ on the offending PR |
ohh thanks for clearing that up! |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.57-5 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-04-05. 🎊 For reference, here are some details about the assignees on this issue:
|
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:
|
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.56-0
Reproducible in staging?: y
Reproducible in production?: n
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
#admin room will not show skeleton loading after the workspace is deleted.
Actual Result:
#admin room shows skeleton loading after the workspace is deleted.
Workaround:
n/a
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6423448_1711129084965.20240323_013502.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: