Skip to content

[HOLD for payment 2023-08-17] [$1000] Create Onyx migration for previousReportActionID #23221

Closed

Description

@roryabraham

Part of the Comment Linking project

Main issue: #20282
Doc section: https://docs.google.com/document/d/1v-ZaIRTZL5LIsyPWB0IopBNNgCajf5WC1OA8cVKtd8I/edit#bookmark=id.bry74gx446k1
Project: Comment Linking

Create an Onyx migration called CheckForPreviousReportActionID that:

  • Looks at a single reportAction from Onyx
  • If that reportAction has the previousReportActionID field, resolve the migration.
  • If the reportAction does not have the previousReportActionID field, delete all reportActions from Onyx

This migration should be created and tested, but not yet added to migrateOnyx until we are ready.

Manual Test Steps

Manually test this by locally adding the migration to migrateOnyx but do not commit that change.

Automated Tests

We should update MigrationTest to include tests for the new migration.

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01382a606158d56e43
  • Upwork Job ID: 1681813151297843200
  • 2023-07-19
  • Automatic offers:
    • abdulrahuman5196 | Reviewer | 25687360
    • neonbhai | Contributor | 25687361

Activity

  1. added
    External
    Daily
    NewFeature
    on Jul 19, 2023
  2. self-assigned this
    on Jul 19, 2023
  3. changed the title [-]Create Onyx migration for previousReportActionID[/-] [+][$1000] Create Onyx migration for previousReportActionID[/+] on Jul 19, 2023
  4. melvin-bot commented on Jul 19, 2023

    @melvin-bot
  5. melvin-bot commented on Jul 19, 2023

    @melvin-bot
  6. added
    Weekly
    Help Wanted
    and removed
    Daily
    on Jul 19, 2023
  7. melvin-bot commented on Jul 19, 2023

    @melvin-bot

    Triggered auto assignment to @joekaufmanexpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

  8. 48 remaining items

  9. joekaufmanexpensify commented on Aug 10, 2023

    @joekaufmanexpensify
    Contributor

    Not overdue. Payment due next week!

  10. abdulrahuman5196 commented on Aug 12, 2023

    @abdulrahuman5196
    Contributor

    No BZ checklist, since this is a migration feature request.

  11. joekaufmanexpensify commented on Aug 18, 2023

    @joekaufmanexpensify
    Contributor

    Okay, all set to issue payment here. Based on the guidelines for payment, this one would qualify for 50% speed penalty, since it took more than 9 business days to merge (11 specifically). This means we need to pay:

    LMK if you have any questions on this, and if not, I'll issue payment on Monday!

  12. neonbhai commented on Aug 20, 2023

    @neonbhai
    Contributor

    Hi @joekaufmanexpensify just wanted to say that the PR started reviewing about 3 days after raising the PR as I'm presuming @abdulrahuman5196 sir could not give enough time. As this was my first feature contribution, and since the migration is on the backend and the check could be running on every user signin, me and @abdulrahuman5196 tried to perfect and minimize the PR code. I hope the penalty can be forgiven 🙇

  13. joekaufmanexpensify commented on Aug 21, 2023

    @joekaufmanexpensify
    Contributor

    @neonbhai Thanks for the context! The purpose of the speed bonus/penalty is to incentivize the contributor and C+ to collaborate to get the PR merged quickly. It doesn't look like there were any internal delays here, so we'd still need to apply the penalty.

    But this doesn't impact your ability to contribute to future issues, or anything like that! LMK if you have any other questions.

  14. neonbhai commented on Aug 21, 2023

    @neonbhai
    Contributor

    @joekaufmanexpensify okay, got it!

  15. joekaufmanexpensify commented on Aug 21, 2023

    @joekaufmanexpensify
    Contributor

    @neonbhai $500 sent and contract ended!

  16. joekaufmanexpensify commented on Aug 21, 2023

    @joekaufmanexpensify
    Contributor

    @abdulrahuman5196 I see you were hired twice on this Upwork job, but I'm not sure why. As an fyi, I'm going to pay you $500 on one of the contracts, and then close out the other one with no payment.

    LMK if you have any questions on this!

  17. joekaufmanexpensify commented on Aug 21, 2023

    @joekaufmanexpensify
    Contributor

    @abdulrahuman5196 $500 sent and first contract ended!

  18. joekaufmanexpensify commented on Aug 21, 2023

    @joekaufmanexpensify
    Contributor

    @abdulrahuman5196 second contract ended with no payment.

  19. joekaufmanexpensify commented on Aug 21, 2023

    @joekaufmanexpensify
    Contributor

    Upwork job closed.

  20. joekaufmanexpensify commented on Aug 21, 2023

    @joekaufmanexpensify
    Contributor

    Closing as this is all set. Thanks everyone!

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

Metadata

Metadata

Labels

Awaiting PaymentExternalNewFeatureWeekly

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions