Skip to content

Distance - Route is removed from route list after deleting split with edited route #103272

Closed as not planned

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.4-0
Reproducible in staging?: Yes
Reproducible in production?: N/A - new feature, doesn't exist in prod
If this was caught during regression testing, add the test name, ID and link from BrowserStack: #102258
Email or phone of affected tester (no customers): jsoidjndoiniodnsjojd@gmail.com
Issue reported by: Applause Internal Team
Bug source: Exploratory - Significant User Experience Deterioration
Device used: Mac 26.5 / Chrome
App Component: Money Requests

Action Performed:

  1. Go to staging.new.expensify.com
  2. Go to workspace chat.
  3. Create a distance expense.
  4. Open the distance.
  5. Click More > Split > Save.
  6. Open any split and change the waypoint.
  7. Go back to expense report.
  8. Click + > Track distance > Map.
  9. Click Reuse route.
    → The new route from the edited split appears in route list.
  10. Close the RHP.
  11. Open the split with edited distance and delete it.
  12. Delete the remaining split.
  13. Click + > Track distance > Map.
  14. Click Reuse route.
    → The new route from the edited split is removed in route list.

Expected Result:

After deleting split distance with edited route, the route will not be removed from previous route list.

Actual Result:

After deleting split distance with edited route, the route is removed from previous route list.

This issue does not occur when user bulk selects both splits and delete them. The edited route remains in route list.

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug7279477_1791328448482.11.mp4

View all open jobs on GitHub

Applause Internal Information
Exported by: Mita Rachim
Bug ID: 7279477

Activity

  1. added
    DeployBlockerCash
    on Oct 7, 2026
  2. applause-bot commented on Oct 7, 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/d350581f1b18d0128257e2fb413e40b59ae891e49ad65653f133dafa5beae61d

  3. added
    Bug
    on Oct 7, 2026
  4. melvin-bot commented on Oct 7, 2026

    @melvin-bot

    You have been assigned to this deploy blocker because you recently merged this PR: #102258

  5. melvin-bot commented on Oct 7, 2026

    @melvin-bot

    @Gonals @Pujan92 you have been assigned to this deploy blocker because you reviewed the offending PR: #102258

  6. github-actions commented on Oct 7, 2026

    @github-actions
    Contributor

    👋 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:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  7. melvin-bot commented on Oct 7, 2026

    @melvin-bot

    @ShridharGoel you have been assigned to this deploy blocker because you authored the offending PR: #102258

  8. melvin-bot commented on Oct 7, 2026

    @melvin-bot

    💬 A slack conversation has been started in #expensify-open-source

  9. MelvinBot commented on Oct 7, 2026

    @MelvinBot
    Contributor

    Deploy Blocker Analysis

    Recommendation: Demote. Don't revert. Add Reuse route to the distance creation flow added the feature, but the App never edits the route list. The server decides which routes to return. It treats the two delete paths differently. This appears to be a backend/internal issue. A separate internal investigation is needed.

    Why the two delete paths differ:

    Before fixing, product needs to decide: should a deleted expense's route stay reusable? Each route is tied to a source expense, so removing it may be intended. If so, the bulk-delete case is the inconsistent one.

    Investigation details

    Next Steps: An internal engineer should confirm the intended behavior, then decide whether to remove DeployBlockerCash and follow up on the backend. Reply with @MelvinBot <your feedback> to refine this analysis.


    view run

  10. JmillsExpensify commented on Oct 7, 2026

    @JmillsExpensify
    Contributor

    I don't think a deleted expense's route should stay usable.

  11. added
    Daily
    and removed
    DeployBlockerCash
    Hourly
    on Oct 7, 2026
  12. ShridharGoel commented on Oct 8, 2026

    @ShridharGoel
    Contributor

    Closing based on this.

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

Metadata

Metadata

Labels

BugDailyEngineering

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions