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-06-19] Rates - Change logs message after editing rate date, is different on chat and on search. #93143
Version Number: 9.4.2-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:#92186 Email or phone of affected tester (no customers):applausetester+ib0005@applause.expensifail.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: Search
Action Performed:
Prerequisite: Use Expensifail account.
Prerequisite 2: Account has a workspace with distance rates enabled.
Prerequisite 3: User created a rate with start and end dates included.
Open the staging.new.expensify.com website.
Navigate to "Workspaces" > Workspace > "Distance Rates"
Open a distance rate that contains start and end dates.
Edit the rate "Start" date and save it.
Navigate to #Admins room of the workspace.
Open the thread created with distance rates changes.
Note that a "updated start date of "Name" rate to "Date" (previously "Date") message is visible in thread.
Tap on the search icon on the top right corner.
Hover over preview of thread chat and note that preview shows a "Updated the distance rate "Name" to apply from "Date" to "Date" (Previously "Date" - "Date")
Expected Result:
Message generated with editions on distance rates dates, should be consistent on thread conversation and on preview on "Search"
Actual Result:
Message generated with editions on distance rates dates, is different on thread conversation and on chat prevew on "Search". Message on thread is displayed as "updated start date of "Name" rate to "Date" (previously "Date")" while chat preview shows a "Updated the distance rate "Name" to apply from "Date" to "Date" (Previously "Date" - "Date")" message.
👋 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.
Root cause is high-confidence (code-verified). The exact fix direction is a product/eng decision — see two options below.
What is the root cause of that problem?
PR #92186 introduced new, client-side wording for distance-rate date change logs that is computed at render time from the action's originalMessage (newStartDate / oldStartDate / newEndDate / oldEndDate). The inbox thread and the LHN read the live report action, so they show the new wording (e.g. updated start date of "Name" rate to <date> (previously <date>)).
The Search page does not use that helper. Search renders threads from the search snapshot (snapshot_<hash>), a separate Onyx collection. Thread names there come from getReportName, which returns the derived reportAttributes value or falls back to report.reportName. The reportAttributes derived value only subscribes to the live reportActions_ collection — not the snapshot — so for a snapshot-only thread it falls back to report.reportName, which is the backend-precomputed string: Updated the distance rate "Name" to apply from <date> to <date> (Previously <date> - <date>).
So the two surfaces read two different sources: thread = new client-computed wording; Search = old backend-precomputed wording. They diverge. (Consistent with the report: not reproducible in production — the new wording only exists on staging via #92186.)
The reportAttributes derived value subscribes to COLLECTION.REPORT_ACTIONS, not COLLECTION.SNAPSHOT, so it never recomputes names for snapshot-only threads.
The frontend never builds an optimistic UPDATE_CUSTOM_UNIT_RATE action or writes message.html/text for it — the new wording exists only as a render-time computation. (Verified in PolicyDistanceRatesUtils.ts / DistanceRate.ts.)
What changes do you think we should make in order to solve the problem?
Two viable directions, depending on which wording should win:
Keep the new wording everywhere (recommended for product intent). The backend-precomputed change-log copy (the report.reportName / message for this action) must be updated to match the new frontend strings. This is a backend copy change outside the App repo — it needs an internal engineer to update the change-log message generation so all surfaces (thread, LHN, and Search) are consistent.
Quickest deploy-blocker mitigation (App-only). Revert the wording change from feat: render date-aware workspace change logs for mileage rates #92186 (or align the new en.ts strings to the existing backend copy) so the thread again matches the backend-precomputed text shown in Search. This restores consistency but gives up the date-aware copy the PR added.
A pure-App "make Search recompute via the helper" fix is not advisable here: the search snapshot is intentionally outside the reportAttributes derived value, so routing Search names through the helper is a broad architectural change and risky for a deploy blocker.
What alternative solutions did you explore?
Making reportAttributes (or SearchUIUtils) recompute thread names from the snapshot's parent report action — rejected as too broad/risky for a time-sensitive blocker; it would affect every report-action-derived thread name in Search, not just distance rates.
Next Steps for Contributor+ team: To accept:@MelvinBot implement [this](https://github.com/Expensify/App/issues/93143) to create a draft PR (only viable for option 2 — option 1 requires a backend change outside App). To refine:@MelvinBot <your feedback> To reject: Explain why you are rejecting Melvin's proposal.
I confused myself, is payment due here? The offending PR has @DylanDylann as a reviewer as well so I'd assume they'd be assigned here and not due payment. cc @rlinoz for bonus 👀 @MelvinBot please review too in case I'm missing something
🤖 Reviewed the chain. A couple of corrections that change the conclusion:
The C+ reviewer of the offending PR was thelullabyy, not DylanDylann.DylanDylann has no role here — not on the offending PR, the original feature issue, or the fix:
So thelullabyy is the same C+ across the offending PR and this regression.
On payment: this is a regression from #92186, and thelullabyy is the C+ who approved that offending PR. Per the regression convention, the C+ who approves a PR that introduces a regression handles the resulting fix without additional payment — so the $250 C+ fee here is questionable and I'd lean not due, since you'd effectively be paying the reviewer to fix a regression they approved. The fix itself was written by an internal engineer (rlinoz), not a contributor, so there's no contributor payment owed either.
Worth confirming with rlinoz, but the instinct that "the reviewer of the offending PR shouldn't be paid here" is right — that reviewer is just thelullabyy, not DylanDylann.
@rlinoz I think this issue is an ad-hoc issue, not including in original scope of project. I think I can be due for payment here? Please correct if I'm wrong? Thanks
Yes, this was not an actual regression, we changed the implementation in the backend without a warning then we needed this fix as a follow up, so this issue is due payment.
Activity
applause-bot commentedon Jun 10, 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/fd2bbb9bd6631934551395be65966a9c123a7b6c4adb783c678dc15d782e9e1f
melvin-bot commentedon Jun 10, 2026
You have been assigned to this deploy blocker because you recently merged this PR: #92186
melvin-bot commentedon Jun 10, 2026
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Jun 10, 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 Jun 10, 2026
Proposal
What is the root cause of that problem?
PR #92186 introduced new, client-side wording for distance-rate date change logs that is computed at render time from the action's
originalMessage(newStartDate/oldStartDate/newEndDate/oldEndDate). The inbox thread and the LHN read the live report action, so they show the new wording (e.g.updated start date of "Name" rate to <date> (previously <date>)).The Search page does not use that helper. Search renders threads from the search snapshot (
snapshot_<hash>), a separate Onyx collection. Thread names there come fromgetReportName, which returns the derivedreportAttributesvalue or falls back toreport.reportName. ThereportAttributesderived value only subscribes to the livereportActions_collection — not the snapshot — so for a snapshot-only thread it falls back toreport.reportName, which is the backend-precomputed string:Updated the distance rate "Name" to apply from <date> to <date> (Previously <date> - <date>).So the two surfaces read two different sources: thread = new client-computed wording; Search = old backend-precomputed wording. They diverge. (Consistent with the report: not reproducible in production — the new wording only exists on staging via #92186.)
Code evidence
ReportActionsUtils.ts:3194-3275; strings aten.ts:7696-7705. The Search wording (to apply from … to …) exists nowhere insrc/languages/*.ReportNameUtils.ts:737-739,SidebarUtils.ts:1097.getReportName→ fallback toreport.reportName(ReportNameUtils.ts:1050-1055).reportAttributesderived value subscribes toCOLLECTION.REPORT_ACTIONS, notCOLLECTION.SNAPSHOT, so it never recomputes names for snapshot-only threads.UPDATE_CUSTOM_UNIT_RATEaction or writesmessage.html/textfor it — the new wording exists only as a render-time computation. (Verified inPolicyDistanceRatesUtils.ts/DistanceRate.ts.)What changes do you think we should make in order to solve the problem?
Two viable directions, depending on which wording should win:
Keep the new wording everywhere (recommended for product intent). The backend-precomputed change-log copy (the
report.reportName/messagefor this action) must be updated to match the new frontend strings. This is a backend copy change outside the App repo — it needs an internal engineer to update the change-log message generation so all surfaces (thread, LHN, and Search) are consistent.Quickest deploy-blocker mitigation (App-only). Revert the wording change from feat: render date-aware workspace change logs for mileage rates #92186 (or align the new
en.tsstrings to the existing backend copy) so the thread again matches the backend-precomputed text shown in Search. This restores consistency but gives up the date-aware copy the PR added.A pure-App "make Search recompute via the helper" fix is not advisable here: the search snapshot is intentionally outside the
reportAttributesderived value, so routing Search names through the helper is a broad architectural change and risky for a deploy blocker.What alternative solutions did you explore?
Making
reportAttributes(orSearchUIUtils) recompute thread names from the snapshot's parent report action — rejected as too broad/risky for a time-sensitive blocker; it would affect every report-action-derived thread name in Search, not just distance rates.Next Steps for Contributor+ team:
To accept:
@MelvinBot implement [this](https://github.com/Expensify/App/issues/93143)to create a draft PR (only viable for option 2 — option 1 requires a backend change outside App).To refine:
@MelvinBot <your feedback>To reject: Explain why you are rejecting Melvin's proposal.
rlinoz commentedon Jun 10, 2026
Not a blocker, feature is behind a beta
23 remaining items
melvin-bot commentedon Jun 18, 2026
Payment Summary
Upwork Job
BugZero Checklist (@mallenexpensify)
mallenexpensify commentedon Jun 20, 2026
Payment Summary
Contributor+: @thelullabyy due $250 via Upwork
@thelullabyy can you please accept the job below? Please reply here and tag me once you have.
https://www.upwork.com/jobs/~022068328431604736228
melvin-bot commentedon Jun 23, 2026
@thelullabyy Whoops! This issue is 2 days overdue. Let's get this updated quick!
thelullabyy commentedon Jun 25, 2026
@mallenexpensify I accepted the offer
mallenexpensify commentedon Jun 25, 2026
I confused myself, is payment due here? The offending PR has @DylanDylann as a reviewer as well so I'd assume they'd be assigned here and not due payment. cc @rlinoz for bonus 👀 @MelvinBot please review too in case I'm missing something
MelvinBot commentedon Jun 25, 2026
🤖 Reviewed the chain. A couple of corrections that change the conclusion:
The C+ reviewer of the offending PR was
thelullabyy, notDylanDylann.DylanDylannhas no role here — not on the offending PR, the original feature issue, or the fix:thelullabyy(LGTM, approved). Author:Krishna2323. No review fromDylanDylann.thelullabyy.thelullabyy; authored byrlinoz(internal).So
thelullabyyis the same C+ across the offending PR and this regression.On payment: this is a regression from #92186, and
thelullabyyis the C+ who approved that offending PR. Per the regression convention, the C+ who approves a PR that introduces a regression handles the resulting fix without additional payment — so the $250 C+ fee here is questionable and I'd lean not due, since you'd effectively be paying the reviewer to fix a regression they approved. The fix itself was written by an internal engineer (rlinoz), not a contributor, so there's no contributor payment owed either.Worth confirming with
rlinoz, but the instinct that "the reviewer of the offending PR shouldn't be paid here" is right — that reviewer is justthelullabyy, notDylanDylann.thelullabyy commentedon Jun 25, 2026
@rlinoz I think this issue is an ad-hoc issue, not including in original scope of project. I think I can be due for payment here? Please correct if I'm wrong? Thanks
rlinoz commentedon Jun 26, 2026
Yes, this was not an actual regression, we changed the implementation in the backend without a warning then we needed this fix as a follow up, so this issue is due payment.
mallenexpensify commentedon Jun 27, 2026
Payment Summary
Contributor+: @thelullabyy due $250 via NewDot
Thx!