Commit Graph

307 Commits

Author SHA1 Message Date
Ruben Fiszel
3d9e5b335b fix: handle pip requirements to git commits 2023-07-20 08:32:44 +02:00
Ruben Fiszel
98fa6db9c1 feat: add whitelist envs to passthrough the workers 2023-07-16 10:47:24 +02:00
Jakub Kołodziejczak
223b80768a 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: afb6b1066e/examples/postgres/transaction/src/main.rs (L14-L17)

notice that I'm temporarly using my custom patch
16e4c9a8f3
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
2fcacd8b81 exclude bun from global cache 2023-07-14 16:48:15 +02:00
Ruben Fiszel
7035888844 make unwrap resilient for global cache 2023-07-14 16:20:35 +02:00
Ruben Fiszel
99dd4605be use --copy-links 2023-07-14 16:13:12 +02:00
Ruben Fiszel
387d56e2eb fix: global cache now cache symlinks 2023-07-14 11:25:45 +02:00
Ruben Fiszel
8b40001f2a fix: fix REST job potential double execution 2023-07-14 10:51:42 +02:00
Ruben Fiszel
4908661800 fix typo 2023-07-13 18:30:09 +02:00
Ruben Fiszel
80051fd4c2 fix tests 2023-07-13 17:57:55 +02:00
Guillaume Bouvignies
7856bf67e9 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
804317cf54 fix forking workspace scripts on app incorrect path 2023-07-13 11:25:06 +02:00
Ruben Fiszel
55661faf60 trim docker image 2023-07-12 02:26:44 +02:00
Ruben Fiszel
872379df53 fix: improve bash flushing 2023-07-12 00:48:41 +02:00
Guillaume Bouvignies
0327b85f89 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
b7c7d564ca feat: add mysql as native integration (#1859) 2023-07-11 22:53:02 +02:00
Guillaume Bouvignies
7f3c7ea9d1 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
989a8250b7 handle date in postgresql 2023-07-10 00:59:23 +02:00
Ruben Fiszel
201dcdaa0d feat: add support for pg uuid 2023-07-08 00:50:20 +02:00
Ruben Fiszel
38ec752f1f fix pgsql early handle abort 2023-07-07 16:50:41 +02:00
Ruben Fiszel
b24ad84787 fix errors parsing for native jobs + add timestamp support for pg 2023-07-07 05:20:00 +02:00
Ruben Fiszel
c72a2c246a use fs to fix EBAD issue with bun 2023-07-06 23:27:30 +02:00
Ruben Fiszel
79ea3fae66 bun fixes 2023-07-06 22:29:00 +02:00
Ruben Fiszel
4317f065f5 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
c21bef34ff fix: fix go and py resolution cache overlap 2023-07-05 11:50:19 +02:00
Ruben Fiszel
acd6a019c3 select + drawer fix + explicit hash 2023-07-05 10:01:07 +02:00
Ruben Fiszel
1d9be0c602 fix: fix go and python cache resolution conflict 2023-07-05 00:43:17 +02:00
Ruben Fiszel
41213a61aa 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
218ad892d7 feat: add configurable global error handler 2023-06-30 12:46:02 +02:00
Ruben Fiszel
81d62f9250 remove warnings 2023-06-29 12:42:09 +02:00
Ruben Fiszel
663e2148ac 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
01a5ae940f add proto postgresql backend support as a job language 2023-06-26 18:23:14 +02:00
Ruben Fiszel
8e59cd760a implement native http handler as a tokio spawn 2023-06-26 11:07:42 +02:00
Ruben Fiszel
6ddc434357 feat: cancel non-yet-running jobs and rework force cancellation 2023-06-25 18:02:00 +02:00
Ruben Fiszel
3027272873 minor worker_flow refactor 2023-06-23 16:38:21 +02:00
Ruben Fiszel
5cc75ac597 add proto native http, psql, graphql jobs in backend 2023-06-23 12:42:01 +02:00
Ruben Fiszel
760f699c94 feat: resume and approvers available in iterator and branch expr 2023-06-22 12:34:20 +02:00
Ruben Fiszel
734f75d493 feat: step mocking for flows 2023-06-22 12:01:08 +02:00
Ruben Fiszel
251de9b173 fix: correctly handle deeply nested results for out-of-order loops 2023-06-22 08:37:04 +02:00
Ruben Fiszel
183edb82a3 feat: dev/staging/prod and deploy from web (#1733) 2023-06-17 13:57:04 +02:00
Ruben Fiszel
0450b93b04 fix: pip install repsect proxy settings 2023-06-10 22:02:21 +02:00
Ruben Fiszel
3f04436e0e fix: add NO_PROXY and make pip respect proxy args 2023-06-09 21:46:56 +02:00
Ruben Fiszel
3d8c97c154 fix: add support for http_proxy and https_proxy 2023-06-09 19:14:02 +02:00
Ruben Fiszel
b99e2273ae fix: be more specific about replacing nan in python deser 2023-06-09 08:40:58 +02:00
Ruben Fiszel
e63f184b39 fix: empty flows not return their inputs 2023-06-06 11:09:17 +02:00
Ruben Fiszel
21546d4550 fix backend compile 2023-06-06 11:01:49 +02:00
Ruben Fiszel
74254af71a migrate all jsonschema parser to wasms 2023-06-06 10:52:04 +02:00
Ruben Fiszel
1f8910d730 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
8c47957a02 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
2273fa8be5 add bigint serialization 2023-06-05 14:00:23 +02:00