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

Mergify not merging #138

Closed
eric-czech opened this issue Aug 24, 2020 · 8 comments
Closed

Mergify not merging #138

eric-czech opened this issue Aug 24, 2020 · 8 comments

Comments

@eric-czech
Copy link
Collaborator

Is it normal for mergify to take ~2 hours to try to merge a PR? This one seems stuck: https://github.com/pystatgen/sgkit/pull/114/checks?check_run_id=1021253465.

Do you typically wait these out @jeromekelleher or is it more likely that something has gone wrong?

@tomwhite
Copy link
Collaborator

Also not sure what happened here: https://github.com/pystatgen/sgkit/pull/136

@ravwojdyla
Copy link
Collaborator

ravwojdyla commented Aug 24, 2020

@tomwhite nothing weird happened in #136, see: https://github.com/pystatgen/sgkit/pull/136#issuecomment-679142094

@ravwojdyla
Copy link
Collaborator

@eric-czech FYI it looks like there is no merge queue information for #114 in the mergify dashboard: https://dashboard.mergify.io/installation/11295598/queues, so maybe it died midway 🤔 It doesn't seem like there is a lot of inspection available for what's going on inside mergify, we might need to fix this one manually, do you want me to do that @eric-czech ?

@eric-czech
Copy link
Collaborator Author

we might need to fix this one manually, do you want me to do that @eric-czech ?

If you know how @ravwojdyla that would be awesome. Mind documenting some general guidelines for that in case it happens again (perhaps just on this issue)? I don't even know where to begin.

@jeromekelleher
Copy link
Collaborator

I think there's an issue with branch protection rules in the repo:

Waiting for the Branch Protection to be validated
Branch Protection is enabled and is preventing Mergify to merge the pull request. Mergify will merge when branch protection settings validate the pull request. (detail: Merge commits are not allowed on this repository.)

We must have either changed the config or added new protection rules recently? I'm not sure why mergify would try to merge rather than rebase.

@ravwojdyla
Copy link
Collaborator

ravwojdyla commented Aug 24, 2020

@eric-czech @jeromekelleher 👍 I think that PR branch is a bit messy (master merged where it should be rebased), I think we have at least 2 options:

  1. squash merge manually right now
  2. submit PR to Timothy's repo or have Timothy clean it up

This repo has merge commit disable thus mergify can't do that, also I'm not sure why mergify would even attempt to try merge instead of the configured rebase (maybe it's a fallback method in case of rebase failure due to master merged into feature branch, which breaks the official git doc).

I think we should just squash merge this manually (less work) and ok result.

@jeromekelleher
Copy link
Collaborator

I think we should just squash merge this manually (less work) and ok result.

+1, that's the simplest thing to do, I think.

Seems like we do need to keep some rebasing disciple with PR branches all right.

@ravwojdyla
Copy link
Collaborator

Squash merged #114. Closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants