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-04-14] [Due for payment 2026-04-14] Expense - Mark as done button changes to Submitted in expense report #87049
Version Number: 9.3.52-0 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:#86460 Email or phone of affected tester (no customers):jsodinjsodnjosiosj@gmail.com Issue reported by: Applause Internal Team Bug source: Exploratory - Significant User Experience Deterioration Device used: Mac 26.2 / Chrome App Component: Money Requests
Action Performed:
Go to staging.new.expensify.com
Log in with new Gmail account.
Skip work email step.
Select Track and budget expenses.
Complete the onboarding.
Go to workspace chat.
Create an expense.
Open the report.
Click Mark as done.
Expected Result:
Mark as done button will change to Marked as done in the expense report.
Actual Result:
Mark as done button changes to Submitted in the expense report.
The same button changes to Marked as done when marked from the expense preview in workspace 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.
SubmitPrimaryAction.tsx (used in the MoneyReportHeader) does not pass policyID to AnimatedSubmitButton (SubmitPrimaryAction.tsx:112-119).
AnimatedSubmitButton uses policyID to fetch the policy from Onyx and then calls isSubmitAndClose(animationPolicy) to decide whether to show "Marked as done" or "Submitted" after the button animation (AnimatedSubmitButton/index.tsx:44,132). Without policyID, animationPolicy is undefined, isSubmitAndClose() returns false, and the button falls back to "Submitted".
The workspace chat preview path (SubmitActionButton.tsx) works correctly because it passes policyID={iouReport?.policyID} (SubmitActionButton.tsx:91).
What changes do you think we should make in order to solve the problem?
Pass policyID={moneyRequestReport?.policyID} to AnimatedSubmitButton in SubmitPrimaryAction.tsx, matching what SubmitActionButton.tsx already does.
Next Steps for Contributor+ team: Reply with @MelvinBot implement this to create a draft PR, @MelvinBot <your feedback> to refine this analysis, or explain why you are rejecting Melvin's proposal.
Investigation Summary - Classification: Frontend bug - Causing PR: #86460 (High confidence) - Recommendation: REVERT. PR 86460 added Mark as done copy for track-intent users but SubmitPrimaryAction.tsx (expense report button) was not updated to pass policyID to AnimatedSubmitButton. The workspace chat SubmitActionButton correctly passes policyID which is why marking done from workspace chat shows Marked as done, but doing it from the expense report shows Submitted. The fix requires passing moneyRequestReport?.policyID to AnimatedSubmitButton in SubmitPrimaryAction.tsx. Labels: DeployBlockerCash is correct, no changes needed.
changed the title [-]Expense - Mark as done button changes to Submitted in expense report[/-][+][Due for payment 2026-04-14] Expense - Mark as done button changes to Submitted in expense report[/+]on Apr 7, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.52-9 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@Valforte 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]
changed the title [-][Due for payment 2026-04-14] Expense - Mark as done button changes to Submitted in expense report[/-][+][Due for payment 2026-04-14] [Due for payment 2026-04-14] Expense - Mark as done button changes to Submitted in expense report[/+]on Apr 7, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.53-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@Valforte@mallenexpensify 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 Apr 3, 2026
You have been assigned to this deploy blocker because you recently merged this PR: #86460
melvin-bot commentedon Apr 3, 2026
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Apr 3, 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 Apr 3, 2026
Proposal
What is the root cause of that problem?
SubmitPrimaryAction.tsx(used in theMoneyReportHeader) does not passpolicyIDtoAnimatedSubmitButton(SubmitPrimaryAction.tsx:112-119).AnimatedSubmitButtonusespolicyIDto fetch the policy from Onyx and then callsisSubmitAndClose(animationPolicy)to decide whether to show "Marked as done" or "Submitted" after the button animation (AnimatedSubmitButton/index.tsx:44,132). WithoutpolicyID,animationPolicyis undefined,isSubmitAndClose()returns false, and the button falls back to "Submitted".The workspace chat preview path (
SubmitActionButton.tsx) works correctly because it passespolicyID={iouReport?.policyID}(SubmitActionButton.tsx:91).What changes do you think we should make in order to solve the problem?
Pass
policyID={moneyRequestReport?.policyID}toAnimatedSubmitButtoninSubmitPrimaryAction.tsx, matching whatSubmitActionButton.tsxalready does.Next Steps for Contributor+ team: Reply with
@MelvinBot implement thisto create a draft PR,@MelvinBot <your feedback>to refine this analysis, or explain why you are rejecting Melvin's proposal.OSBotify commentedon Apr 3, 2026
Investigation Summary - Classification: Frontend bug - Causing PR: #86460 (High confidence) - Recommendation: REVERT. PR 86460 added Mark as done copy for track-intent users but SubmitPrimaryAction.tsx (expense report button) was not updated to pass policyID to AnimatedSubmitButton. The workspace chat SubmitActionButton correctly passes policyID which is why marking done from workspace chat shows Marked as done, but doing it from the expense report shows Submitted. The fix requires passing moneyRequestReport?.policyID to AnimatedSubmitButton in SubmitPrimaryAction.tsx. Labels: DeployBlockerCash is correct, no changes needed.
jasperhuangg commentedon Apr 3, 2026
reverting #86460 in #87106, should fix this
m-natarajan commentedon Apr 3, 2026
No Mark as done, only Submit, Chrome / v9.3.52-3 PR:87106
bandicam.2026-04-03.21-41-29-736.mp4
[-]Expense - Mark as done button changes to Submitted in expense report[/-][+][Due for payment 2026-04-14] Expense - Mark as done button changes to Submitted in expense report[/+]melvin-bot commentedon Apr 7, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.52-9 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-04-14. 🎊
melvin-bot commentedon Apr 7, 2026
@Valforte 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]
melvin-bot commentedon Apr 7, 2026
Triggered auto assignment to @mallenexpensify (
Awaiting Payment)[-][Due for payment 2026-04-14] Expense - Mark as done button changes to Submitted in expense report[/-][+][Due for payment 2026-04-14] [Due for payment 2026-04-14] Expense - Mark as done button changes to Submitted in expense report[/+]melvin-bot commentedon Apr 7, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.53-7 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-04-14. 🎊
melvin-bot commentedon Apr 7, 2026
@Valforte @mallenexpensify 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]