Greyed merge button in pull request of a package I maintain

Trying to merge a pull request in ddnet package by packit that updates the package. The merge button is grayed out and there is spinner that won’t stop spinning, but I expected it to eventually show green button that I can press. What can I do about it?

image

This used to work for me:

  1. Refresh the page or toggle the PR to draft and back to active.

  2. Disable “Allow rebase merging” in the repository settings if the issue is isolated to this repo.

  3. Verify status checks are complete and approvals are still valid.

  4. As a last resort, close and reopen the pull request to force a fresh merge check.

That usually helped, and 1 other time I had to get help, but I’m not sure for you though I’m new-ish to Fedora Packing.

This is a known GitHub bug (still open as of 2026) where the mergeability check hangs indefinitely on certain repositories. The spinner is GitHub’s background service trying to compute whether the branch can be merged, and it never resolves. It’s not specific to packit — it hits particular repos, often triggered by:

  • The “Allow rebase merging” option being enabled in repo settings (confirmed fix by multiple users in GitHub Community Discussion #166853)

  • Large diffs or many commits on the PR branch

  • Complex branch protection rules

  • Stale mergeability state after a force-push or branch rewrite

image

Looks fine here (I’m a proven packager, so I should be able to merge).

Did you refresh, perhaps it was just blocked then due to some background tasks?

Yep same here.

But I shouldn’t be able to.

Well, now I tried again and it just works :person_shrugging:. Thank you folks for sharing your suggestions and experiences.