App icon indicating copy to clipboard operation
App copied to clipboard

Ping ApplauseLeads when there's a Cherry Pick

Open isagoico opened this issue 5 years ago • 10 comments

For the past deploy checklists there has been some cherry pick PRs that need QA. When these are CPd to fix a deploy blocker there's no notification (for us at Applause) to test those PRs and verify if the fix was a pass or not.

It would be great and more effective if there's a notification tagging the Applause Leads when there's a CP that needs QA.

isagoico avatar Jul 24 '21 13:07 isagoico

How would we know if the CP needs QA or not? I can't think of an easy way to automate this really...

iwiznia avatar Jul 26 '21 11:07 iwiznia

Mmm if the CP is fixing a deploy blocker we should probably retest if the issue is not reproducible so it can be checked off the checklist. Also, I'm almost sure the CPs made recently included some QA steps, let me look for one.

isagoico avatar Jul 26 '21 12:07 isagoico

Triggered auto assignment to @thienlnam (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

MelvinBot avatar Jul 26 '21 15:07 MelvinBot

Here's an example of a CP that has QA https://github.com/Expensify/App/pull/4020

Also, forgot to tag you guys before :) Can you give a look at this proposal CC @roryabraham @AndrewGable

isagoico avatar Jul 26 '21 22:07 isagoico

Seems like we can just use the CP Staging tag that already exists to ping ApplauseLeads for when PRs get merged with this?

thienlnam avatar Jul 26 '21 22:07 thienlnam

Seems like we can just use the CP Staging tag that already exists to ping ApplauseLeads for when PRs get merged with this?

Not quite, because PRs can be manually CP'd after-the-fact in the event the author forgot to give the PR the CP Staging label when it was merged. Also, it's more useful to ping them once the CP is completed, rather than when the PR is merged.

So the solution for this should really be implemented in the markPullRequestsAsDeployed GH Action. You can see here is where we determine whether a deployed PR was CP'd or deployed normally. In the event it was CP'd, we could also tag @Expensify/applauseleads in the deploy comment.

roryabraham avatar Jul 26 '21 23:07 roryabraham

And to @iwiznia's point, we could skip tagging @Expensify/applauseleads if the PR title includes the string No QA (case insensitive). Worst case scenario, they are tagged and see that there are no QA steps for that PR, which should be NBD.

roryabraham avatar Jul 26 '21 23:07 roryabraham

Going to keep myself assigned to work on this internal issue and try to complete it later this week / early next

thienlnam avatar Aug 04 '21 21:08 thienlnam

Got a little sidetracked with Chronos stuff, but still working on this. I got some instructions on how to set up octokit form @roryabraham and need to play around with that to check some parameters

thienlnam avatar Aug 17 '21 17:08 thienlnam

🚀 Deployed to production by @roryabraham in version: 1.0.88-2 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 failure ❌
🕸 web 🕸 success ✅

botify avatar Aug 30 '21 17:08 botify