Workers Builds! 🙌 can't seem to get Bun
Workers Builds! 🙌 can't seem to get Bun working though... even tried setting BUN_VERSION build env var, tried .tools-versions. Anyone get this working? Also a retry button on failed builds would be very helpful!

16 Replies
Hey @ryan0x44, bun should work now! Would you be able to try again, and let me know if you're still running in to any issues?
so my build has been running for more than 8 minutes and no end in sight. going to cancel it, because it should compelete in less than 1 minute.
same thing happened again. very frustrating.
build
ab8c3a49-2eac-4088-b297-44c8141facb4
@Maximo any updates? Just tried again, still not working /bin/sh: 1: bun: not found even after setting BUN_VERSION env var on the build.Hey @ryan0x44 , we're working on a fix for bun that should be ready to go tomorrow
Hi @ryan0x44 , this should now be resolved!
well, now that there's a retry button, certainly makes it a bit easier to test! unfortunately, still hanging
build
5412b910-875e-4c41-ab8c-169162e1bdb5
interesting, after 2m35s i have something!
very odd that it took 2m15s for deps to install
ok second time around it installed deps in 4 seconds
and good news - it worked!
would be nice if it didn't stop showing output at bun install v1.1.28 while it's working in the background.
one of my other projects got stuck on wrangler deploy
i cancelled after 9 minutes, retrying
again stuck at bun run wrangler -e production deploy
build 7cdb4d33-cbeb-4849-a8aa-7e35edf1f732
very frustrating that the console in the UI doesn't seem to show live log output, feels like it's being truncated so i don't know what's actually hangingThanks for sharing the logs, glad that you had success with
5412b910-875e-4c41-ab8c-169162e1bdb5! will be taking a closer look at why the logs look truncated for 7cdb4d33-cbeb-4849-a8aa-7e35edf1f732any idea why @Maximo ? after ~19 mins it just said " Build was timed out"
retry and now it's stuck at
after 2m51s it finished the build, now it's attempting to deploy
maybe worth noting this project runs in a subdir unlike the other which worked totally fine
also not sure if there's a thing with auth tokens because it's the second project within the same account?
7m still stuck
build
600073b5-865e-440b-ad60-03da3f3e1a9aThanks @ryan0x44 we're currently investigating why some builds are getting stuck and timed out
Will let you know when we've got a fix
retried the build today, still stuck after 12 minutes, any updates for me @Maximo ? 🙏
Not yet, we do have a few fixes that we plan to roll out sometime next week which may help with some of these timeouts
any updates @Maximo ?
Thanks for your patience @ryan0x44, we're still working on it and have a couple more fixes that we're rolling out soon. I'm hoping that we'll start observing less timeouts over the next coming weeks
will keep you updated as promised!
i've finished switching my Pages projects to Workers so i'm ready to go once the new build system works 😛
hey @Maximo any updates?
Hey @Ryan Djurovich both of those changes are rolled out now, so theoretically you shouldn't be having any more issues, please let me know if you do!
wow, first project i tried it with, built and deployed in 55 seconds!
@Maximo it seems build 02a1d663-9e4b-44ab-8345-9a5aeafcb7e4 is hanging
this is after "Success! Uploaded 8 files"
now my builds just get stuck as Queued
i think the original build got stuck because i had just enabled smart placement and apparently that doesn't work when you have 'assets' enabled (using Remix as a Worker for example)
We have another fix in the works for builds that are getting terminated abruptly
Is your build still queued?
no longer queued 🙂