Merging is blocked - Missing successful active Preview deployment

Hi, i often get this message, although everything appears as successful. Any idea what do please?

My branch protection rules are as follows:

2 Likes

Hi, @zbycz!

A few things to try:

  • Check with the project’s configuration on GitHub, and take a look at the repo’s merge settings
  • You may need to update branch protection rules on GitHub to remove unneeded checks
  • Does this only happen to specific projects? Or all of them?
  • A good old-fashioned re-installation of the Vercel GitHub integration?
1 Like

Thanks, it happens only from time to time in one specific project. When I push another commit, it usually works.
Lets close it now, i will write if it happens again :slight_smile:

1 Like

Hi, this has happened to me again several times. Usually with a user pushing to a fork. I think it may be relevant by having an old “master” branch.

This particular PR is also having old base branch - but Github is showing Merging is blocked Missing successful active Preview deployment. and nothing about the branch. Could it be some Github bug?

https://github.com/zbycz/osmapp/pull/1110

I will leave to PR open for some time for possible investigation.

//edit somebody else is having the same issue

I am having the same issue again - possibly caused by old master branch. Pushing another commit usually fixes that, but it is very annoying.

1 Like

@pawlean :folded_hands: .. should i wait with the merging of that PR? Or it is not needed for debugging?

@anshumanb - could you perhaps look into that? :folded_hands: thanks

I left the PR still unmerged.

Hi @pavelzetradex, let me check what could be the issue.

Hi @zoan37, welcome to the Vercel Community!

Sorry for the late reply. Is it happening on all the PRs? Does it also happen on other GitHub repos as well? Can you share the latest PR where this happened?

@zbycz can you also answer these questions?

Thanks for looking into it.

This happens only very seldom - the PR general: Add Mapillary API key to .env by amenk · Pull Request #1110 · zbycz/osmapp · GitHub is the last one. If it happens and somebody pushes another commit, it is fixed.

I suspect, that it only happens when a non-contributor create a PR from their fork, and than the master branch gots some new commits. It happpens only on this repo (i dont have vercel anywhere else).

1 Like

Thanks for sharing additional information @pavelzetradex. The PR you shared seems to be working now, as you said.

Let me share your analysis with our team to see if this is a know issue or edge case.

Thanks @anshumanb - though not sure what you mean. The PR i shared above is broken exactly in the way described above. Maybe you meant the link is working? :slight_smile:

Oh, thanks for confirming. I got confused because I don’t see the merge button, only that the checks passed.

Good!

I think only maintainers see the Merge button. This is the screen I see (not that vercel passed, but “Meging is blocked” is right below):

1 Like

Hi @zbycz, thanks for sharing this.

I reached out to the team and I’ve got a question for you: Can you confirm if you’re using this rule in your repo settings/rules ?

Can you also share the expanded “additional settings”?

Thanks @anshumanb :+1:

My branches/master/rules settings:

Deployment to preview required:

And branch not required to be up-to-date:

1 Like

I’m having the same issue, any updates on a fix?

Hi @zbycz, we’re inspecting the issue. Is the repo in questions a monorepo?

@matanya can you share about your repository as well (see the previous posts for details)?

No, my repo is not a monorepo. Btw, the message on the PR changed - now it says there are merge conflicts. So i am going to resolve the PR.. it doesnt show anything useful now. Anyway, thanks for your help. :slightly_smiling_face: