Skip to content

[Due for payment 2026-12-02] [$175] Report - After deleting a split, remaining one flashes on report. #107678

Todo

Description

@applause-bot

If you haven’t already, check out our contributing guidelines for onboarding. To join our Slack channel, fill out this form.


Version Number: 9.5.52-1
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from BrowserStack: #102627
Email or phone of affected tester (no customers): ibellicotest+3215@gmail.com
Issue reported by: Applause Internal Team
Bug source: Pull Request QA execution
Device used: Motorola MotoG60 / Android 12 (Hybrid app) - Windows 11 / Chrome
App Component: Money Requests

Action Performed:

Prerequisite: Account has a workspace.
Prerequisite 2: One report with at least two expenses in it, available on workspace chat.

  1. Open the staging.new.expensify.com website.
  2. Navigate to workspace chat.
  3. Open a report with at least two expenses in it.
  4. Select one of the expenses > "More" > "Split" > Save splits.
  5. Note that both splits are highlighted on report.
  6. Select one of the splits and delete it.
  7. Note that remaining split is highlighted one more time.

Expected Result:

After deleting one expense on report, remaining ones shouldn´t flash.

Actual Result:

After deleting a split on a report, remaining one flashes.

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome Safari

Screenshots/Videos

Bug7320354_1795228442926.Flash_7.mp4

View all open jobs on GitHub

Applause Internal Information
Exported by: Chandana Kiran
Bug ID: 7320354

Issue OwnerCurrent Issue Owner: @mallenexpensify
Upwork Automation - Do Not Edit

Activity

  1. added
    Daily
    Bug
    on Nov 22, 2026
  2. applause-bot commented on Nov 22, 2026

    @applause-bot
    Author

    While Applause doesn't embed attachments for this bug, here are the links for quick view:
    https://platform.applause.com/services/links/v1/external/5019e5fae9e0586fbb799153574ff7b036973e4c26d15aa4a8fdd46bd15c52e5

  3. situchan commented on Nov 22, 2026

    @situchan
    Contributor

    This PR is failing because of regression issue #107678

    Assigning @TaduJR and myself since this was caught while testing our PR

  4. melvin-bot commented on Nov 22, 2026

    @melvin-bot

    @situchan — to hire @TaduJR on Upwork, add the External label so a job is created and the offer is sent automatically.

  5. situchan commented on Nov 22, 2026

    @situchan
    Contributor

    @TaduJR please check if this is bug or expected

  6. added
    External
    on Nov 22, 2026
  7. expensify-chore-bot commented on Nov 22, 2026

    @expensify-chore-bot

    Current assignees @TaduJR and @situchan are eligible for the External assigner, not assigning anyone new.

  8. changed the title [-]Report - After deleting a split, remaining one flashes on report.[/-] [+][$175] Report - After deleting a split, remaining one flashes on report.[/+] on Nov 22, 2026
  9. expensify-chore-bot commented on Nov 22, 2026

    @expensify-chore-bot
  10. MelvinBot commented on Nov 22, 2026

    @MelvinBot
    Contributor

    Proposal

    What is the root cause of that problem?

    Deleting one of two splits restores the original expense, rather than simply removing one child. The restoration incorrectly marks that original expense as newly added, causing the extra flash.

    Confidence: Medium — independently confirmed through code tracing; browser reproduction was not performed.

    Code evidence and alternatives checked
    1. With one editable split remaining, the app performs a reverse split.
    2. It restores the original transaction ID and removes the remaining child. Visually, this looks like the remaining split.
    3. The money-request builder treats the restored original as an insertion and writes a fresh highlight flag. It does not exclude reverse-split operations.

    This is not an ordinary deletion restarting an animation: the transaction identity changes and receives a new highlight request. The list-difference detector does not independently classify a same-size replacement as an addition.

    What changes do you think we should make in order to solve the problem?

    Exclude isReverseSplitOperation from the builder’s report-table highlight eligibility. Restoring an original expense after deletion should not request a “new expense” flash. Preserve highlighting for newly created split children.

    Add regression coverage for:

    • Deleting one of two splits immediately and after the initial highlights expire.
    • Restoring the original transaction without generating a new highlight flag.
    • Forward splits still highlighting correctly; ordinary deletions and deleting one of three splits not highlighting survivors.

    What alternative solutions did you explore? (Optional)

    Changing animation timers or row keys would target the wrong layer: the restoration generates a fresh highlight request. Suppressing that request is the narrower fix.

    Related work: Refactor highlight mechanism covers the same subsystem, but is not established as a duplicate. The QA-linked PR is not established as introducing this bug.


    Next Steps for Contributor+ team:
    To accept: @MelvinBot implement [this](https://github.com/Expensify/App/issues/107678) to create a draft PR.
    To refine: @MelvinBot <your feedback>
    To reject: Explain why you are rejecting Melvin's proposal.


    view run

  11. added
    Reviewing
    Weekly
    and removed
    Daily
    on Nov 22, 2026
  12. 7 remaining items

  13. expensify-chore-bot commented on Nov 25, 2026

    @expensify-chore-bot

    @TaduJR Whoops! This issue is 2 days overdue. Let's get this updated quick!

  14. added
    Weekly
    and removed
    Daily
    on Nov 25, 2026
  15. added
    Daily
    Awaiting Payment
    on Dec 1, 2026
  16. expensify-chore-bot commented on Dec 1, 2026

    @expensify-chore-bot

    Triggered auto assignment to @mallenexpensify (Awaiting Payment)

  17. expensify-chore-bot commented on Dec 1, 2026

    @expensify-chore-bot

    Payment Summary

    Upwork Job

    • Assignee: @TaduJR requires payment (Needs manual offer from BZ)
    • Reviewer: @situchan owed $175 via NewDot

    BugZero Checklist (@mallenexpensify)

    • I have confirmed assignees, roles, and Upwork contracts look correct
    • I have paid out Upwork contracts / manual NewDot requests
    • [BugZero Assignee] I have created a GH issue for creating/updating the regression test once above steps have been agreed upon
  18. mallenexpensify commented on Dec 3, 2026

    @mallenexpensify
    Contributor

    Matt's AI agent:

    Prep notes for the CM. This is not a payment approval. Do not request payment until the CM posts the final amount.

    Hold/$0.

    Job price: $175.

    • TaduJR (Contributor): 0%, via Upwork
    • situchan (C+): 0%, via NewDot

    Price basis: standard, no Help Wanted.

    Cut: this issue is a regression from 102627, which TaduJR wrote and situchan approved.

    Next: close the issue.

    Evidence
    • Offending PR 102627: TaduJR, approved by situchan and blimpich. This issue falls inside its window.
    • Fix PR 107688: TaduJR, approved by situchan, blimpich, dylanexpensify. Production 2026-11-25.
    • No C+ checklist. A Hold/$0 issue needs none.

    PAYPREP v1

  19. TaduJR commented on Dec 3, 2026

    @TaduJR
    Contributor

    This needs a payment. The issue was reported on prod as well. Not a regression

    Reproducible in staging?: Yes
    Reproducible in production?: Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugDailyExternal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions