invakid404
invakid404
WWindmill
Created by invakid404 on 9/9/2024 in #help
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:
InternalErr: Error during isolated evaluation of expression `results.a`:
Not found: Flow result by id in leaf jobs not found at name 0191c7b0-0567-020f-02b5-872fbd9297a1, a
InternalErr: Error during isolated evaluation of expression `results.a`:
Not found: Flow result by id in leaf jobs not found at name 0191c7b0-0567-020f-02b5-872fbd9297a1, a
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
WWindmill
Created by invakid404 on 9/2/2024 in #help
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
WWindmill
Created by invakid404 on 8/12/2024 in #help
Slack error handler: Resource exists but you don't have access to it
When trying to send a test message for the Slack error handler, the run fails with the following error:
ExecutionErr: error during execution of the script:
Not found: Resource f/slack_bot/bot_token not found for `slack`: Not authorized: Resource exists but you don't have access to it:
resource perms: {}
folder perms: null
ExecutionErr: error during execution of the script:
Not found: Resource f/slack_bot/bot_token not found for `slack`: Not authorized: Resource exists but you don't have access to it:
resource perms: {}
folder perms: null
Any idea what could be going wrong?
32 replies
WWindmill
Created by invakid404 on 8/6/2024 in #help
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:
ExecutionErr: ExitCode: 1, last log lines:
m5
at /tmp/windmill/wk-default-e82d921f019408-gz0Ub/01912813-eac2-7505-9c68-52de62e903ee/main.js:26:48
at /tmp/windmill/wk-default-e82d921f019408-gz0Ub/01912813-eac2-7505-9c68-52de62e903ee/main.js:234731:17
note: missing sourcemaps for /tmp/windmill/wk-default-e82d921f019408-gz0Ub/01912813-eac2-7505-9c68-52de62e903ee/main.js
note: consider bundling with '--sourcemap' to get unminified traces

Bun v1.1.21 (Linux x64 baseline)
ExecutionErr: ExitCode: 1, last log lines:
m5
at /tmp/windmill/wk-default-e82d921f019408-gz0Ub/01912813-eac2-7505-9c68-52de62e903ee/main.js:26:48
at /tmp/windmill/wk-default-e82d921f019408-gz0Ub/01912813-eac2-7505-9c68-52de62e903ee/main.js:234731:17
note: missing sourcemaps for /tmp/windmill/wk-default-e82d921f019408-gz0Ub/01912813-eac2-7505-9c68-52de62e903ee/main.js
note: consider bundling with '--sourcemap' to get unminified traces

Bun v1.1.21 (Linux x64 baseline)
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
WWindmill
Created by invakid404 on 7/22/2024 in #help
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