Daan
Daan
WWindmill
Created by Daan on 2/14/2025 in #help
Running Github hosted code in our flows
We are trying to find the "Windmill way" of running the latest version of a python tool we develop outside of Windmill in our flows. We found 2 ways but want to understand what the "WIndmill way" is: one way is to rebuild a worker with the latest version on each merge (including a virtual environment in the worker that has all requirements.txt installed). A second option is to "git pull" & activate (basically all the same steps we can do in the worker build process) at the start of our workflow so the worker instance has the latest code available "at runtime" (this feels very unpreferred & hacky). Is the first option the recomendded way (aka rebuild workers with the latest version of our source code / tools in it on each change) or is there a better way? Thanks!
12 replies
WWindmill
Created by Daan on 12/12/2024 in #help
Get list of avavailable workers not running jobs
Hi all! We are integrating https://app.windmill.dev/openapi.html#tag/worker/GET/workers/is_default_tags_per_workspace in our flow to check if a worker is available or not (to report in an app). We see things like occupancy , occupancy last X seconds / minutes, etc. but what is the most reliable way to know if a worker is available right now? Thanks!
8 replies
WWindmill
Created by Daan on 12/10/2024 in #help
Question on scaling strategy in Docker
We have defined a set of worker groups (small / med / large) in our compose file, in line with our license, with a certain memory cap. We are running into issues though where sometimes, processes are killed due to excessive memory use, while sufficient memory is still available on the system. We see a big reduction in complexity & better use of resources if we could just set a total memory pool to docker / windmill (e.g. 8GB) & then define a single worker group which can then be used for all jobs - from small to large, up to a total memory use across all owrkers of 8GB, (as example), in line with our EE license. Is this flexibility possible?
7 replies
WWindmill
Created by Daan on 12/3/2024 in #help
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?
2 replies
WWindmill
Created by Daan on 12/3/2024 in #help
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!
2 replies
WWindmill
Created by Daan on 11/28/2024 in #help
Question on worker memory usage
No description
3 replies
WWindmill
Created by Daan on 11/28/2024 in #help
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?
4 replies
WWindmill
Created by Daan on 11/26/2024 in #help
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!
3 replies
WWindmill
Created by Daan on 11/25/2024 in #help
Access name of uploaded file (base64)
No description
1 replies
WWindmill
Created by Daan on 11/20/2024 in #help
Bug? Attached runnable to button but shows empty in UI (for 1 specific table & button)
No description
8 replies
WWindmill
Created by Daan on 11/19/2024 in #help
Get overview of running jobs for specific flow in App
I'm wondering if this is possible - can we show the status of a flow's execution in an App ? I didn't find a way to do this. Basically, a list of running jobs for a specific flow.
2 replies
WWindmill
Created by Daan on 11/19/2024 in #help
File input component & component re-rendering in app
No description
5 replies
WWindmill
Created by Daan on 11/19/2024 in #help
Stream file to browser from table action
No description
4 replies
WWindmill
Created by Daan on 11/18/2024 in #help
Trial warning on AgGrid component in app
No description
9 replies
WWindmill
Created by Daan on 11/15/2024 in #help
Dynamically fill form enum values
No description
1 replies
WWindmill
Created by Daan on 11/15/2024 in #help
Offer S3 files for dowload in apps
We have an app where a user clicks a button, and a file is generated in a flow. We are stuck at how to now offer this file for download to the user: in our flow, we return an S3 Object which we can interactively "click" to download the generated file, but how to do this in apps? Thanks
5 replies