Pages Deploys Get Permanently Stuck in a "Queued" State

For months, we've been having an issue where pages deploys get permanently stuck in the "Queued" state. There seems to be a cap of 3 builds on the number of concurrent builds that can be running. If there are already 3 builds running, new builds enter the "Queued" state (as expected). However, the queueing mechanism seems completely broken, and I've never seen a build actually exit the queued state. Has anyone else encountered this issue? We're hoping to switch to cloudflare pages for our production servers, and this is something of a blocker. (I've tried deleting all of our deployments, but that didn't help.) Thanks! Account ID: f1dbe97421dbe1f3d0000e74d2ace970 Example Stuck Deployment ID: https://dash.cloudflare.com/f1dbe97421dbe1f3d0000e74d2ace970/pages/view/remnote-new/5bde14b0-f22f-4201-9342-6d4ccde75030 Domain: https://remnote-new.pages.dev/
No description
18 Replies
Vero
Veroโ€ข5mo ago
Hey. Looks like your builds are running fine now, can you confirm?
remnote_martin
remnote_martinโ€ข5mo ago
@Vero ๐Ÿ™ Thank you for the reply! Unfortunately not; you can see that there's successful builds, then a chunk of stuck "Queued" builds, then new "successful" builds. (This is because > 3 deploys got triggered at once here I think.) So this is still an issue.
No description
remnote_martin
remnote_martinโ€ข5mo ago
Even the main production build gets stuck, so we have to micro-manage all of the deploys ๐Ÿ˜…
No description
Vero
Veroโ€ข5mo ago
Hey, I'm escalating this internally for the team to check
remnote_martin
remnote_martinโ€ข5mo ago
@Vero ๐Ÿ™ Appreciate it!
Vero
Veroโ€ข5mo ago
Quick update: the team investigated this and found out there's a query that is taking too long, resulting in a timeout. Now they are discussing different approaches to fix this This is now awaiting release Hey @remnote_martin the fix has been released, could you please check if the issue persists?
remnote_martin
remnote_martinโ€ข4mo ago
@Vero ๐Ÿ™ Appreciate the follow-up! Unfortunately, the issue remains the same: Is there some other info I can provide on my end?
No description
Vero
Veroโ€ข4mo ago
I passed this to the team again yesterday, they're investigating
remnote_martin
remnote_martinโ€ข4mo ago
(No luck yet, just an FYI)
Vero
Veroโ€ข4mo ago
ok, no updates yet
remnote_martin
remnote_martinโ€ข4mo ago
(Still an issue here. Thanks! (Sorry to nag - this does mean most of our deploys get permanently stuck still though.))
Vero
Veroโ€ข4mo ago
Hey I'm pinging the team again Now an engineer is looking into it
Vero
Veroโ€ข3mo ago
Hey @remnote_martin sorry for the delay, just got a solution from the team. The problem is that you have over 3,000 queued builds, so it's not that your builds get stuck, it's just that we're working through a very large backlog. The solution will be to delete old "stuck" deployments. An engineer modified the script found here https://developers.cloudflare.com/pages/platform/known-issues/#delete-a-project-with-a-high-number-of-deployments and adapted it to specifically delete the queued deployments in your backlog. So you'll have to download the file I've DM'd you and follow the directions in the readme
Cloudflare Docs
Known issues ยท Cloudflare Pages docs
Here are some known bugs and issues with Cloudflare Pages:
remnote_martin
remnote_martinโ€ข3mo ago
Greatly appreciate the follow-up! I'm doubtful that this is the issue - I've tried that script to delete all of the old deployments already, and that didn't help. I'll try again though, and follow-up.
remnote_martin
remnote_martinโ€ข3mo ago
Hi - this unfortunately didn't work. I deleted all old deployments and only have 135 now, but you can still see this new run gets stuck: https://dash.cloudflare.com/f1dbe97421dbe1f3d0000e74d2ace970/pages/view/remnote-new/f077cbf4-1330-4ea4-89d0-21ed37050605
No description
Vero
Veroโ€ข3mo ago
We've identified the issue and have a fix in review The fix has been released. Can you confirm this is fixed? @remnote_martin
remnote_martin
remnote_martinโ€ข3mo ago
This is working great now, thanks! It's made our workflow a lot easier. Please send my thanks to the team, if possible
Vero
Veroโ€ข3mo ago
perfect, thanks ๐Ÿ™‚