Commit Graph

1004 Commits

Author SHA1 Message Date
Ruben Fiszel 11c8f90daf feat: concurrency limits for flows 2023-08-28 16:02:48 +02:00
Ruben Fiszel 06006f1c7e feat: add parallelism control to forloops 2023-08-27 23:03:19 +02:00
Ruben Fiszel e051451cd6 fix: canceling jobs 2023-08-27 14:40:20 +02:00
Ruben Fiszel 3d79187f31 feat: lock inline scripts for apps on deploy 2023-08-26 09:12:19 +02:00
HugoCasa cbbfee8439 feat: schedule recovery handler (#2126)
* feat: schedule recovery handler

* fix: migration down

* fix: rename

* fix: adjust + add tests

* fix: merge + sqlx prepare

* fix: more complete recovery handler

* feat: schedule error and recovery times

* fix: schedule worker test

* feat: slack schedule handlers

* fix: update schedule handlers
2023-08-24 18:20:35 +02:00
Ruben Fiszel c77d38563d remove unecessary postgres transactions and improve performance 2023-08-22 00:34:44 +02:00
Ruben Fiszel a8c46066b1 fix: unify clients to use server-side interpolation to retrieve full resources 2023-08-17 20:16:50 +02:00
HugoCasa 5b11f7e6cd feat: add s3 snippets (#2052)
* feat: add s3 snippets

* fix: rename to push pull aggregate

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2023-08-14 18:23:17 +02:00
HugoCasa cd8df1d254 fix: script fix no resource + error handling (#2053) 2023-08-14 12:03:23 +02:00
Ruben Fiszel 1778ec1117 feat: respect lockfiles for bun 2023-08-12 20:49:36 +02:00
Ruben Fiszel 9970f6daeb feat: migrate state path to new schema 2023-08-11 18:54:47 +02:00
HugoCasa 2f18b94b33 feat: add native powershell support (#2025)
* feat: add powershell support

* fix: lang build
2023-08-10 13:19:50 +00:00
HugoCasa f1a0070b71 feat: add graphql support (#2014)
* feat: add graphql support

* fix: use custom editor for viewing graphql schema

* fix: graphql parser cargo version

* fix: add graphql where missing
2023-08-09 16:19:57 +02:00
HugoCasa 488d2813f3 feat: add snowflake (#1987)
* feat: unveil windmill AI

* feat: add snowflake

* fix: uppercase snowflake auth params
2023-08-03 17:22:00 +02:00
Ruben Fiszel e2e94aa0e6 remove http as jobs 2023-08-02 18:46:16 +02:00
Ruben Fiszel b0660619c8 feat: add step's custom timeout 2023-07-30 20:42:24 +02:00
HugoCasa c9110575cd feat: add bigquery (#1934)
* feat: add bigquery

* fix: remove debug logs

* fix: add records number limit

* fix: revert unwanted changes

* feat: bigquery enterprise only

* fix: google auth only when enterprise

* fix: rename bigquery scripts
2023-07-27 14:24:27 +02:00
Ruben Fiszel 838266bb2f feat: lock depedency for the entire flow + dependency job depend on script/flow's tag 2023-07-26 21:14:14 +02:00
Ruben Fiszel 35ea4f5f04 feat: add workspace specific tags 2023-07-26 17:33:46 +02:00
Ruben Fiszel af7c92ac16 feat: worker group for flows 2023-07-25 12:41:51 +02:00
Ruben Fiszel 99c0a39da2 Revert "refactor(backend): alternative approach for sqlx ^0.7 upgrade (#1884)" (#1885)
This reverts commit 8dea3e7d2b.
2023-07-16 16:57:12 +03:00
Ruben Fiszel 62c33eec83 feat: add schedule to syncable resources 2023-07-16 10:47:24 +02:00
Jakub Kołodziejczak 8dea3e7d2b refactor(backend): alternative approach for sqlx ^0.7 upgrade (#1884)
related to
* https://github.com/launchbadge/sqlx/pull/2617#issuecomment-1636808249
  * https://github.com/launchbadge/sqlx/pull/2617#issuecomment-1637005378
2023-07-16 11:12:50 +03: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: 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
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
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 79ea3fae66 bun fixes 2023-07-06 22:29:00 +02:00
Ruben Fiszel acd6a019c3 select + drawer fix + explicit hash 2023-07-05 10:01:07 +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 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 6ddc434357 feat: cancel non-yet-running jobs and rework force cancellation 2023-06-25 18:02:00 +02:00
Ruben Fiszel 5cc75ac597 add proto native http, psql, graphql jobs in backend 2023-06-23 12:42:01 +02:00
Ruben Fiszel 31aee89af8 feat: add update checker on version info 2023-06-22 18:12:45 +02:00
Ruben Fiszel 734f75d493 feat: step mocking for flows 2023-06-22 12:01:08 +02:00
Ruben Fiszel eab70dcd35 feat: add schema form to approval steps 2023-06-20 11:59:13 +02:00
Ruben Fiszel 768d44b55b feat: remove the need for BASE_INTERNAL_URL 2023-06-12 12:00:42 +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 027fa6ff09 feat: add cache as a primitive for flows (#1671)
* feat: add cache as a primitive for flows

* fix failure module
2023-06-04 14:39:10 +02:00
Ruben Fiszel c3f57e95e9 make to_i64 more resilient and clearer error message on client setup 2023-06-01 17:15:37 +02:00
Ruben Fiszel c93393d5c0 feat: schedule error handler (#1636)
* handleError

* revert

* all
2023-05-23 20:25:41 +02:00
Ruben Fiszel c2666f7d7c feat(backend): add windmill_status_code to run_wait_result 2023-05-09 02:46:53 +02:00
Ruben Fiszel 73c5a7473d feat: add drafts for apps 2023-05-01 18:13:57 +02:00
Ruben Fiszel 8d3416e525 feat: introduce draft for flows 2023-05-01 09:31:22 +02:00
Ruben Fiszel ec89b656b6 feat: introduce backend persisted draft systems for scripts 2023-04-30 15:56:52 +02:00
Ruben Fiszel e21208de31 feat(backend): add EXIT_AFTER_NO_JOB_FOR_SECS for ephemeral workers 2023-04-28 00:09:48 +02:00
Ruben Fiszel 1764c4114e feat(backend): expose tag in the job (#1486)
* fix

* update tag

* update tag

* update tag

* fix
2023-04-27 19:09:53 +02:00
Ruben Fiszel 2d62ced3a5 fix script in schedule should use latest hash 2023-04-27 18:03:12 +02:00
Ruben Fiszel 02ba82064f feat(backend): worker groups (#1452)
* tagged scripts

* tagged scripts

* fix

* fix

* fix

* all

* update sqlx
2023-04-23 16:57:23 +02:00
Ruben Fiszel 1ba0e24155 feat(backend): only run fully deployed scripts 2023-04-21 12:49:47 +02:00