BonnyCI / projman

A project management repository -- meta
0 stars 2 forks source link

Exception('Multiple pulls found with head sha %s' % sha) #127

Open jamielennox opened 7 years ago

jamielennox commented 7 years ago

This is an unusual situation, but apparently it happens. You can end up with the same sha in the top of multiple pulls and then zuul isn't happy.

gandelman-a commented 7 years ago

Yea.. I'm not sure how we are actually hitting this in production with our current workflows, but it's not too difficult to reproduce by simply creating two branches from the a single sha and proposing a PR from each.

Perhaps we can finagle a way to post an error comment back to the PR informing the user of the scenario and suggesting they clean things up?

ConsoleCatzirl commented 7 years ago

We can possibly handle this Exception by reporting to all found PRs that multiple PRs were found, preventing processing.