You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2026-02-20] WS - Transfer owner Pannel displays in Blank #82085
👋 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:
Identify the pull request that introduced this issue and revert it.
Classification: Frontend bug Causing PR: #81105 - "Refactor: isolate requestWorkspaceOwnerChange from Onyx.connect ONYXKEYS.COLLECTION.POLICY" by @shubham1206agra (High confidence) Related Issues: #66565 (original issue PR 81105 was fixing)
Recommendation: REVERT
The PR introduced a regression where the Transfer Owner panel displays blank content. The issue is reproducible on staging but not production, and it is a core workspace management feature that blocks proper workspace ownership transfer workflows.
Labels: This is a Frontend bug. The DeployBlockerCash label should remain (App deploy is blocked). The DeployBlocker label should be removed since this is not a backend issue.
Detailed Analysis
Evidence:
PR #81105 refactored requestWorkspaceOwnerChange to accept a Policy object instead of a policyID string. The PR removed the global allPolicies Onyx.connect cache and the deprecated getPolicy() helper function.
In WorkspaceOwnerChangeWrapperPage.tsx, line 45 calls requestWorkspaceOwnerChange(policy, ...) inside a useEffect that only depends on [policyID] (line 47). However, the policy prop is loaded asynchronously via the withPolicy HOC.
Verification:
The affected file is /home/runner/_work/App/App/src/pages/workspace/members/WorkspaceOwnerChangeWrapperPage.tsx. PR #81105 modified this file, changing the function call from using policyID to using the policy object, but the useEffect dependency array was not updated to include policy.
Root Cause:
Race condition between component mount and policy data loading:
User navigates to Transfer Owner flow - WorkspaceOwnerChangeWrapperPage mounts
withPolicy HOC starts loading policy data via useOnyx (async)
useEffect runs immediately because policyID is available
At this moment, policy is still undefined (has not loaded yet)
requestWorkspaceOwnerChange(policy, ...) is called with undefined
Inside the function (line 758 of /home/runner/_work/App/App/src/libs/actions/Policy/Member.ts), the guard clause "if (!policy?.id) return;" exits early
The API call to check ownership requirements is never made
The panel renders but displayTexts remain empty strings (lines 34-36 of WorkspaceOwnerChangeCheck.tsx)
User sees blank panel with no title, text, or button label
Before PR #81105: The function used a global allPolicies cache populated by Onyx.connect. Even if called early, it could access policy data from the global cache.
After PR #81105: The function requires a fully-loaded policy object. If called before policy loads, it exits without making the API call. The dependency array was not updated, causing the race condition.
changed the title [-]WS - Transfer owner Pannel displays in Blank[/-][+][Due for payment 2026-02-20] WS - Transfer owner Pannel displays in Blank[/+]on Feb 13, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.18-8 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@carlosmiceli / @lakchote@twisterdotcom 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]
Activity
melvin-bot commentedon Feb 11, 2026
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.melvin-bot commentedon Feb 11, 2026
Triggered auto assignment to @carlosmiceli (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon Feb 11, 2026
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Feb 11, 2026
👋 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:
OSBotify commentedon Feb 11, 2026
Investigation Summary
Classification: Frontend bug
Causing PR: #81105 - "Refactor: isolate requestWorkspaceOwnerChange from Onyx.connect ONYXKEYS.COLLECTION.POLICY" by @shubham1206agra (High confidence)
Related Issues: #66565 (original issue PR 81105 was fixing)
Recommendation: REVERT
The PR introduced a regression where the Transfer Owner panel displays blank content. The issue is reproducible on staging but not production, and it is a core workspace management feature that blocks proper workspace ownership transfer workflows.
Labels: This is a Frontend bug. The DeployBlockerCash label should remain (App deploy is blocked). The DeployBlocker label should be removed since this is not a backend issue.
Detailed Analysis
Evidence:
PR #81105 refactored requestWorkspaceOwnerChange to accept a Policy object instead of a policyID string. The PR removed the global allPolicies Onyx.connect cache and the deprecated getPolicy() helper function.
In WorkspaceOwnerChangeWrapperPage.tsx, line 45 calls requestWorkspaceOwnerChange(policy, ...) inside a useEffect that only depends on [policyID] (line 47). However, the policy prop is loaded asynchronously via the withPolicy HOC.
Verification:
The affected file is /home/runner/_work/App/App/src/pages/workspace/members/WorkspaceOwnerChangeWrapperPage.tsx. PR #81105 modified this file, changing the function call from using policyID to using the policy object, but the useEffect dependency array was not updated to include policy.
Root Cause:
Race condition between component mount and policy data loading:
Before PR #81105: The function used a global allPolicies cache populated by Onyx.connect. Even if called early, it could access policy data from the global cache.
After PR #81105: The function requires a fully-loaded policy object. If called before policy loads, it exits without making the API call. The dependency array was not updated, causing the race condition.
5 remaining items
m-natarajan commentedon Feb 11, 2026
After clicking Transfer owner, Navigated to All set page and clicking Got It displays member detail page 9Previous owner)
transfer.mp4
Recording.2376.mp4
lakchote commentedon Feb 11, 2026
cc @shubham1206agra
lakchote commentedon Feb 11, 2026
Behavior is expected see https://expensify.slack.com/archives/C01GTK53T8Q/p1770825021589979?thread_ts=1770797621.022299&cid=C01GTK53T8Q
Closing.
[-]WS - Transfer owner Pannel displays in Blank[/-][+][Due for payment 2026-02-20] WS - Transfer owner Pannel displays in Blank[/+]melvin-bot commentedon Feb 13, 2026
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Feb 13, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.18-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 2026-02-20. 🎊
melvin-bot commentedon Feb 13, 2026
@carlosmiceli / @lakchote @twisterdotcom 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]