chromium tag code doesn't work suddenly.
The following code used to work fine, but at some point it started closing automatically whenever I open a new page. Can anyone help me with this? I'm using the cloud version and using the built-in chromium tags. Here's the code I used to check the behavior
error: Top-level await promise never resolved
I have a script using typescript deno that is querying a MongoDB atlas database. When either of the collection querying methods (.find or .findOne) take too long, windmill throws this error
...
error: Top-level await promise never resolved
await run();
^
at <anonymous> (file:///tmp/windmill/wk-default-e2b39e03fc37-DlTlU/01938d90-f94d-cd94-9e2a-95a351ab7870/wrapper.ts:29:5)
error: Top-level await promise never resolved
await run();
^
at <anonymous> (file:///tmp/windmill/wk-default-e2b39e03fc37-DlTlU/01938d90-f94d-cd94-9e2a-95a351ab7870/wrapper.ts:29:5)
Copy paste text from HTML component in App
We are heavily using the HTML component to render data in apps. Is there a way for users to copy paste the context of this component in a deployed app?
Log anonymous app usage
Hi all - we are sending some statistics to App Insights at the end of our flow. We use WM_EMAIL to log who runs a flow, but this is also filled out for flows triggered by an anonymous run app (aka a user is not logged into Windmill). Is there a way to log if a user is actually logged in, or not? Thanks!
crazy expensive for long time waiting query ?
I am using windmill for some background job but with AI queries, it is mostly waiting but I get charged something a bit insane in windmill
Any idea on how to fix this? since it won't be feasible to keep it that way for me....
is there a way to prefill forms? pass data to a form via URL params
use case is as follows, we got a form users get to after filling out their data in multiple steps
to send this data (connected through windmill) we need to ask some of that same data the user already filled in (prior steps)
the form is embedded in a site using an iframe...
can't make mobile styles work
https://app.windmill.dev/public/thrive-health-holdings/b88e89a044f118ea68466287cc973a09
how can I make it work on mobile?
this is the global CSS I've used so far:
```
#app-content {...
Folder Quikstart Quide?
I feel like this is a very common use case: You have a list of scripts in a directory and you want to be able to run them with different schedules.
In my case I have a python scripts folder with "requirements.txt" but I can't seem to figure out what the easiest way to deploy this is. Theres so many fancy features but getting something like this up and running just doesnt seem possible? I dont want to edit one script at a time. I'd rather have everything synced to git and then push once in a while. Folder push seems to expect a file???
How do I do this? I feel like what I want to do is not that unique....
InternalError: Sql error: error communicating with database
Heya, I'm facing an issue in scheduled flow runs where the database seems to be unavailable sometimes, which leads to the schedule getting deactivated. Any idea how I can prevent this?
Python pycache
We have quite big internal library, bootime for a worker is around 20sec. anything to improve?
Unable to build docker image
Hello all,
I'm trying to build the docker image from the docker file at
I'm constantly running into dependency build issues. Below is the error:
```error: could not compile idna (lib) due to 1 previous error
36.80 warning: build failed, waiting for other jobs to finish......
windmill/Dockerfile
windmill/Dockerfile
Unexpected Const Error
When running a typescript (bun) step I receive this error:
534 | const settled = results
error: Unexpected const
at input.tsx:534:3...
Question on worker memory usage
We have configured a worker group in our compose file with a hard limit of 1024M. However, we still see successful flow executions with a peek much larger - is this expected behavior? I suspect this is Docker deciding to not kill the process if it exceeds temporarily the memory limit, but that we should not rely on this behavior being predictable & instead scale up our worker limit to be a safe % above the peak we observe. Is that assumption correct or do we miss something in the way this works?
Execute a script for each flow run
Is there a way to run a specific script for each flow run? We would like to do things like custom logging, without having to update each & every individual flow.
For example, is it possible for the worker to have a "post flow run" hook for example that can be called?...
Worker caching weirdness
We are using a web KV store. For a specific key we have written three blobs of JSON - each write with a different number of array elements in this order (5, 8, and 16). We have a simple windmill typescript script that fetches the data and logs the number of array elements. When we run that script on the windmill deploy (self-hosted EE) the workers get a variety of responses from the fetch (sometimes 5, someimtes 8, sometimes 16). Its like windmill has cached the internal fetch results and is returning that instead of doing the actual fetch. Which seems weird to me - since its just running our script on a worker. However, if I run the exact same fetch on a cloud-hosted windmill, the script always gets 16 elements (which is all that instance has ever seen). Is WM doing something like this or have we just hit some weird distributed caching problem with the KV store we're using?
The fetch is simple:
let result = await fetch(url)...
How to differentiate between preview and production runs?
As the title says: how do I know inside of my script if it is running in preview or production mode?
I noticed that I might be able to use env variables for this (in the settings - runtime menu), and this works if you are just running the script standalone. But, when I wish to run a flow in preview mode, the scripts inside of the flow do not seem to realize they are running in preview mode, and the production environment variables are still used....
puppeteer is failed to start
I had a working browser automation script and from last week it's not working
so I created a new script using this guide https://www.windmill.dev/docs/advanced/browser_automation (bun puppteer version) and still it's not working
Auto scroll took 30929ms mem peak: 79.43MB
...
Custom url for public app
Hey, we are creating some public apps using windmill and would like to assign a custom url to these pages.
For example, I want a user to be able to browse to windmill.company.com/my_app and be shown my page, without them seeing a redirect to /public/foo/bar in their browser. This would make it way easier for them to bookmark stuff.
Is this possible through the caddy files? We couldn't get it to work....
Integrating an app in a custom React application
Is there a certain design concept we can follow (and is it technically supported) to integrate a Windmill app in a different (react) application, and pass along things like authorization cookies / information to render data in apps specific to the context of a user outside of Windmill? We are now using a combination of public & private apps, but want to explore the option for more fine-grained access control based on authentication information outside of the Windmill App context. Thanks!
Can't get custom React component to show up on screen
I've followed the guidelines here: https://www.windmill.dev/docs/apps/react_components
But the component which I'm supposed to start editing doesn't seem to load correctly on the browser. However, when I build it and upload it to windmill, it works flawlessly. Any help here is welcome! Thanks!
Attached is the error I get as of right now....