I’ve been going through the process of migrating our sites over to a monorepo, and it has been difficult due to this particular bug. We are currently hosting our repo using bitbucket, and it seems when we land on the branch selection page there is a lot of network traffic to our bitbucket https://api.bitbucket.org/2.0/repositories/earlytrade/{repo-name-here}/refs/branches?pagelen=100&page=82.
and it seems to be incrementing through the pages infinitely.
This seems to be causing issues not allowing me to select the new branch and deploy correctly (it seems like it is timing out).
I’m not sure if it is a permissions because all of the repositories branches display fine in the drop down.
Hmm, could you tell me the site ID (you can find it on the general settings page and it is safe to share in public!) of the site you have this configured on which isn’t working well? I may have some advice but will need to examine your specific config for that site.
3. On the screen that you select your branch, you can see in the console there are many requests to the same endpoint with incrementing page numbers in the query. I believe this also causes issues where clicking Deploy Site caused a timeout.
@fool the deployment itself wasn’t timing out. I suspect the request isn’t even made due to the app processing the pagination requests.
After several hundred pagination calls been made (which isn’t hard to achieve when searching for the correct branch to deploy), clicking the Deploy Site button (seen in the last screenshot) would hang and show a timeout related message.
Hmm, if you can give me more details (exact error message/screenshot/URL), it would inform the bug report. As it stands, I couldn’t reproduce anything like that so didn’t include it in the report - but we’ll get the repo linking fixed up at least, since that was obvious!
I have also been unable to reproduce this in my testing repo, and it doesn’t currently affect any of our sites. If it shows up again I’ll report it in more detail.