Windmill

W

Windmill

Join the community to ask questions about Windmill and get answers from other members.

Join

help

general

changelog

Worker stuck in migration mode

Error: Migrating database: while executing migrations: error returned from database: cannot execute CREATE TABLE in a read-only transaction

Incorrect Run Time Estimation: Seeking Assistance to Correct a 4-Hour Miscalculation

One of my runs indicated that it took 14,831.792 seconds, which is approximately equal to 4 hours. However, in reality, it lasted about 1.5 hours. I'm here seeking support from someone who can verify what's incorrect with this estimation. Due to these calculations, I've exhausted all my computing resources and need to ensure their accuracy.

What is the best way to create a service user?

We have some nightly test code that will use Windmill as an API for various operations. We'd like to limit access to just the necessary API functions. For this we think we should use a group and grant the group access to the relevant folders. We're also planning to add a "service user". Since this requires a valid email address we'll either have to use a google groups address or something like developer+service@example.com. The other options seems to be to create webhook tokens for each function that the tests will call. This gives the tightest security, but it appears that the calls will authenticate as the admin user that created the tokens? Are there other options that we're missing?...

How to open a modal when selecting a row

Hello everyone, can you help me with: How can I make sure that when selecting a row a modal is displayed and brings the selected information?...
No description

Trouble committing file to GitHub but only in bun runtime

I'm trying to create a script to commit font files into my github repository. This is code that is migrated over from airplane.dev. Initially i created the code using the Deno runtime, this works but I want to use fontkit, which does not support the "import ... from ..." imports. So the following code WORKS: ```...

SQL results - disable default table view

Most often then not, when I do a query in psql, I want the results in JSON since its often easier to read them in the UI, but now they default to a table view. Is there any way to set the JSON view as default?...

Importing local dependencies like in in airplane (not from a private npm package)

We have been using airplane.dev, but are giving windmill a try since airplane is being sunset. In our airplane scripts we were able to import dependencies from our mono repo. In windmill it seems like to use our internal dependencies we'd have to publish them as private npm packages? Is this the case or is there some way to import them locally?...

GQL call requires SiteLocale as a string parameter but windmill infers its type as an object

I need to pass SiteLocale as a string but Windmill infers it as an object. I am unsure on how to override the custom UI for it. I am looking into JSON schemas but unsure how to edit it. Thanks.

GoClient - weird behavior of SetResource()

Salut, I created the following issue some weeks ago https://github.com/windmill-labs/windmill-go-client/issues/2 As I got no response, I want to ask if you guys saw it? It would be good if you could comment on that, as this would decide how I implement my flow/script. Thank you....

How to Incorporate MinIO with Windmill Docker Compose

Hi all, I am new to Windmill and docker in general, and I am trying to incorporate MiniO so I can do file uploads for images and other files, however, I cannot get this to work with the docker-compose provided by Windmill and the official docker-compose provided by MiniO here: https://hub.docker.com/r/bitnami/minio Attached is my docker-compose....

How to auto load/run runnable scripts on App load?

Currently, my runnable components look to be in a loading state unless I click on the refresh button manually. Any suggestions on what I maybe doing wrong or how to autoload things on page load?
No description

Triggering a script or flow from AgGrid Table column definition

Hello, I am trying to create a table with action buttons, and I would like to trigger flows on button click. While I realise it is possible to do through a regular fetch request calling the webhook of a flow, it gets quite inconvenient trying to forward input variables. Is there something I am missing, or is that the only way? Thank you!...

Has anyone used AWS Appsync with Windmill?

I’m just trying to setup a basic graphql script in Windmill and can’t seem to establish a connection with my API. This is my first time testing the native graphql option. I provide my URL and the header “x-api-key” but the test connection times out. Any guidance would be appreciated. Maybe I am missing something obvious ☺️...

SSH Tunneling for MySQL resources?

Is there a way to enable the mysql resource type to support ssh tunneling as part of the configuration? I have used another Windmill competitor that didn't mention SSH Tunneling in their docs or initially in their UI, but then I learned it just needed to be enabled through an environment setting.

Has anyone setup “export CSV” functionality from a Windmill application before? Any examples?

Trying to export some data from our database. Currently I run the script locally but keen to run it on Windmill.

is there a way to reset the superadmin user... we got locked out of our test instance

I tried adding a superuser using the app in the admins workflow and it ended up locking me out. Is there a way to reset?

Get the number of filtered rows when using AgGrid

I'm trying to get the number of filtered rows when using the AgGrid. I've found that this should be available as getAgGrid("myTable").api.getDisplayedRowCount(), but when using this in a templated text it does not update. The problem seems to be that the text component depends on myTable.selectedRows and myTable.result (I also print the total count and the selected count in the same text. But it has no dependency that makes it re-render when the filtering changes. Is there anything I can do to make it update on filter changes?...

No matching distribution found for execjs

I want to use PyExecJS, which refers to execjs, but I keep getting the error that the package cannot be found.

Encrypting inputs in webhooks

Hi team, really enjoying working in windmill , had a doubt with my use case, I want to create a webhook, the input is sensitive user data so I want it to be not available anywhere (logs, previous runs) after the flow is done, how can I implement this?