Repository navigation
Stop expense-driven Home Insights chart refreshes - #106796
Conversation
Co-authored-by: Vit Horacek <mountiny@users.noreply.github.com>
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
|
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
Reviewer Checklist
Screenshots/VideosScreen.Recording.2026-11-13.at.08.51.58.mov |
|
🤖 Android test steps verification results: Recovered authentication on standalone Android NewDot and reached Home, but the Insights chart remained unavailable. Request monitoring was inconclusive, so chart behavior could not be verified.
|
|
🤖 Web test steps verification results: Verified supported independent checks on dev NewDot web after creating a workspace; Insights reached an insufficient-data state. Incoming-update checks, chart-specific request attribution, reconnect testing, and JS-console verification remain blocked.
view run · no recording available |
|
@MelvinBot Could you add the test steps and QA steps, following the format used in the Steps to Reproduce section of ticket #106791? |
|
Updated the PR’s Tests and QA Steps with numbered instructions matching the ticket’s format, covering expense updates, allowed refresh triggers, other Home cards, RHP closure, and console errors. Both sections are clearly labeled as test plans—not completed testing. |
|
@huult how is this looking? |
|
@mountiny I'm nearly done |
trjExpensify
left a comment
There was a problem hiding this comment.
Looks like we agreed to this here: https://expensify.slack.com/archives/C05CBC62HGW/p1794373512888039
This comment has been minimized.
This comment has been minimized.
|
🚧 luacmartins has triggered a test Expensify/App build. You can view the workflow run here. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/luacmartins in version: 9.5.38-0 🚀
|
|
No help site update needed — this PR only changes chart refresh behavior, adds no new workflow, and makes no existing article sentence incorrect. |




Explanation of Change
Remove the expense-signature subscription and expense counter from the Home Insights chart refresh key so incoming expense updates no longer rerun its Search or queue a refresh behind an RHP. Preserve initial load, actual Home revisits, chart selection, reconnect, configuration resolution, workspace membership, and app-foreground refresh behavior. Other Home cards and full Insights are unchanged.
Add unit coverage for repeated expense-signature changes, expense changes behind an RHP, Home return, chart switching, equivalent configuration identity, reconnect, and configuration resolution.
AI Tests
prettiernpm script; alternate formatter invocations were denied by execution permissions.check-changedfailed because the environment supplied an empty base ref (origin/); direct hook compilation passed instead.Fixed Issues
$ #106791
PROPOSAL: #106791 (comment)
Tests
Manual test plan (not a claim that these steps have passed):
Search(for example,searchKey=spendOverTime). Identify chart requests by their payload rather than counting every HomeSearchrequest.Offline tests
QA Steps
QA plan (pending execution on a staging build containing this change):
Search(for example,searchKey=spendOverTime), distinguishing them from searches for other Home cards.PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)Avatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Not yet tested — needs manual QA.
Android: mWeb Chrome
Not yet tested — needs manual QA.
iOS: Native
Not yet tested — needs manual QA.
iOS: mWeb Safari
Not yet tested — needs manual QA.
MacOS: Chrome / Safari
Not yet tested — needs manual QA.