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-11-03] [$175] Auto-Collect Approver- No further action required! is displayed after admin approve #102736
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Root Cause: The App shows the correct "Waiting … to pay" step optimistically. The server's ApproveMoneyRequest response then replaces it with "No further action required!". This appears to be a backend/internal issue. A separate internal investigation is needed.
Recommended Fix: No App change is recommended. The fix needs changes outside the App repo, so please escalate to an internal engineer with backend access.
Investigation details
What the App does on Approve
After the final approval, the App builds the next step in src/libs/NextStepUtils.ts:287-300. It returns "No further action" only for invoices, a $0 reimbursable total, or reimbursementChoice === reimburseNo. Otherwise it returns WAITING_TO_PAY.
A new Collect workspace gets reimbursementChoice: reimburseYes optimistically, so the App picks WAITING_TO_PAY. This matches the expected result.
The successData in src/libs/actions/IOU/ReportWorkflow.ts:642-655 only clears pendingFields.nextStep. It never writes a new nextStep. The switch to "No further action" must therefore come from the server's response data.
The header reads report.nextStep through getReportNextStep in src/libs/NextStepUtils.ts:326-370. The only client-side override is "approved with a $0 reimbursable total", which doesn't apply to a normal expense.
changed the title [-]Auto-Collect Approver- No further action required! is displayed after admin approve[/-][+][$175] Auto-Collect Approver- No further action required! is displayed after admin approve[/+]on Oct 1, 2026
For this report, the response should indicate waitingToPay. The frontend does not send or calculate this value after the approval request; it receives nextStep from the backend and displays it. Therefore, the backend is returning an incorrect next-step value for an approved, reimbursable report with manual reimbursement enabled.
[Contributor] The offending PR and associated issue have been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to the comment on the PR: N/A, was caused by backend change
Link to the comment on the Issue:
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion:
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
Regression Test Proposal Template. Needed for all bugs AND new features
Regression Test Proposal
Precondition:
Account A is admin, create new collect workspace and invite Account B as employee
Test:
1. Open https://staging.new.expensify.com/
2. As account B, create an expense and submit
3. As account A, open the created expense by account B
4. As account A, click 'Approve' button
5. Verify the report changes from "Waiting for you to approve expenses." to "No further action required" without flashing "Waiting for you to pay expenses"
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Activity
applause-bot commentedon Oct 1, 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/cad7fb7dc4e3f6f5eac545096c621ff377b80bc9bc12dcc485d64e7839a439de
MelvinBot commentedon Oct 1, 2026
Issue Analysis
Root Cause: The App shows the correct "Waiting … to pay" step optimistically. The server's
ApproveMoneyRequestresponse then replaces it with "No further action required!". This appears to be a backend/internal issue. A separate internal investigation is needed.Recommended Fix: No App change is recommended. The fix needs changes outside the App repo, so please escalate to an internal engineer with backend access.
Investigation details
What the App does on Approve
src/libs/NextStepUtils.ts:287-300. It returns "No further action" only for invoices, a $0 reimbursable total, orreimbursementChoice === reimburseNo. Otherwise it returnsWAITING_TO_PAY.reimbursementChoice: reimburseYesoptimistically, so the App picksWAITING_TO_PAY. This matches the expected result.successDatainsrc/libs/actions/IOU/ReportWorkflow.ts:642-655only clearspendingFields.nextStep. It never writes a newnextStep. The switch to "No further action" must therefore come from the server's response data.report.nextStepthroughgetReportNextStepinsrc/libs/NextStepUtils.ts:326-370. The only client-side override is "approved with a $0 reimbursable total", which doesn't apply to a normal expense.History
reimburseYesworkspace, its logic gives the same result as before. It is not the cause here.Not verified
ApproveMoneyRequestresponse payload or production logs, so the server-side cause is unconfirmed.report.nextStep, the report'sreimbursableTotal, and the workspace's storedreimbursementChoice.Next Steps: Reply with
@MelvinBot <your feedback>to refine this analysis.view run
melvin-bot commentedon Oct 1, 2026
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Ollyws (
External)[-]Auto-Collect Approver- No further action required! is displayed after admin approve[/-][+][$175] Auto-Collect Approver- No further action required! is displayed after admin approve[/+]melvin-bot commentedon Oct 1, 2026
Job added to Upwork: https://www.upwork.com/jobs/~022105598454062070147
jawad-erfani commentedon Oct 1, 2026
@Ollyws, as I checked, this issue appears to be a backend issue.
The report is approved and still reimbursable:
statusNum: 3— approvedreimbursableTotal: -3200unheldTotal: -3200reimbursable: truereimbursementChoice: reimburseManualHowever, the backend sends:
{ "nextStep": { "messageKey": "noFurtherAction", "icon": "checkmark" } }For this report, the response should indicate
waitingToPay. The frontend does not send or calculate this value after the approval request; it receivesnextStepfrom the backend and displays it. Therefore, the backend is returning an incorrect next-step value for an approved, reimbursable report with manual reimbursement enabled.camesenin commentedon Oct 1, 2026
camesenin commentedon Oct 1, 2026
camesenin commentedon Oct 1, 2026
camesenin commentedon Oct 1, 2026
33 remaining items
melvin-bot commentedon Nov 2, 2026
Triggered auto assignment to @mallenexpensify (
Awaiting Payment)melvin-bot commentedon Nov 2, 2026
Payment Summary
Resolving PRs:
Show no further action optimistically after approving on Indirect workspaces #104539
Reviewer: @Ollyws owed $175 via NewDot
BugZero Checklist (@mallenexpensify)
Ollyws commentedon Nov 5, 2026
Contributor+ Checklist:
[Contributor] The offending PR and associated issue have been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to the comment on the PR: N/A, was caused by backend change
Link to the comment on the Issue:
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion:
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
Regression Test Proposal
Precondition:
Test:
Do we agree 👍 or 👎
melvin-bot commentedon Nov 5, 2026
@mallenexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
mallenexpensify commentedon Nov 6, 2026
Payment Summary
Contributor+: @Ollyws due $175 via NewDot
flaviadefaria commentedon Nov 9, 2026
Approved: @Ollyws due $175 via NewDot