Few bugs with Worker Builds

- Failed builds cannot be deleted, so the "Your last build failed." warning forever stays pinned at the top of the Deployments page, even if you disconnect your git altogether... Very annoying - Since builds are still visible after disconnecting the git, opening one just triggers perpetual No build associated with that uuid was found for this account errors - The API token dropdown in the Build settings shows tokens that have been deleted: if you create a CI token and delete it, it will still show in the dropdown
16 Replies
Chaika
Chaikaβ€’2mo ago
Failed builds cannot be deleted, so the "Your last build failed." warning forever stays pinned at the top of the Deployments page, even if you disconnect your git altogether... Very annoying
As in, you did a successful one after and it didn't go away? I just tried that exact same thing and the banner went away instantly after the next one worked
dexter
dexterOPβ€’2mo ago
No, I didn't successfully build one because of other issues like the missing bun support, so I just disconnected the git to stick with wrangler for now But now I'm stuck with broken builds cluttering the UI Being able to delete them like with Pages deployments would be ideal
Chaika
Chaikaβ€’2mo ago
ahhhh ok so just edge cases with detaching from ci, I'll forward
dexter
dexterOPβ€’2mo ago
Also if you squash two commits, the build that was connected to one of the squashed commits will also just return the error No build associated with that uuid was found for this account
RVG|𝓡𝓸𝓻𝔂
also, it didn't even work for me, it said missing prod script using npm run prod even if I have it
No description
aniniflare
aniniflareβ€’2mo ago
Hey, I'm the PM for builds, these are amazing feedback thank you so much! 1. we will be bringing deleting builds to Workers Builds soon 2. this is a bug, will note this 3. this is a known issue, we are looking into fixing this ohh what do you mean by missing bun support? We do support bun in our build image. for this, can you provide more details? Did you merge two commits within a short time span? did it work for you when you put 'npx wrangler deploy' in the deploy command? would love to see your repo if you can provide.
RVG|𝓡𝓸𝓻𝔂
Didn't try, I want to use local wrangler version https://github.com/lorypelli/npkg
GitHub
GitHub - lorypelli/npkg
Contribute to lorypelli/npkg development by creating an account on GitHub.
RVG|𝓡𝓸𝓻𝔂
PM stands for?
dexter
dexterOPβ€’2mo ago
Hi, that's awesome to hear!
dexter
dexterOPβ€’2mo ago
No description
dexter
dexterOPβ€’2mo ago
maybe I'm missing something in my package.json?
RVG|𝓡𝓸𝓻𝔂
I use bun just for running things and pnpm for installing packages @dexter And what about deno instead? Ah, JS has too many things that do the same...
dexter
dexterOPβ€’2mo ago
can you show me an example of the "scrips" in package.json to correctly build and deploy with bun? plus the build and deploy command to use in the dashboard πŸ™ I switched to npm but I'm getting this undocumented error: ✘ [ERROR] Wrangler cannot validate that your Worker name matches what is expected by the build system. Please retry the build. the name in my wrangler.toml and in my dashboard if of course the same...
aniniflare
aniniflareβ€’2mo ago
Yes, this is a known issue. We will be fixing this error message, it's inaccurate. It's probably related to a stale API token. Try to create a new API Token and use that in builds. Let me know if that works.
dexter
dexterOPβ€’2mo ago
ok it worked with the new token, thank you! now i have so many broken tokens with the same name in the dropdown πŸ˜…
Maximo
Maximoβ€’2mo ago
hi @dexter , bun should work now!
Want results from more Discord servers?
Add your server