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 dropdown16 Replies
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 annoyingAs 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
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
ahhhh ok so just edge cases with detaching from ci, I'll forward
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
also, it didn't even work for me, it said missing
prod
script using npm run prod
even if I have itHey, 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.
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.
PM stands for?
Hi, that's awesome to hear!
maybe I'm missing something in my package.json?
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...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...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.
ok it worked with the new token, thank you! now i have so many broken tokens with the same name in the dropdown π
hi @dexter , bun should work now!