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
Workspace - "updated your display name to x" whisper disappears after reacting to it #103933
BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2Skip PaymentSkips all the payment process steps for an issue. Use it for fixed-price projects.
Version Number: 9.5.8-3 Reproducible in staging?: Yes Reproducible in production?: N/A - new feature, doesn't exist in prod If this was caught during regression testing, add the test name, ID and link from BrowserStack:#100727 Email or phone of affected tester (no customers):sjdoisjnodjiosjo2@gmail.com Issue reported by: Applause Internal Team Bug source: Exploratory - Significant User Experience Deterioration Device used: Mac 26.5 / Chrome App Component: Chat Report View
Action Performed:
[Admin]:
Go to staging.new.expensify.com
Go to workspace settings > Members.
Invite a non-existing user.
Click on the invited member.
Click Profile > Display name.
Enter name and save it.
[Member]
7. Open the invited workspace chat.
8. React to the "updated your display name to x" whisper
Expected Result:
"updated your display name to x" whisper will not disappear after reacting to it.
Actual Result:
"updated your display name to x" whisper disappears after reacting to it.
It reappears after reopening the chat.
👋 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.
Root cause (medium confidence): The new type renders from originalMessage and has an empty message. It was not added to the exemption list in isDeletedAction. After a reaction, the server update arrives with an empty message, so App treats the whisper as deleted and hides it. Reopening the chat calls OpenReport, which returns a non-empty message, so the whisper comes back.
Recommended resolution: roll forward, don't revert. Add CONST.REPORT.ACTIONS.TYPE.POLICY_CHANGE_LOG.UPDATE_EMPLOYEE_DISPLAY_NAME to that exemption list. Add a unit test in tests/unit/ReportActionsUtilsTest.ts that checks isDeletedAction returns false for this type with message: []. This is the same fix as Exempt card-issued actions from isDeletedAction empty-message check.
Investigation details
How the whisper gets hidden
addEmojiReaction only writes to reportActionsReactions_<reportActionID>. It never touches the whisper. So the change comes from the server or Pusher update after AddEmojiReaction.
That update changes the report's actions. visibleReportActions then rechecks visibility for each action.
Not yet confirmed: No one has inspected the AddEmojiReaction response. To confirm, react to the whisper with the network tab open. The reportActions_<reportID> update should show this action with message: [] or html: ''. If message is not empty, this explanation is wrong.
Backend vs. App: The server sends the empty message. But App renders this type from originalMessage only, so treating an empty message as deleted is an App bug. The App fix is enough on its own.
Why not revert: A revert would remove a 31-file feature to fix a missing line. The bug is cosmetic: the whisper reappears on reopen and no data is lost.
💡 Suggested AI code review rule
This mistake has now happened at least twice, and a reviewer can spot it mechanically. Proposed for Expensify/App (app-coding-standards):
Rule:CONSISTENCY-21 Exempt originalMessage-only action types from isDeletedAction
Condition: Flag a PR that adds a CONST.REPORT.ACTIONS.TYPE value whose content renders only from originalMessage, unless it also adds the type to the exemption list in isDeletedAction.
Why: These actions can arrive with an empty message, so isDeletedAction treats them as deleted and hides them. See this issue and the card-issued bug above.
Search pattern: A diff adds a key under REPORT.ACTIONS.TYPE in src/CONST/index.ts but doesn't change isDeletedAction in src/libs/ReportActionsUtils.ts.
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.5.12-1 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
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]
BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2Skip PaymentSkips all the payment process steps for an issue. Use it for fixed-price projects.
Activity
applause-bot commentedon Oct 13, 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/066eb31b674ca4a88b891daf02fc0f9c666c1e95d66c338a8732167bb21de587
melvin-bot commentedon Oct 13, 2026
You have been assigned to this deploy blocker because you recently merged this PR: #100727
melvin-bot commentedon Oct 13, 2026
@arosiclair @gijoe0295 you have been assigned to this deploy blocker because you reviewed the offending PR: #100727
melvin-bot commentedon Oct 13, 2026
@allgandalf you have been assigned to this deploy blocker because you authored the offending PR: #100727
melvin-bot commentedon Oct 13, 2026
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Oct 13, 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:
MelvinBot commentedon Oct 13, 2026
Deploy Blocker Analysis
Causing PR: Allow workspace admins to set a member's display name (high confidence). It added the new whisper type
POLICYCHANGELOG_UPDATE_EMPLOYEE_DISPLAY_NAME, and only that whisper is affected.Root cause (medium confidence): The new type renders from
originalMessageand has an emptymessage. It was not added to the exemption list inisDeletedAction. After a reaction, the server update arrives with an emptymessage, so App treats the whisper as deleted and hides it. Reopening the chat callsOpenReport, which returns a non-emptymessage, so the whisper comes back.Recommended resolution: roll forward, don't revert. Add
CONST.REPORT.ACTIONS.TYPE.POLICY_CHANGE_LOG.UPDATE_EMPLOYEE_DISPLAY_NAMEto that exemption list. Add a unit test intests/unit/ReportActionsUtilsTest.tsthat checksisDeletedActionreturnsfalsefor this type withmessage: []. This is the same fix as Exempt card-issued actions from isDeletedAction empty-message check.Investigation details
How the whisper gets hidden
addEmojiReactiononly writes toreportActionsReactions_<reportActionID>. It never touches the whisper. So the change comes from the server or Pusher update afterAddEmojiReaction.visibleReportActionsthen rechecks visibility for each action.shouldReportActionBeVisiblehides an action whenisDeletedActionis true.hasDeletedMessagetreatsmessage: []or an emptyhtmlas deleted.message. It renders fromoriginalMessage(PolicyChangeLogContent.tsx:210-212,ReportUtils.ts:8246-8256). The PR's own unit test builds this action withmessage: [].Prior bug: [Due for payment 2026-06-01] [$250] WS Chat - Reacting to Expensify card system message causes it to disappear had the same symptom and mechanism.
Not yet confirmed: No one has inspected the
AddEmojiReactionresponse. To confirm, react to the whisper with the network tab open. ThereportActions_<reportID>update should show this action withmessage: []orhtml: ''. Ifmessageis not empty, this explanation is wrong.Ruled out: Speed up isDeletedAction and skip it for report attributes children without an error is in the same deploy. It reorders checks in
isDeletedActionbut returns the same result for every action.Backend vs. App: The server sends the empty
message. But App renders this type fromoriginalMessageonly, so treating an emptymessageas deleted is an App bug. The App fix is enough on its own.Why not revert: A revert would remove a 31-file feature to fix a missing line. The bug is cosmetic: the whisper reappears on reopen and no data is lost.
💡 Suggested AI code review rule
This mistake has now happened at least twice, and a reviewer can spot it mechanically. Proposed for
Expensify/App(app-coding-standards):CONSISTENCY-21Exempt originalMessage-only action types fromisDeletedActionCONST.REPORT.ACTIONS.TYPEvalue whose content renders only fromoriginalMessage, unless it also adds the type to the exemption list inisDeletedAction.message, soisDeletedActiontreats them as deleted and hides them. See this issue and the card-issued bug above.REPORT.ACTIONS.TYPEinsrc/CONST/index.tsbut doesn't changeisDeletedActioninsrc/libs/ReportActionsUtils.ts.A maintainer can add this rule to
Expensify/Appas a draft PR if it's worth having.Next Steps:
allgandalf, please add the type to the exemption list. Or reply with@MelvinBot implement thisto have me create a draft PR.view run
arosiclair commentedon Oct 13, 2026
Very minor issue. Demoting this
allgandalf commentedon Oct 14, 2026
Fix is up: #103868
melvin-bot commentedon Oct 16, 2026
@gijoe0295
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.5.12-1 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
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]