Skip to content

Ensure we call ReconnectApp when the passed clientUpdateID is not in the DB #47582

Closed

Description

@iwiznia

Context https://expensify.slack.com/archives/C03TQ48KC/p1723832372007299?thread_ts=1723826918.927409&cid=C03TQ48KC

Problem

Right now when the clientUpdateID is not in the DB because it got deleted already, we are just assuming you are up to date, but we really can't know that, there might be updates that you missed.

Solution

If we don't have the clientUpdateID in the DB we should instruct the client to call ReconnectApp to ensure they get all the data they might have missed

Activity

  1. added
    Daily
    Improvement
    on Aug 16, 2024
  2. melvin-bot commented on Aug 19, 2024

    @melvin-bot

    Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  3. self-assigned this
    on Aug 20, 2024
  4. melvin-bot commented on Aug 23, 2024

    @melvin-bot

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

  5. melvin-bot commented on Aug 27, 2024

    @melvin-bot

    @iwiznia 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

  6. self-assigned this
    on Aug 29, 2024
  7. 13 remaining items

  8. melvin-bot commented on Sep 9, 2024

    @melvin-bot

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

  9. iwiznia commented on Sep 10, 2024

    @iwiznia
    ContributorAuthor

    Working on this. I have the PRs ready above. I need to test the other users case.

  10. moved this from CRITICAL to HIGH in [#whatsnext] #qualityon Sep 10, 2024
  11. added
    Reviewing
    Weekly
    and removed
    Daily
    on Sep 11, 2024
  12. iwiznia commented on Sep 11, 2024

    @iwiznia
    ContributorAuthor

    Sent all PRs for review

  13. moved this from HIGH to Done in [#whatsnext] #qualityon Sep 24, 2024
  14. melvin-bot commented on Oct 4, 2024

    @melvin-bot

    This issue has not been updated in over 15 days. @iwiznia, @danieldoglas eroding to Monthly issue.

    P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

  15. iwiznia commented on Oct 7, 2024

    @iwiznia
    ContributorAuthor

    This was done way back

  16. nyomanjyotisa commented on Oct 18, 2026

    @nyomanjyotisa
    Member

    The account-wide reconnectApp handler added in #48784 always requested a full reconnect, which could replace loaded chat history on other signed-in devices (#100791). Fixed in #102247 using each client’s watermark with full-recovery fallbacks.

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

Metadata

Metadata

Labels

EngineeringImprovementMonthlyReviewing

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions