Skip to content

[HOLD for payment 2023-12-07] [HOLD for payment 2023-10-13] [HOLD for payment 2023-07-14] Onyx migration for personalDetails changes #21454

Closed

Description

@puneetlath

Part of "Secure Logins in NewDot" Project

As part of this project, we started sending new data to Onyx that was accountID-based (e.g. personalDetailsList, participantAccountIDs, etc). We did not stop sending the old data, but we will be soon.

As a cleanup item, we should add an Onyx migration for two reasons:

  1. To remove stale data from clients (e.g. to remove the personalDetails object)
  2. To fix stale local data that will cause the app to break (e.g. old reportActions that don't have participantAccountIDs)

We should have this ready to go-live after https://github.com/Expensify/Expensify/issues/294647 is done.

This migration will be handled in stages:

Before updating the back-end:

  • Migrate reportActions that don't have accountID-based data to include it (without removing email-based data)

Once back-end has been updated to stop sending email-based data:

Activity

  1. self-assigned this
    on Jun 23, 2023
  2. changed the title [-]Migration for personalDetails changes[/-] [+]Onyx migration for personalDetails changes[/+] on Jun 23, 2023
  3. puneetlath commented on Jun 25, 2023

    @puneetlath
    Author
  4. added
    Reviewing
    on Jun 26, 2023
  5. puneetlath commented on Jun 26, 2023

    @puneetlath
    ContributorAuthor

    @s77rt if you want, you can C+ all of them. There will probably be at least 3 or 4 PRs.

  6. s77rt commented on Jun 26, 2023

    @s77rt
    Member

    @puneetlath That would be great

  7. added
    Weekly
    Awaiting Payment
    and removed
    Daily
    on Jul 3, 2023
  8. changed the title [-]Onyx migration for personalDetails changes[/-] [+][HOLD for payment 2023-07-10] Onyx migration for personalDetails changes[/+] on Jul 3, 2023
  9. melvin-bot commented on Jul 3, 2023

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  10. removed
    Reviewing
    on Jul 3, 2023
  11. melvin-bot commented on Jul 3, 2023

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.35-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2023-07-10. 🎊

    After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

    • External issue reporter
    • Contributor that fixed the issue
    • Contributor+ that helped on the issue and/or PR

    As a reminder, here are the bonuses/penalties that should be applied for any External issue:

    • Merged PR within 3 business days of assignment - 50% bonus
    • Merged PR more than 9 business days after assignment - 50% penalty
  12. 60 remaining items

  13. puneetlath commented on Nov 29, 2023

    @puneetlath
    ContributorAuthor

    Hmm, I can't remember what I meant by that. Is there a way we can know that the migration doesn't need to run and skip it that y'all can think of?

  14. Beamanator commented on Nov 30, 2023

    @Beamanator
    Contributor

    haha fair point - i don't think we'd have any way of knowing that it already ran unless we set some kind of NVP, but we'd have to have it run for every device where you had logged in to your account - so I don't think we need to do that now, we may need to if we start running too many migrations that end up taking a long time or something?

  15. s77rt commented on Nov 30, 2023

    @s77rt
    Member

    Agree ^ I think we are good to close for now

  16. added
    Weekly
    and removed
    Weekly
    on Nov 30, 2023
  17. changed the title [-][HOLD for payment 2023-10-13] [HOLD for payment 2023-07-14] Onyx migration for personalDetails changes[/-] [+][HOLD for payment 2023-12-07] [HOLD for payment 2023-10-13] [HOLD for payment 2023-07-14] Onyx migration for personalDetails changes[/+] on Nov 30, 2023
  18. removed
    Reviewing
    on Nov 30, 2023
  19. melvin-bot commented on Nov 30, 2023

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  20. melvin-bot commented on Nov 30, 2023

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.5-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2023-12-07. 🎊

    After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

    • External issue reporter
    • Contributor that fixed the issue
    • Contributor+ that helped on the issue and/or PR

    For reference, here are some details about the assignees on this issue:

  21. puneetlath commented on Dec 1, 2023

    @puneetlath
    ContributorAuthor

    Ok, I count a total of 7 PRs which would be $3500. Does that sound right?

  22. puneetlath commented on Dec 1, 2023

    @puneetlath
    ContributorAuthor

    Ok that sounds good. Thank you for being so honest and straightforward. Offer here: https://www.upwork.com/nx/wm/offer/27918877

  23. s77rt commented on Dec 1, 2023

    @s77rt
    Member

    Accepted! Thanks!

  24. puneetlath commented on Dec 4, 2023

    @puneetlath
    ContributorAuthor

    Alright paid. Closing this out!

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

Metadata

Metadata

Labels

Awaiting PaymentWeekly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions