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
Android - Reports - "It´s not here" on expenses report after backgrounding and reopening app #71856
👋 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.
🔄 I ran Vector1 on this deploy blocker issue and here are the top 5 possible offending PRs based on semantic similarity2:
#71190: Fix - "This report has no expenses" briefly shown in Reports after clearing cache
semantic similarity 60.3%
#71371: fix(report-paylist): prevent empty state after paying report offline
semantic similarity 55.8%
#71444: fix: Error is not removed from the report preview after paying an expense with empty field
semantic similarity 54.1%
#69291: Fix - Expense - Paying the expense removed the amount violation, but it re-appeared later
semantic similarity 53.7%
#71696: fix: IOU details are not visible preview on Search
semantic similarity 48.2%
Please drop a 👍 (correct) or 👎 (incorrect) as feedback regarding the results.
Note
PR # and name added as text only to avoid triggering regression automation on the issues which the above PRs are addressing in case the finding is incorrect.
Footnotes
Vector is currently a local-only prototype stage app that uses AI embeddings to find offending PRs for a given deploy blocker issue. Because of the early stage of the app, results must be taken with with a grain of🧂. How it works: grab deploy blocker issue's OP data (title, steps, expected / actual result) and embed -> grab all deploy checklist issue PRs data (title, explanation of change, tests, changed files, AI diff summary) and embed -> calculate cosine similarity of issue embedding to each PRs embedding -> get results. ↩
Semantic similarity, when applied to embeddings, measures the similarity in meaning between different pieces of text by comparing their vector representations in a high-dimensional "semantic space". Texts with similar meanings are mapped to vectors that are close together, and this "closeness" is quantified using metrics like cosine similarity. This technology enables search engines and chatbots to find relevant information even without exact keyword matches, providing more accurate and contextualized results. ↩
I reproduced on both Android and Web in dev. For web, you have to use the dev panel to go offline and then reconnect to reproduce.
It looks like the root of the problem is ReconnectApp. It returns a setcollection update for reports_ which does not include the report we're looking at. So the update deletes the report and we end up with the not found page.
I'm not sure why but lastUpdateIDAppliedToClient is undefined when we call ReconnectApp here which causes a full reconnect with the set collection issue. I'm posting a revert for this.
Activity
melvin-bot commentedon Oct 4, 2025
Triggered auto assignment to @clarajones-expensify (
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.melvin-bot commentedon Oct 4, 2025
Triggered auto assignment to @arosiclair (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon Oct 4, 2025
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Oct 4, 2025
👋 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:
ikevin127 commentedon Oct 4, 2025
🔄 I ran Vector1 on this deploy blocker issue and here are the top 5 possible offending PRs based on semantic similarity2:
Please drop a 👍 (correct) or 👎 (incorrect) as feedback regarding the results.
Note
PR # and name added as text only to avoid triggering regression automation on the issues which the above PRs are addressing in case the finding is incorrect.
Footnotes
Vector is currently a local-only prototype stage app that uses AI embeddings to find offending PRs for a given deploy blocker issue. Because of the early stage of the app, results must be taken with with a grain of🧂. How it works: grab deploy blocker issue's OP data (title, steps, expected / actual result) and embed -> grab all deploy checklist issue PRs data (title, explanation of change, tests, changed files, AI diff summary) and embed -> calculate cosine similarity of issue embedding to each PRs embedding -> get results. ↩
Semantic similarity, when applied to embeddings, measures the similarity in meaning between different pieces of text by comparing their vector representations in a high-dimensional "semantic space". Texts with similar meanings are mapped to vectors that are close together, and this "closeness" is quantified using metrics like cosine similarity. This technology enables search engines and chatbots to find relevant information even without exact keyword matches, providing more accurate and contextualized results. ↩
izarutskaya commentedon Oct 6, 2025
Issue is still reproducible on Samsung Galaxy A40/Android 11/App/Ad-hoc Build v9.2.23-0
mobizen_20251006_143301.mp4
Samsung M 52/Android 13
Screen.Recording.20251006.145501.Expensify.Adhoc.mp4
arosiclair commentedon Oct 6, 2025
Reproduced in staging v9.2.23-0 and not in prod v9.2.22-6. I was only able to reproduce with a brand new account and workspace btw.
IuliiaHerets commentedon Oct 6, 2025
Reproduced on Samsung Galaxy A40/Android 11/App/ad-hoc Build v9.2.23-1 PR:71894
mobizen_20251006_164606.mp4
arosiclair commentedon Oct 6, 2025
Nothing in the checklist looks immediately suspicious to me atm. I'm trying to reproduce in dev.
arosiclair commentedon Oct 6, 2025
I reproduced on both Android and Web in dev. For web, you have to use the dev panel to go offline and then reconnect to reproduce.
It looks like the root of the problem is
ReconnectApp. It returns asetcollectionupdate forreports_which does not include the report we're looking at. So the update deletes the report and we end up with the not found page.arosiclair commentedon Oct 6, 2025
Bingo - #71746 is the offender. I reverted locally and it fixes the issue. cc @DylanDylann @ikevin127 @luacmartins
I'm not sure why but
lastUpdateIDAppliedToClientis undefined when we call ReconnectApp here which causes a full reconnect with the set collection issue. I'm posting a revert for this.luacmartins commentedon Oct 6, 2025
Nice, thanks for finding the cause of this one @arosiclair!
lakchote commentedon Oct 6, 2025
Assigning myself there too as I did investigate in parallel and opened the original revert PR
arosiclair commentedon Oct 6, 2025
Fixed in v9.2.23-3