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-09-20] [HOLD for payment 2023-09-18] Manually CPed App PR did not update the checklist #21763

Closed
thienlnam opened this issue Jun 27, 2023 · 18 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Engineering Weekly KSv2

Comments

@thienlnam
Copy link
Contributor

We CPed this App PR manually #21601

It was successful, and created a new version #21601 (comment)

However, the checklist #21650 did not update the version or include the blocker

This is bad as it doesn't notify us of the CP and applause does not test the new feature or version

@roryabraham
Copy link
Contributor

Thanks for creating the issue @thienlnam

@roryabraham
Copy link
Contributor

I think I'm going to make this a weekly / probably not work on it until I'm back from OOO next Thursday

@roryabraham roryabraham added Weekly KSv2 and removed Daily KSv2 labels Jun 29, 2023
@melvin-bot melvin-bot bot added the Overdue label Jul 10, 2023
@roryabraham
Copy link
Contributor

No update. #21651 will be merged soon and then I'll put up a predesign for the next deploy improvements we want to make

@melvin-bot melvin-bot bot removed the Overdue label Jul 10, 2023
@melvin-bot melvin-bot bot added the Overdue label Jul 19, 2023
@roryabraham
Copy link
Contributor

No update

@melvin-bot melvin-bot bot removed the Overdue label Jul 20, 2023
@melvin-bot melvin-bot bot added the Overdue label Jul 28, 2023
@roryabraham
Copy link
Contributor

roryabraham commented Jul 31, 2023

@melvin-bot melvin-bot bot removed the Overdue label Jul 31, 2023
@roryabraham
Copy link
Contributor

I verified that this does not appear to be an issue with a lack of complete history by:

  • Locally running git pull to get updated (full) history for the repo
  • Ran node ./tests/utils/getPullRequestsMergedBetween.mjs '1.3.46-0' '1.3.47-0'
  • Opened a node REPL and:

@roryabraham
Copy link
Contributor

Ok, this problem is actually also causing CP'd PRs to appear again on the next checklist too:

@roryabraham
Copy link
Contributor

roryabraham commented Jul 31, 2023

One of the broken lines we have is here. Since we no longer (always) do a PR for cherry-picks, looking for that merge commit won't work reliably. That explains the bad deploy comment

Another couple potentially bad lines are:

@roryabraham
Copy link
Contributor

So we should fix all those. We currently pass the -x flag to all our git cherry-pick commands which appends (cherry-picked from HASH) to the CP commit messages. So we should be able to match against that instead of Merge pull request #(\d+) from (?!Expensify\/.*-cherry-pick-staging).

All that said, the root cause here is that we update the deploy checklist in preDeploy.yml here, and that line's not getting hit in the cherryPick.yml workflow at all.

We currently to run that job in a few cases:

  • After updating staging in the finishReleaseCycle.yml workflow.
  • After a PR is merged + deployed (kind of an edge case because it only happens when the checklist is unlocked)
  • When a deploy blocker is created

I think we could update it to run whenever:

  • A staging deploy (of any kind) completes
  • When a deploy blocker is created

and that would address the root cause here

@roryabraham
Copy link
Contributor

Asked for a volunteer to take this over: https://expensify.slack.com/archives/C056AV5V8UX/p1690914225012259

@roryabraham
Copy link
Contributor

Prioritizing comment linking, will follow-up with this after I get that ready

@roryabraham
Copy link
Contributor

roryabraham commented Aug 30, 2023

My solution to this got a bit big + unruly, so I'm going to break it up into a few incremental PRs that should be easier to review.

First incremental PR is ready for review here: #26297

@roryabraham
Copy link
Contributor

Part 2 ready for review: #26301


I'll stop there for now until those parts are reviewed + merged.

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Aug 30, 2023
@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Aug 31, 2023
@roryabraham
Copy link
Contributor

With #26295, this should now be fixed

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Sep 11, 2023
@melvin-bot melvin-bot bot changed the title Manually CPed App PR did not update the checklist [HOLD for payment 2023-09-18] Manually CPed App PR did not update the checklist Sep 11, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Sep 11, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 11, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Sep 11, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.67-3 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-09-18. 🎊

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

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Weekly KSv2 labels Sep 12, 2023
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2023-09-18] Manually CPed App PR did not update the checklist [HOLD for payment 2023-09-20] [HOLD for payment 2023-09-18] Manually CPed App PR did not update the checklist Sep 13, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Sep 13, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 13, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Sep 13, 2023

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

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

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 Engineering Weekly KSv2
Projects
None yet
Development

No branches or pull requests

2 participants