Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
roryabraham opened this issue Jul 19, 2023 · 44 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item. Weekly KSv2

Comments

@roryabraham
Copy link
Contributor

roryabraham commented Jul 19, 2023

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
@roryabraham roryabraham added External Added to denote the issue can be worked on by a contributor Daily KSv2 NewFeature Something to build that is a new item. labels Jul 19, 2023
@roryabraham roryabraham self-assigned this Jul 19, 2023
@melvin-bot melvin-bot bot changed the title Create Onyx migration for previousReportActionID [$1000] Create Onyx migration for previousReportActionID Jul 19, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 19, 2023

Job added to Upwork: https://www.upwork.com/jobs/~01382a606158d56e43

@melvin-bot
Copy link

melvin-bot bot commented Jul 19, 2023

@melvin-bot melvin-bot bot added Weekly KSv2 Help Wanted Apply this label when an issue is open to proposals by contributors and removed Daily KSv2 labels Jul 19, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 19, 2023

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

@melvin-bot melvin-bot bot added the Daily KSv2 label Jul 19, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 19, 2023

Triggered auto assignment to Design team member for new feature review - @shawnborton (NewFeature)

@melvin-bot
Copy link

melvin-bot bot commented Jul 19, 2023

Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 (External)

@roryabraham
Copy link
Contributor Author

No UI changes so I unassigned @shawnborton, but didn't mean to unassign @abdulrahuman5196

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Jul 19, 2023
@melvin-bot

This comment was marked as outdated.

@roryabraham roryabraham added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jul 19, 2023
@roryabraham
Copy link
Contributor Author

Sorry for any confusion, @abdulrahuman5196 is the C+ for this issue

@neonbhai
Copy link
Contributor

Can contributors work on this feature? I am interested in working on this!

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Jul 24, 2023
@neonbhai
Copy link
Contributor

@roryabraham @abdulrahuman5196 The PR is ready for review!

@joekaufmanexpensify
Copy link
Contributor

PR still in review.

@melvin-bot
Copy link

melvin-bot bot commented Aug 8, 2023

Based on my calculations, the pull request did not get merged within 3 working days of assignment. Please, check out my computations here:

  • when @neonbhai got assigned: 2023-07-22 08:03:16 Z
  • when the PR got merged: 2023-08-08 19:09:21 UTC
  • days elapsed: 11

On to the next one 🚀

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Aug 10, 2023
@melvin-bot melvin-bot bot changed the title [$1000] Create Onyx migration for previousReportActionID [HOLD for payment 2023-08-17] [$1000] Create Onyx migration for previousReportActionID Aug 10, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 10, 2023

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

@melvin-bot melvin-bot bot added Overdue and removed Reviewing Has a PR in review labels Aug 10, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 10, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.52-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-08-17. 🎊

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:

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

@joekaufmanexpensify
Copy link
Contributor

Not overdue. Payment due next week!

@melvin-bot melvin-bot bot removed the Overdue label Aug 10, 2023
@abdulrahuman5196
Copy link
Contributor

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

@joekaufmanexpensify
Copy link
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!

@neonbhai
Copy link
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 🙇

@joekaufmanexpensify
Copy link
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.

@neonbhai
Copy link
Contributor

@joekaufmanexpensify okay, got it!

@joekaufmanexpensify
Copy link
Contributor

@neonbhai $500 sent and contract ended!

@joekaufmanexpensify
Copy link
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!

@joekaufmanexpensify
Copy link
Contributor

@abdulrahuman5196 $500 sent and first contract ended!

@joekaufmanexpensify
Copy link
Contributor

@abdulrahuman5196 second contract ended with no payment.

@joekaufmanexpensify
Copy link
Contributor

Upwork job closed.

@joekaufmanexpensify
Copy link
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
Labels
Awaiting Payment Auto-added when associated PR is deployed to production External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item. Weekly KSv2
Projects
Status: Done
Development

No branches or pull requests

7 participants