invakid404
Intermittent 401 errors on private NPM packages
We're seeing some 401 errors in our Bun scripts during bun install of the form:
These errors only happen occasionally, and I cannot seem to understand on what basis. My assumption would be that specific workers are having trouble installing it, but I am unsure how I would debug this at all.
We have Bunfig install scopes configured at the Instance level in Windmill, so my assumption would be that all workers should be able to install private packages. I've also tried clearing the cache multiple times, which I thought used to fix the issue, but I cannot confirm that, as the errors seem to just come back eventually.
I don't know how the bunfig install scopes are given to the workers, but it may be worth mentioning that we use autoscaling, so in my head it does make some sense that it could be some race condition in the worker initialization itself that is causing this. Again, I am not sure how to confirm or deny this, so I would appreciate any pointers on how to collect more information regarding this issue.
73 replies
Sporadic "Flow result by id in leaf jobs not found at name ..." errors
Sometimes, specifically when running multiple flows at once, some of them fail with errors like this one:
I don't think it's an issue in the flow itself, as the other runs succeed, but I can't seem to pinpoint the reason.
The error appears to be happening in
g
most often, which has an argument that is set to results.a
:
https://img.qilin-qilin.ts.net/2024-09-09_09-07-06_rkh7D.webp
If I look at the node status g
in a failed run, it says it has "No arguments":
https://img.qilin-qilin.ts.net/2024-09-09_09-08-28_F7OJF.webp
Any pointers?66 replies
What does `wmill sync push --stateful` do?
Basically the title. It's not mentioned in the CLI docs, so I'm not entirely sure what it's supposed to do.
My assumption is that it's supposed to disallow people from pushing without pulling first, but if that's the case, I'm unsure why
--skip-pull
is a separate flag.4 replies
Error while executing Bun script: missing sourcemaps
After updating to the latest Windmill Docker image, I started getting this error when running a specific Bun script:
I tried wiping everything under
/tmp/windmill/cache/bun
and /tmp/windmill/cache_nomount/bun{,tar}
and redeploying the script, but I still get the same error.17 replies
PHP scripts are slow to run
I have a relatively simple PHP script with a single Composer dependency as a part of a bigger flow that runs often, and its runtime dominates the entire flow, taking >0.6s to complete.
It appears that Windmill installs the dependency every time it runs, which would be my guess why it takes so long. Is there a way to make Windmill cache it?
14 replies