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-08-27] Expense - "Held this expense" and reason message are displayed in chat, below expense. #98936
Version Number: 9.4.56-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:#98751 Email or phone of affected tester (no customers):ibellicotest+2766@gmail.com Issue reported by: Applause Internal Team Bug source: Exploratory - Significant User Experience Deterioration Device used: Motorola MotoG60 / Android 12 (Hybrid app) - Windows 11 / Chrome App Component: Money Requests
Action Performed:
Prerequisite: Account has at least one workspace.
Open the staging.new.expensify.com website.
Open any workspace chat.
Create a manual expense.
Right click on report preview > "Hold"
Enter any reason and hold the expense.
Note that after returning to chat, "Held this expense" and reason message are displayed below report.
Open report.
Note that both messages are also visible on transaction thread.
Expected Result:
"Held this expense" and reason messages should only be visible inside expense report.
Actual Result:
"Held this expense" and reason message, are displayed below expense report in chat and also inside report.
👋 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.
Causing PR:#98751 — "Migrate money request hold reason and receipt view routes to dynamic routes" (author suneox) — High confidence Recommendation:Revert #98751 (safe default for a time-sensitive blocker). A targeted roll-forward is possible if the team prefers to keep the migration — details below.
Root cause
PR #98751 migrated the hold-reason route from a standalone modal route to a nested dynamic route. When you hold from a report preview, the URL becomes /r/<parentChatReportID>/hold-reason?transactionID=…&reportID=<childReportID>.
For a freshly-created manual expense, the transaction thread doesn't exist yet, so reportAction.childReportID passed by ReportUtils.changeMoneyRequestHoldStatus is undefined. From there:
The query param is dropped.getUrlWithParams only serializes truthy values, so with reportID === undefined the built URL carries no reportID at all.
The dynamic screen inherits the base path's reportID.getStateFromPath merges the underlying REPORT screen's params, and getStateForDynamicRoute layers query params on top. Because the query no longer carries reportID, it is not overridden — the hold-reason screen resolves route.params.reportID = <parentChatReportID> (the workspace chat) instead of undefined.
The wrong report gets the actions.DynamicHoldReasonPage passes that reportID to putOnHold. A truthy initialReportIDskips creating a transaction thread and writes the two hold report actions straight into that report — so "Held this expense" and the reason land in REPORT_ACTIONS_<parentChatReportID>, i.e. below the report preview in the workspace chat.
Pre-PR, initialReportID was undefined, so putOnHold built a fresh transaction thread (the else branch at Hold.ts:80-84), keeping those actions out of the parent chat. This is why it reproduces on staging but not production.
Why only hold-reason is affected
Every other dynamic route that carries reportID (e.g. MONEY_REQUEST_STEP_TAG, ..._MERCHANT, ..._DATE) uses it to mean the same report as the base path, so the merge/fallback is harmless. Hold-reason is the only case where the dynamic route's reportID intentionally refers to a different report (the transaction thread) than the base path — and where it can legitimately be undefined. That is precisely why the collision surfaced here.
Resolution
Option 1 — Revert #98751 (recommended). Clean, self-contained navigation PR; it's Part 1 of a series with no known dependent PRs merged on top. Lowest risk for a blocker.
Option 2 — Targeted roll-forward. Give the hold-reason dynamic route a query-param key that does not collide with the base path's reportID (e.g. childReportID), so an absent value stays undefined and putOnHold recreates the thread as before. This needs re-testing across all four entry screens (report + 3 search RHP screens) and the already-held/unhold path, so under blocker time pressure Option 1 is the safer immediate action.
Next Steps for Contributor+ team: To accept:@MelvinBot implement [this](https://github.com/Expensify/App/issues/98936) to create a draft PR. To refine:@MelvinBot <your feedback> To reject: Explain why you are rejecting Melvin's proposal.
changed the title [-]Expense - "Held this expense" and reason message are displayed in chat, below expense.[/-][+][Due for payment 2026-08-27] Expense - "Held this expense" and reason message are displayed in chat, below expense.[/+]on Aug 20, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.56-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-08-27. 🎊
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 no checklist is needed for this issue, you can click: [no checklist button]
Activity
applause-bot commentedon Aug 19, 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/2a424cf211b28bfac9ae81582945fafaefa289fde61391372d7cea524c3fb857
melvin-bot commentedon Aug 19, 2026
You have been assigned to this deploy blocker because you recently merged this PR: #98751
melvin-bot commentedon Aug 19, 2026
@mjasikowski @huult you have been assigned to this deploy blocker because you reviewed the offending PR: #98751
melvin-bot commentedon Aug 19, 2026
@suneox you have been assigned to this deploy blocker because you authored the offending PR: #98751
melvin-bot commentedon Aug 19, 2026
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Aug 19, 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 Aug 19, 2026
🔍 Deploy Blocker Analysis
Causing PR: #98751 — "Migrate money request hold reason and receipt view routes to dynamic routes" (author
suneox) — High confidenceRecommendation: Revert #98751 (safe default for a time-sensitive blocker). A targeted roll-forward is possible if the team prefers to keep the migration — details below.
Root cause
PR #98751 migrated the hold-reason route from a standalone modal route to a nested dynamic route. When you hold from a report preview, the URL becomes
/r/<parentChatReportID>/hold-reason?transactionID=…&reportID=<childReportID>.For a freshly-created manual expense, the transaction thread doesn't exist yet, so
reportAction.childReportIDpassed byReportUtils.changeMoneyRequestHoldStatusisundefined. From there:getUrlWithParamsonly serializes truthy values, so withreportID === undefinedthe built URL carries noreportIDat all.reportID.getStateFromPathmerges the underlying REPORT screen's params, andgetStateForDynamicRoutelayers query params on top. Because the query no longer carriesreportID, it is not overridden — the hold-reason screen resolvesroute.params.reportID = <parentChatReportID>(the workspace chat) instead ofundefined.DynamicHoldReasonPagepasses that reportID toputOnHold. A truthyinitialReportIDskips creating a transaction thread and writes the two hold report actions straight into that report — so "Held this expense" and the reason land inREPORT_ACTIONS_<parentChatReportID>, i.e. below the report preview in the workspace chat.Pre-PR,
initialReportIDwasundefined, soputOnHoldbuilt a fresh transaction thread (theelsebranch at Hold.ts:80-84), keeping those actions out of the parent chat. This is why it reproduces on staging but not production.Why only hold-reason is affected
Every other dynamic route that carries
reportID(e.g.MONEY_REQUEST_STEP_TAG,..._MERCHANT,..._DATE) uses it to mean the same report as the base path, so the merge/fallback is harmless. Hold-reason is the only case where the dynamic route'sreportIDintentionally refers to a different report (the transaction thread) than the base path — and where it can legitimately beundefined. That is precisely why the collision surfaced here.Resolution
Option 1 — Revert #98751 (recommended). Clean, self-contained navigation PR; it's Part 1 of a series with no known dependent PRs merged on top. Lowest risk for a blocker.
Option 2 — Targeted roll-forward. Give the hold-reason dynamic route a query-param key that does not collide with the base path's
reportID(e.g.childReportID), so an absent value staysundefinedandputOnHoldrecreates the thread as before. This needs re-testing across all four entry screens (report + 3 search RHP screens) and the already-held/unhold path, so under blocker time pressure Option 1 is the safer immediate action.Next Steps for Contributor+ team:
To accept:
@MelvinBot implement [this](https://github.com/Expensify/App/issues/98936)to create a draft PR.To refine:
@MelvinBot <your feedback>To reject: Explain why you are rejecting Melvin's proposal.
suneox commentedon Aug 19, 2026
I'm taking a look at this one
mjasikowski commentedon Aug 19, 2026
CP requested https://expensify.slack.com/archives/C07J32337/p1787130200606299
IuliiaHerets commentedon Aug 19, 2026
Issue is not reproducible on Windows 11/ Chrome in v9.4.56-2
98936-Web.mp4
Issue is not reproducible on Samsung S23FE/ Android 16 in v9.4.56-2
98936.mp4
Beamanator commentedon Aug 19, 2026
woohoo! closing!
[-]Expense - "Held this expense" and reason message are displayed in chat, below expense.[/-][+][Due for payment 2026-08-27] Expense - "Held this expense" and reason message are displayed in chat, below expense.[/+]melvin-bot commentedon Aug 20, 2026
@suneox / @huult
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.56-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-08-27. 🎊
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 no checklist is needed for this issue, you can click: [no checklist button]