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-09-09] Workspace - Members avatar become fallback when clear cache #99381
Version Number: 9.4.60-0 Reproducible in staging?: Yes Reproducible in production?: No If this was caught during regression testing, add the test name, ID and link from BrowserStack:https://test-management.browserstack.com/projects/2219752/test-runs/70698814/folder/53678195?sort=%2Bstatus_id Email or phone of affected tester (no customers):gocemate+sdf@gmail.com Issue reported by: Applause Internal Team Bug source: Exploratory - Significant User Experience Deterioration Device used: windows 10/chrome App Component: Chat Report View
Action Performed:
Create workspace and invite members
Go to Troubleshoot
Tap Clear cache and restart
Navigate to workspace members page
Expected Result:
Members should be displayed with default or custom avatars
Actual Result:
Avatars of the workspace members are displayed as fallback
👋 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: #98483 - "Show workspace members with missing personal details instead of dropping them" by @gijoe0295 (High confidence) Related Issues: #97591 (the issue #98483 was fixing)
Recommendation: ROLL FORWARD
A straight revert of #98483 would reintroduce the original bug it fixed (workspace members being silently dropped from the list, #97591), which is arguably worse than a fallback avatar. The targeted fix is to seed a deterministic default avatar from the member's email when personal details are missing, instead of rendering the generic gray FallbackAvatar.
Assigned: @gijoe0295 (PR author/co-author), @luacmartins, @justinpersaud (approving reviewers) from the highest-confidence causing PR Labels: No change. This is a Frontend bug, so DeployBlockerCash correctly stays; no DeployBlocker was present to remove.
📋 Detailed Analysis
Evidence
Bug reproduces on staging (9.4.60-0) but not production, so the cause is a PR in this deploy.
The "Clear cache and restart" step wipes Onyx personal details. When the members page renders before personal details reload, every member hits the missing-details path introduced by Show workspace members with missing personal details instead of dropping them #98483 → the avatar resolves to the generic gray FallbackAvatar. This exactly matches the reported symptom ("Avatars of the workspace members are displayed as fallback").
src/pages/workspace/WorkspaceMembersPage.tsx — filteredMembers builds accountID = policyMemberEmailsToAccountIDs[email] ? Number(...) : generateAccountID(email) and a fallback details object with no avatar.
generateAccountID(email) = hashText(email, 2**32) (src/libs/UserUtils.ts#L215-L217) — a synthetic hash that will never match a real personalDetails key.
Root Cause
When personal details are absent (e.g. right after Clear cache, before re-fetch), policyMemberEmailsToAccountIDs[email] is empty, so filteredMembers assigns a synthetic accountID = generateAccountID(email). That ID is passed to AccountAvatar → useAccountIcons → buildUserIcon, where:
personalDetails?.[syntheticAccountID]?.avatar is undefined, and because these are existing members (no invitedEmail), fallbackIcon is also undefined. So the row renders the generic gray FallbackAvatar instead of the deterministic default/letter avatar that would be computed from the member's email/name. The proper roll-forward fix is to pass the member's email into the avatar resolution (as invited-member rows already do) so getDefaultAvatar/getLetterAvatarURL produces a stable default avatar when personal details are missing.
changed the title [-]Workspace - Members avatar become fallback when clear cache[/-][+][Due for payment 2026-09-09] Workspace - Members avatar become fallback when clear cache[/+]on Sep 2, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.65-3 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-09-09. 🎊
The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the Contributor+ 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 no checklist is needed for this issue, you can click: [no checklist button]
Activity
applause-bot commentedon Aug 25, 2026
While Applause doesn't embed attachments for this bug, here are the links for quick view:
https://platform.applause.com/services/links/v1/external/57c32be7270c6882528db855d2d1ef14c278dfe0ed1a3eb1f43c07c7f1e2d234
github-actions commentedon Aug 25, 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:
melvin-bot commentedon Aug 25, 2026
Triggered auto assignment to @carlosmiceli (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon Aug 25, 2026
💬 A slack conversation has been started in #expensify-open-source
MelvinBot commentedon Aug 25, 2026
🔍 Investigation Summary
Classification: Frontend bug
Causing PR: #98483 - "Show workspace members with missing personal details instead of dropping them" by @gijoe0295 (High confidence)
Related Issues: #97591 (the issue #98483 was fixing)
Recommendation: ROLL FORWARD
A straight revert of #98483 would reintroduce the original bug it fixed (workspace members being silently dropped from the list, #97591), which is arguably worse than a fallback avatar. The targeted fix is to seed a deterministic default avatar from the member's email when personal details are missing, instead of rendering the generic gray
FallbackAvatar.Assigned: @gijoe0295 (PR author/co-author), @luacmartins, @justinpersaud (approving reviewers) from the highest-confidence causing PR
Labels: No change. This is a Frontend bug, so
DeployBlockerCashcorrectly stays; noDeployBlockerwas present to remove.📋 Detailed Analysis
Evidence
StagingDeployCash(merged 2026-08-24) and directly rewrote thefilteredMemberslogic on the Workspace Members page.continue) and dropped from the list. Show workspace members with missing personal details instead of dropping them #98483 now renders them using a generated (synthetic) accountID and a fallback identity that has no avatar.FallbackAvatar. This exactly matches the reported symptom ("Avatars of the workspace members are displayed as fallback").buildUserIcon/useAccountIcons) were already in production (from ReportActionAvatars -> UserAvatar for multi avatars migration + leftovers #97983), so they are not the regression on their own — Show workspace members with missing personal details instead of dropping them #98483 is what began feeding them synthetic accountIDs with no avatar/email seed.Verification
src/pages/workspace/WorkspaceMembersPage.tsx—filteredMembersbuildsaccountID = policyMemberEmailsToAccountIDs[email] ? Number(...) : generateAccountID(email)and a fallbackdetailsobject with noavatar.src/components/Tables/WorkspaceMembersTable/WorkspaceMembersTableRow.tsx— passesaccountID={item.accountID}toAccountAvatarwith no email.src/components/Avatar/connected/AccountAvatar.tsx→useAccountIcons.ts→buildUserIconinsrc/libs/UserAvatarUtils.ts#L521-L530.git log/GitHub API confirms Show workspace members with missing personal details instead of dropping them #98483 (merge commit22ab94c) is the only in-deploy PR touchingWorkspaceMembersPage.tsx's member-filtering logic.generateAccountID(email)=hashText(email, 2**32)(src/libs/UserUtils.ts#L215-L217) — a synthetic hash that will never match a realpersonalDetailskey.Root Cause
When personal details are absent (e.g. right after Clear cache, before re-fetch),
policyMemberEmailsToAccountIDs[email]is empty, sofilteredMembersassigns a syntheticaccountID = generateAccountID(email). That ID is passed toAccountAvatar→useAccountIcons→buildUserIcon, where:personalDetails?.[syntheticAccountID]?.avatarisundefined, and because these are existing members (noinvitedEmail),fallbackIconis alsoundefined. So the row renders the generic grayFallbackAvatarinstead of the deterministic default/letter avatar that would be computed from the member's email/name. The proper roll-forward fix is to pass the member's email into the avatar resolution (as invited-member rows already do) sogetDefaultAvatar/getLetterAvatarURLproduces a stable default avatar when personal details are missing.luacmartins commentedon Aug 25, 2026
I think we can demote this one. @gijoe0295 can you work on a fix please?
8 remaining items
melvin-bot commentedon Aug 29, 2026
Unable to auto-create job on Upwork. The BZ team member should create it manually for this issue.
[-]Workspace - Members avatar become fallback when clear cache[/-][+][Due for payment 2026-09-09] Workspace - Members avatar become fallback when clear cache[/+]melvin-bot commentedon Sep 2, 2026
@gijoe0295
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.65-3 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-09-09. 🎊
The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the Contributor+ 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 no checklist is needed for this issue, you can click: [no checklist button]
melvin-bot commentedon Sep 5, 2026
@gijoe0295 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
gijoe0295 commentedon Sep 5, 2026
This is done. Please close the issue