Commit Graph

428 Commits

Author SHA1 Message Date
Guillaume Bouvignies bcdff7d6f1 Filter script kinds in the backend (#2450) 2023-10-13 20:34:39 +02:00
HugoCasa 2e60105beb feat: filter resource types passed to gpt-4 (#2430)
* feat: code gen filter resource types

* fix: minor

* feat: using snake case for flow inputs

* fix: filter resource types for python

* fix: correct resrouce type name + wmill import

* fix: disable automerge ci

* fix: remove unnecessary json parsing
2023-10-11 17:50:21 +02:00
Ruben Fiszel 1ff5bc2f7a feat: manage cache and init scripts from worker group UI (#2396)
* cache & inits

* cache & inits

* cache & inits

* all

* fix tests

* improve
2023-10-05 19:42:15 +02:00
Ruben Fiszel c8543d7ed4 feat: add npm_config_registry support for bun, deno and being settable from UI (#2373)
* foo

* foo

* npm config
2023-10-02 14:45:29 +02:00
denglertai 7adf04858e feat(backend): parse expires_in from string in TokenResponse (#2353)
* feat(backend): parse expires_in from string in TokenResponse

* Update more_serde.rs

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-09-29 11:34:27 +02:00
Ruben Fiszel 93f536c26a fix: improve license key check 2023-09-28 04:28:52 +02:00
HugoCasa 7d2f05c7aa fix: add env tags to default worker group (#2348) 2023-09-27 10:11:21 -07:00
Ruben Fiszel 1a572e1f56 nits fix 2023-09-25 16:33:21 +02:00
Ruben Fiszel 51255981fa feat: add license key as superadmin setting (#2321)
* license key

* all

* feat: add license key as a superadmin setting

* fix

* fix
2023-09-23 14:40:07 +02:00
HugoCasa 3ae5c6ce7c feat: improved dedicated benchmarks + buffer fix (#2313)
* feat: improved dedicated benchmarks + buffer fix

* fixes + limit task spawning to noop/dedicated

* fix: cargo test

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2023-09-21 17:12:00 +02:00
Ruben Fiszel 79c4ee5e6f feat: set instance settings from UI (#2314) 2023-09-20 23:15:19 +02:00
HugoCasa c4a88e7e18 feat: add dediacted worker env var (#2296) 2023-09-18 14:15:56 +02:00
Ruben Fiszel 009e04e582 fix nb of conns 2023-09-15 09:32:11 +02:00
Ruben Fiszel e0ff5484e1 fix tests 2023-09-15 09:30:33 +02:00
Ruben Fiszel a1fdfffb14 fix tests 2023-09-14 13:20:39 +02:00
Ruben Fiszel dfcdb2d8ff feat: worker groups admin panel (#2277)
* merge

* merge

* merge

* wg

* progress

* all

* all

* all

* all

* all

* all

* fix

* fix
2023-09-13 21:24:54 +02:00
Ruben Fiszel e8dd9bf1f0 feat: attempt to SIGTERM before SIGKILL for bash 2023-09-11 18:55:19 +02:00
HugoCasa 1d71154c99 feat: flow copilot (#2219)
* chore: refactoring

* feat: hub embeddings search benchmark

* feat: flow copilot v0

* feat: as trigger schedule + refactoring

* feat: improvements

* fix: remove unecessary filter

* feat: UX improvements

* fix: frontend check

* feat: switch to bun + other improvements

* fix: improve reactivity
2023-09-07 18:03:48 +02:00
Ruben Fiszel 5ac99b817e feat: dedicated workers for native-throughput performance (EE only) (#2239)
* dedicated worker

* dedicated worker

* merge

* progress

* progress

* progress

* merge

* update

* sqlx

* fix imports
2023-09-06 10:32:53 +02:00
Ruben Fiszel 21e8d7694c perf: improve queue performance (#2222)
* benchs

* progress

* prog

* progress

* progress

* progress

* update

* progress

* progress

* progress

* progress

* progress

* all

* all

* improve queries

* improve queries

* rm imv

* all

* all
2023-09-03 09:44:16 +02:00
Ruben Fiszel 9829105d08 feat: add global cache configuration 2023-08-30 13:35:41 +02:00
Ruben Fiszel 73cfaf2647 fix get latest deployed for path 2023-08-29 15:12:53 +02:00
Ruben Fiszel 8d62fbdbdc feat: add caching to flows and scripts (#2193)
* cachettl

* all
2023-08-29 13:00:20 +02:00
Ruben Fiszel ab27adc87e feat: early stop for flows 2023-08-28 17:46:16 +02:00
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