After upgrading to 13.1.x creating merge request shows "Checking ability to merge automatically…" for up to 10 minutes (or until refreshed)

Hi all,

Details of the issue can be found in:

I opened a community issue on issue tracker but I am not able to pinpoint the exact reason for this delay. There is nothing interesting in the logs that stand out, especially puma logs seems to be quite silent & normal. So now I am not even sure if it has something to do with Puma or something else.

Any clue how I can debug this further would be great!

Thanks in advance!