Commit Graph
295 Commits
Author SHA1 Message Date
Ruben Fiszel a48edf435f fix: handle pip requirements to git commits 2023-07-20 08:32:44 +02:00
Ruben Fiszel ff0048afab feat: add whitelist envs to passthrough the workers 2023-07-16 10:47:24 +02:00
72d0d8a7f5 chore(backend): upgrade sqlx to ^0.7 (#1865)
* DRAFT chore(backend): upgrade sqlx to ^0.7

related to:
* https://github.com/windmill-labs/windmill/pull/1858
* https://github.com/launchbadge/sqlx/issues/1163#issuecomment-1627685514

* (vol. 2) in 0.7, `Transaction` can no longer implement `Executor` directly

ref: https://github.com/launchbadge/sqlx/blob/afb6b1066e61f8e3875f530d96cfb5a299f13fda/examples/postgres/transaction/src/main.rs#L14-L17

notice that I'm temporarly using my custom patch
https://github.com/mrl5/sqlx/commit/16e4c9a8f380214ad61b1744d3e1f5fa866ffbcc
it's related to https://github.com/launchbadge/sqlx/issues/2611

* post git rebase chores

* use upstream fix from 0.7.1

* fix compile

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-07-15 14:06:20 +02:00
Ruben Fiszel 6c3a9ae62e exclude bun from global cache 2023-07-14 16:48:15 +02:00
Ruben Fiszel 04fc0290ed make unwrap resilient for global cache 2023-07-14 16:20:35 +02:00
Ruben Fiszel 51e1447ec7 use --copy-links 2023-07-14 16:13:12 +02:00
Ruben Fiszel da9c6340a2 fix: global cache now cache symlinks 2023-07-14 11:25:45 +02:00
Ruben Fiszel 70bc56a68b fix: fix REST job potential double execution 2023-07-14 10:51:42 +02:00
Ruben Fiszel 62bc962240 fix typo 2023-07-13 18:30:09 +02:00
Ruben Fiszel 39894bdfa8 fix tests 2023-07-13 17:57:55 +02:00
4f292419de feat: Front end for script concurrency limit (#1863)
* Front end for script concurrency limit

* Fix frontend

* sqlx prepare

* fix compile

* add flow inline scripts

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-07-13 17:32:08 +02:00
Ruben Fiszel da1d065014 fix forking workspace scripts on app incorrect path 2023-07-13 11:25:06 +02:00
Ruben Fiszel 3c6c6f421c trim docker image 2023-07-12 02:26:44 +02:00
Ruben Fiszel 1fc36c9b07 fix: improve bash flushing 2023-07-12 00:48:41 +02:00
Guillaume Bouvignies e2fb35a487 feat: Per script concurrency limit with time window (#1816)
* Add concurrency a per-script concurrency limit

* Add a per-script per time window concurrency limit

* Improve feature with a better estimation of the next schedule timestamp

* Add concurrency limits for inline scripts

* Fix tests

* run sqlx prepare

* Add requeue event to job logs
2023-07-11 23:35:26 +02:00
Ruben Fiszel a048e0d7e2 feat: add mysql as native integration (#1859) 2023-07-11 22:53:02 +02:00
Guillaume Bouvignies 96df8900cb Specific NOOP jobs benchmark (#1810)
* Refactor and fix NOOP benchmark

* Add endpoint to toggle workers on/off when compiled in benchmark mode

* Improve noop benchmark
2023-07-10 14:16:34 +02:00
Ruben Fiszel dc7a291410 handle date in postgresql 2023-07-10 00:59:23 +02:00
Ruben Fiszel 79bc1da5ea feat: add support for pg uuid 2023-07-08 00:50:20 +02:00
Ruben Fiszel 795ec836f1 fix pgsql early handle abort 2023-07-07 16:50:41 +02:00
Ruben Fiszel 783588f98d fix errors parsing for native jobs + add timestamp support for pg 2023-07-07 05:20:00 +02:00
Ruben Fiszel 157a7f76d5 use fs to fix EBAD issue with bun 2023-07-06 23:27:30 +02:00
Ruben Fiszel b45c3d1132 bun fixes 2023-07-06 22:29:00 +02:00
Ruben Fiszel 2921649c3c feat: bun support (#1800)
* feat: bun support

* feat: bun support

* add bun support

* add bun support

* add bun support

* add bun
2023-07-06 21:19:07 +02:00
Ruben Fiszel 5b7c7965e5 fix: fix go and py resolution cache overlap 2023-07-05 11:50:19 +02:00
Ruben Fiszel 4beba96724 select + drawer fix + explicit hash 2023-07-05 10:01:07 +02:00
Ruben Fiszel 54c6aed31c fix: fix go and python cache resolution conflict 2023-07-05 00:43:17 +02:00
Ruben Fiszel c669e9940b feat: native fetch + native postgresql jobs (#1796)
* push

* test

* test

* done

* fix

* modify script lang enum

* fix tests

* update wasm

* fix tests
2023-07-04 19:39:59 +02:00
Ruben Fiszel 8c566a2e46 feat: add configurable global error handler 2023-06-30 12:46:02 +02:00
Ruben Fiszel cfc7857e6c remove warnings 2023-06-29 12:42:09 +02:00
Ruben Fiszel 7851e932ec feat: smtp support to invite users (#1777)
* email support

* everyhting

* smtp

* update

* update

* update

* setup backend test
2023-06-29 10:34:44 +02:00
Ruben Fiszel 03da1f34f2 add proto postgresql backend support as a job language 2023-06-26 18:23:14 +02:00
Ruben Fiszel 5950368a7a implement native http handler as a tokio spawn 2023-06-26 11:07:42 +02:00
Ruben Fiszel 4763242780 feat: cancel non-yet-running jobs and rework force cancellation 2023-06-25 18:02:00 +02:00
Ruben Fiszel 3ea82adb6d minor worker_flow refactor 2023-06-23 16:38:21 +02:00
Ruben Fiszel 6813c383bc add proto native http, psql, graphql jobs in backend 2023-06-23 12:42:01 +02:00
Ruben Fiszel a98e146aed feat: resume and approvers available in iterator and branch expr 2023-06-22 12:34:20 +02:00
Ruben Fiszel 4c594c0e64 feat: step mocking for flows 2023-06-22 12:01:08 +02:00
Ruben Fiszel 82f20d3ef4 fix: correctly handle deeply nested results for out-of-order loops 2023-06-22 08:37:04 +02:00
Ruben Fiszel ac1a432bb9 feat: dev/staging/prod and deploy from web (#1733) 2023-06-17 13:57:04 +02:00
Ruben Fiszel ebb631190d fix: pip install repsect proxy settings 2023-06-10 22:02:21 +02:00
Ruben Fiszel b6a037aa04 fix: add NO_PROXY and make pip respect proxy args 2023-06-09 21:46:56 +02:00
Ruben Fiszel 67b3b0635b fix: add support for http_proxy and https_proxy 2023-06-09 19:14:02 +02:00
Ruben Fiszel 9cd73ab32b fix: be more specific about replacing nan in python deser 2023-06-09 08:40:58 +02:00
Ruben Fiszel 253fd91024 fix: empty flows not return their inputs 2023-06-06 11:09:17 +02:00
Ruben Fiszel 2943d26f0f fix backend compile 2023-06-06 11:01:49 +02:00
Ruben Fiszel 5bdf7171e6 migrate all jsonschema parser to wasms 2023-06-06 10:52:04 +02:00
Ruben Fiszel c702f40980 feat: migrate ts parser to wasm (#1686)
* migrate ts parser to wasm

* add wasm

* revert py
2023-06-06 09:44:38 +02:00
Ruben Fiszel 98e1fdd898 feat: support custom env variables (#1675)
* custom envs

* feat: custom envs

* only on non cloud

* remove unecessary imports
2023-06-05 17:42:57 +02:00
Ruben Fiszel 970a3c6dd3 add bigint serialization 2023-06-05 14:00:23 +02:00