chdsbd / kodiak

🔮 A bot to automatically update and merge GitHub PRs
https://kodiakhq.com
GNU Affero General Public License v3.0
1.03k stars 65 forks source link

kodiak closed a PR without reason? #752

Open staabm opened 2 years ago

staabm commented 2 years ago

in one of our url repositories we have a draft PR in which development is still ongoing. https://github.com/complex-gmbh/php-clx-symplify/pull/64

grafik

kodiak closed this PR, and I don't see a reason why this happend.

chdsbd commented 2 years ago

I wonder if Kodiak evaluated PR 58 and deleted the branch because it's the same name as used by that PR (clxmstaab-patch-2).

(edit: this shouldn't really happen because we do an API check for dependent PRs, but the GitHub API is kind of eventually consistent

https://github.com/chdsbd/kodiak/blob/9dce1bccf95b48afa552ec179477a47eaae7dc83/bot/kodiak/evaluation.py#L802-L803

)

One workaround could be to use GitHub's built in "delete branch on merge" setting.