Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deal with race condition in merging PRs. #16

Merged
merged 1 commit into from
Dec 1, 2022
Merged

Deal with race condition in merging PRs. #16

merged 1 commit into from
Dec 1, 2022

Conversation

jlewi
Copy link
Owner

@jlewi jlewi commented Dec 1, 2022

There is a race condition because in between when we fetch the PR status and when we try to enable auto merge the PR might have become ready to merge and enabling auto merge will fail. In this case we should fall back to try to merge it directly.

There is a race condition because in between when we fetch the PR status
and when we try to enable auto merge the PR might have become ready to
merge and enabling auto merge will fail. In this case we should fall
back to try to merge it directly.
@jlewi jlewi enabled auto-merge (squash) December 1, 2022 19:57
@jlewi jlewi merged commit a2b233f into main Dec 1, 2022
@jlewi jlewi deleted the jlewi branch December 1, 2022 20:00
@jlewi jlewi mentioned this pull request Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant