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-01-09] [$250] Remove updateOptimisticReportNamesFromUpdates middleware #76848
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
We have this middleware updateOptimisticReportNamesFromUpdates which optimistically updates computed report names based on Onyx updates. It was added as part of our original design for optimistic custom report names on New Expensify. However, we recently decided that it is not worth the effort to build this complete system for optimistic updates, given that the backend can generally take care of it when users are online, and it has been taking a really longtime to build it out perfectly without any bugs.
Solution
Remove the middleware function and all code related to optimistically computing report names based on Onyx updates. We still want to keep the code to compute a report name given its formula. In the future we're going to make sure that custom report names are optimistically computed only when reports are created, and probably just for the most important formula parts.
changed the title [-]Remove updateOptimisticReportNamesFromUpdates middleware[/-][+][$250] Remove updateOptimisticReportNamesFromUpdates middleware[/+]on Dec 9, 2025
changed the title [-][$250] Remove updateOptimisticReportNamesFromUpdates middleware[/-][+][Due for payment 2026-01-09] [$250] Remove updateOptimisticReportNamesFromUpdates middleware[/+]on Jan 2, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.2.90-2 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@QichenZhu / @truph01@CortneyOfstad 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]
@QichenZhu — can you please complete the checklist before tomorrow as the assigned C+? This will help avoid any delays in issuing the payment summary. Thanks!
@CortneyOfstad, thanks for the reminder. I don't think we need a BugZero checklist here since this is not a bug or a new feature. We just removed some unused code.
@QichenZhu the Upwork job offer unfortunately expired yesterday, so I had to create a new one here. Please let me know once you accept and i'll get that paid ASAP!
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
truph01 commentedon Dec 6, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
App/src/libs/OptimisticReportNames.ts
Line 345 in 68c4a93
App/src/libs/API/index.ts
Line 99 in 7c65499
and all the related tests.
What alternative solutions did you explore? (Optional)
neil-marcellini commentedon Dec 9, 2025
Ok @truph01 pls go ahead. I should probably stay focused on other work vs doing this myself.
[-]Remove updateOptimisticReportNamesFromUpdates middleware[/-][+][$250] Remove updateOptimisticReportNamesFromUpdates middleware[/+]melvin-bot commentedon Dec 9, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021998500208056442603
melvin-bot commentedon Dec 9, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @QichenZhu (
External)19 remaining items
[-][$250] Remove updateOptimisticReportNamesFromUpdates middleware[/-][+][Due for payment 2026-01-09] [$250] Remove updateOptimisticReportNamesFromUpdates middleware[/+]melvin-bot commentedon Jan 2, 2026
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Jan 2, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.2.90-2 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-01-09. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Jan 2, 2026
@QichenZhu / @truph01 @CortneyOfstad 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]
CortneyOfstad commentedon Jan 8, 2026
@QichenZhu — can you please complete the checklist before tomorrow as the assigned C+? This will help avoid any delays in issuing the payment summary. Thanks!
QichenZhu commentedon Jan 9, 2026
@CortneyOfstad, thanks for the reminder. I don't think we need a BugZero checklist here since this is not a bug or a new feature. We just removed some unused code.
CortneyOfstad commentedon Jan 9, 2026
@QichenZhu the Upwork job offer unfortunately expired yesterday, so I had to create a new one here. Please let me know once you accept and i'll get that paid ASAP!
QichenZhu commentedon Jan 9, 2026
@CortneyOfstad thanks! Can I be paid via NewDot since this was assigned to me after my eligibility date?
CortneyOfstad commentedon Jan 9, 2026
Payment Summary
@truph01 — paid $250 via Upwork
@QichenZhu — to be paid $250 via NewDot
Regression Test
Not needed per comment here
twisterdotcom commentedon Jan 10, 2026
@QichenZhu has submitted payment for this report on ND here.
SO: https://stackoverflowteams.com/c/expensify/questions/7582
Zapier Logs
Run ID: 00040eee-0b44-a260-e7e6-c89141a94224