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 2025-07-25] [$250] Copilot - Error is shown after holding expense with a "Limited" Copilot account #65133
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
Version Number: v9.1.72-0 Reproducible in staging?: Yes Reproducible in production?: Yes If this was caught during regression testing, add the test name, ID and link from TestRail:#64020 Email or phone of affected tester (no customers):applausetester+bg@applause.expensifail.com Issue reported by: Applause Internal Team Device used: macOS/chrome App Component: Other
Action Performed:
Preconditions:
User A has unpaid expenses
User A has given a "Limited" Copilot access to User B
As User B
Log in with a "Limited" Copilot account
Switch account to user A
Go to any unpaid expense and hold the expense
Expected Result:
"Not so fast" message is displayed indicating that you are not able to perform this action before holding the expense
Actual Result:
Error is shown after finishing the Hold Expense flow
Note: We should do the same with the places where there is an action hold like here... and other actions that need to show the modal.
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
None
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
changed the title [-]Copilot - Error is shown after holding expense with a "Limited" Copilot account[/-][+][$250] Copilot - Error is shown after holding expense with a "Limited" Copilot account[/+]on Jul 2, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.82-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@eVoloshchak@kadiealexander 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]
1a. Result of the original design (eg. a case wasn't considered)
1b. Mistake during implementation
1c. Backend bug
1z. Other:
Where bug was reported:
2a. Reported on production (eg. bug slipped through the normal regression and PR testing process on staging)
2b. Reported on staging (eg. found during regression or PR testing)
2d. Reported on a PR
2z. Other:
Who reported the bug:
3a. Expensify user
3b. Expensify employee
3c. Contributor
3d. QA
3z. Other:
[Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment: there isn't an offending PR, this functionality (error handling) wasn't implemented initially (when Copilot functionality was added gradually)
[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: regression wasn't critical
[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
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
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
melvin-bot commentedon Jun 28, 2025
Triggered auto assignment to @kadiealexander (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.nkdengineer commentedon Jun 28, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
Error is shown after finishing the Hold Expense flow
What is the root cause of that problem?
We don't show the
showDelegateNoAccessModalwhen holding expense with a "Limited" Copilot accountApp/src/components/MoneyReportHeader.tsx
Lines 781 to 788 in a8bf844
What changes do you think we should make in order to solve the problem?
We should call
showDelegateNoAccessModalfunction to show the modal like we did with theunapproveaction hereApp/src/components/MoneyReportHeader.tsx
Lines 781 to 788 in a8bf844
App/src/components/MoneyReportHeader.tsx
Lines 755 to 759 in a8bf844
Note: We should do the same with the places where there is an action hold like here... and other actions that need to show the modal.
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
None
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
melvin-bot commentedon Jul 1, 2025
@kadiealexander Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
[-]Copilot - Error is shown after holding expense with a "Limited" Copilot account[/-][+][$250] Copilot - Error is shown after holding expense with a "Limited" Copilot account[/+]melvin-bot commentedon Jul 2, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021940340724829893360
melvin-bot commentedon Jul 2, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak (
External)15 remaining items
melvin-bot commentedon Jul 18, 2025
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Jul 18, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.82-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 2025-07-25. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Jul 18, 2025
@eVoloshchak @kadiealexander 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]
kadiealexander commentedon Jul 25, 2025
Payments needed:
@eVoloshchak could you please complete the checklist?
eVoloshchak commentedon Jul 25, 2025
BugZero Checklist:
Bug classification
Source of bug:
Where bug was reported:
Who reported the bug:
[Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment: there isn't an offending PR, this functionality (error handling) wasn't implemented initially (when Copilot functionality was added gradually)
[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: regression wasn't critical
[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
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue: https://github.com/Expensify/Expensify/issues/530383
Regression Test Proposal
Precondition:
Test:
Do we agree 👍 or 👎
melvin-bot commentedon Jul 28, 2025
@kadiealexander Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
kadiealexander commentedon Jul 29, 2025
Payment summary here.
garrettmknight commentedon Dec 18, 2025
$250 approved for @eVoloshchak