Pull request reports that it is merged, but commit is lost when using squash merge

Issue #14194 closed
Brian Edwards staff created an issue

If two pull requests are merged at the same time using the squash option, then it is possible that they will be in a race where one will win and the other will lose but both will report that they merged correctly. The squashed merge commit for the loser is not attached to the main branch.

Comments (4)

  1. Jonathan Robson staff

    I've not been able to reproduce this despite trying for almost a week. I also can't figure out how it would even happen. I've also confirmed that this has only happened once ever on the repo where this was seen. So my theory is that this was some sort of one-time fluke.

  2. Log in to comment