App icon indicating copy to clipboard operation
App copied to clipboard

Merge conflicts in CP PRs are not handled well

Open roryabraham opened this issue 5 years ago β€’ 10 comments

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Action Performed:

  1. Create a PR with changes in a given file.
  2. Give the PR the CP Staging label.
  3. Merge the PR.
  4. Create another PR with changes in the same file (to ensure that there will be conflicts on staging).
  5. Give the PR the CP Staging label.
  6. Merge the PR.
  7. The CP PR created for the second PR will be created but not automerged, due to conflicts.

Expected Result:

  1. The CP PR should be auto-assigned to the author of the original (second) PR.
  2. PR checks (lint, test, etc...) should run on the CP PR.

Actual Result:

  1. The PR was not auto-assigned.
  2. PR checks did not run on the CP PR, even after manually pushing new code to the PR.

Workaround:

n/a

Platform:

GitHub only

Version Number: 1.0.77-2

View all open jobs on Upwork

roryabraham avatar Jul 14 '21 16:07 roryabraham

Will work on this next week

HorusGoul avatar Jul 23 '21 08:07 HorusGoul

I haven't been able to work on this. I'll return this to the pool as I'm going to be OOO for a few days. I'll gladly pick it after that again as I'll have less workload.

HorusGoul avatar Aug 02 '21 08:08 HorusGoul

It's still free so I'll pick it again πŸ˜„

HorusGoul avatar Aug 11 '21 11:08 HorusGoul

I've been looking through the marketplace of actions to see if there was one to assign people to PRs. All I've found is related to self-assigning when a user creates a PR. Unless someone knows an action to assign someone to a PR, I'll take a look at the API tomorrow, it's probably easier to build our own, and we already have everything set up for that.

HorusGoul avatar Aug 11 '21 15:08 HorusGoul

Not against using the API directly, but this looks like it would do it: https://github.com/marketplace/actions/actions-ecosystem-action-add-assignees

AndrewGable avatar Aug 11 '21 16:08 AndrewGable

We use other actions-ecosystem actions and they seem to be pretty good. The maintainer is responsive and has merged a couple of my PRs.

roryabraham avatar Aug 11 '21 20:08 roryabraham

Oh! That looks to be the one, great πŸ˜„

HorusGoul avatar Aug 12 '21 09:08 HorusGoul

I'm not sure about this PR checks (lint, test, etc...) should run on the CP PR.. I think there's no way to trigger the PR checks from a GitHub Action. More info: https://github.community/t/manually-triggering-checks-for-a-pr/134054

HorusGoul avatar Aug 12 '21 10:08 HorusGoul

πŸš€ Deployed to staging by @pecanoro in version: 1.0.92-6 πŸš€

platform result
πŸ€– android πŸ€– success βœ…
πŸ–₯ desktop πŸ–₯ success βœ…
🍎 iOS 🍎 failure ❌
πŸ•Έ web πŸ•Έ success βœ…

botify avatar Sep 03 '21 11:09 botify

πŸš€ Deployed to production by @roryabraham in version: 1.0.93-1 πŸš€

platform result
πŸ€– android πŸ€– success βœ…
πŸ–₯ desktop πŸ–₯ success βœ…
🍎 iOS 🍎 success βœ…
πŸ•Έ web πŸ•Έ success βœ…

botify avatar Sep 04 '21 00:09 botify