Builds Infinitely Queued With No Other Builds Running

Hey! I'm trying to build my worker right now but am running into an issue where my builds are running stuck at "Queued" because there are other builds running, however there are no other builds on my account so I'm kind of curious what's happening here and how I would fix it?
No description
24 Replies
SparkInChief
SparkInChief3w ago
Well, good news or bad, I joined this server a few minutes ago to discuss exactly the same issue. So, yay that maybe it's not me? And "oh crap" that there might be something wrong with builds?
SparkInChief
SparkInChief3w ago
In my case, I can cancel the later infinitely-queued build, but the earlier one that started this mess just won't cancel (even though it shows a status of "canceled" in the list.) Inside the build that just keeps going, the infinitely-repeated message is Build initialization failed: unable to verify Worker.
No description
No description
Walshy
Walshy3w ago
Hey, sorry for the issue. There was an incident our side which caused this: https://www.cloudflarestatus.com/incidents/bhsk2l01d5pm It should now be resolved.
haris
harisOP3w ago
perfect, thanks!
SparkInChief
SparkInChief3w ago
@Walshy I'm still having trouble with this. Any new build (either as a Retry Build of one that should have worked or a triggered build from git) goes into Queued status forever. The earlier stuck build in my build history—the one right after commit 289403b in the picture above—still says "Cancel Build" instead of "Retry Build" in the actions menu, no matter how many times I hit "Cancel Build". (Also, just as an aside, of course this would happen when I'm trying to deply a bug fix of my own 🤣 ! So ... the longer I'm stuck, the longer I can't fix bugs that I actually caused.)
Walshy
Walshy3w ago
what's your account id?
SparkInChief
SparkInChief3w ago
edd49a7e4fc7d14ce0985f1a3eee6bb6
Walshy
Walshy3w ago
Thanks, I've passed to the builds team
Maximo
Maximo3w ago
Hi @SparkInChief we're working on fixing this
SparkInChief
SparkInChief3w ago
Thanks so much, @Maximo ! Workers is a great product and I appreciate your work on it—being able to trigger builds is amazing. To test while you're looking at things, I confirmed that new builds also get infinitely queued for other workers in my account that didn't have a bad build during the incident.
Maximo
Maximo3w ago
Hey @SparkInChief , could you check in to see if your builds are fixed now?
SparkInChief
SparkInChief3w ago
Very nicely done. Both show completed.
Maximo
Maximo3w ago
Awesome, thank you :) Sorry for the headache!
SparkInChief
SparkInChief3w ago
No worries, when you're that fast about fixing things you get a MAJOR pass on headaches.
Skam
Skam3w ago
hi, is this still an issue? i seem to be having the same problem today and wondering if it's on my end, maybe i have a configuration issue?
Maximo
Maximo3w ago
Hey @Skam, can you provide your account id?
Skam
Skam3w ago
hi @Maximo sorry I was in work, just saw your message. i'll find that id now found it 5ab32037881b672950a7fcd98148ddc9
Maximo
Maximo3w ago
Hmm, don't see any builds under that account, could you share the build id instead? When you're viewing your build logs, it should appear in your address bar like this /production/builds/<build_id>
Skam
Skam3w ago
of course, it's 7d6c5aab-b964-4111-a01f-3f66419f270b i just retried the build about 5 mins ago, the one from last night timed out. this one is still running
Maximo
Maximo3w ago
Ahh I see, it seems like your builds are timing out after the npm install step. Is that what you also see in your build logs?
Skam
Skam3w ago
it is! it runs for around 20 minutes then fails and times out
Maximo
Maximo3w ago
We're working on some improvements here, for now could you try using a different package manager like pnpm and see if that improves things for you? I'm curious to see if it makes a difference, does this project have a lot of dependencies?
Skam
Skam3w ago
i'll give it a try and will come back with an update! may take a while as i'm not very experienced with node/npm/etc it does have a decent amount of dependencies, around 61 from what i can tell the project itself is called quartz (https://github.com/jackyzha0/quartz)
Maximo
Maximo3w ago
thank you for sharing! yes, do let me know if pnpm helps!

Did you find this page helpful?