marko
marko
Explore posts from servers
WWindmill
Created by marko on 7/24/2024 in #help
Bun cache missing windmill-client
One of my flows started suddenly failing with the following error:
job=0190e46d-49f3-598f-e238-e13b0d595088 tag=bun worker=wk-default-eb4f47c94407-YMYN2 hostname=eb4f47c94407

skipping install, using cached buntar based on lockfile hash: xb6AgX-a-bSr6dsMtfSbyDy0oxGu0XSg7uiNtNx4HTs=

--- BUN CODE EXECUTION ---

error: Cannot find package "windmill-client" from "/tmp/windmill/wk-default-eb4f47c94407-YMYN2/0190e46d-49f3-598f-e238-e13b0d595088/main.ts"
Bun v1.1.18 (Linux x64 baseline)
job=0190e46d-49f3-598f-e238-e13b0d595088 tag=bun worker=wk-default-eb4f47c94407-YMYN2 hostname=eb4f47c94407

skipping install, using cached buntar based on lockfile hash: xb6AgX-a-bSr6dsMtfSbyDy0oxGu0XSg7uiNtNx4HTs=

--- BUN CODE EXECUTION ---

error: Cannot find package "windmill-client" from "/tmp/windmill/wk-default-eb4f47c94407-YMYN2/0190e46d-49f3-598f-e238-e13b0d595088/main.ts"
Bun v1.1.18 (Linux x64 baseline)
If I test the node, it works fine. It only fails when I run the deployed flow. It looks like it's just a caching issue, but I can't find any functionality in Windmill that would allow me to wipe the build cache. I did try to create a whole new node where I copy/pasted the code, but the problem persists. Any ideas?
63 replies
WWindmill
Created by marko on 5/4/2024 in #help
Self-hosted pricing details
I was looking at the pricing page but I'm a little confused about the info there. For example, I have self-hosted selected, yet both Pro and Enterprise has vCPU and seats sliders and says "~52M executions of 100ms per month". Does this mean that you are charging based on the server specs we are self-hosting Windmill on?
21 replies
CDCloudflare Developers
Created by marko on 10/25/2023 in #workers-help
AbortController causes nested promises to reject
I'm using abortController with fetch and whenever I use it, I get a set of A promise rejection was handled asynchronously errors. The code is standard typescript with nested await/async functions, and it looks like that for some reason abort causes all pending awaits to reject. I have never seen anything like this before and I have tried adding catches, try/catch, etc. but nothing seems to work. Has anybody had similar experiences with AbortController and workers?
1 replies