Commit Graph

267 Commits

Author SHA1 Message Date
Guillaume Bouvignies
0965d67dc8 feat: Improve Slack schedule error handler and default to it (#2439)
* feat: Improve Slack schedule error handler and default to it

* refactor BE to re-use existing logic to handle error

* Fix svelte error
2023-10-12 15:11:05 +02:00
Ruben Fiszel
00434f1a78 fix: improve handling of large results by frontend 2023-10-08 15:37:10 +02:00
HugoCasa
f6dab0576a fix: tag id as flow (#2318) 2023-09-21 18:20:34 +02:00
HugoCasa
323900e214 feat: dedicated benchmarks (#2297)
* feat: dedicated benchmarks

* feat: dedicated benchmarks

* fix: build

* fix: use ee for ci

* fix: ci

* fix: handle create jobs error

* fix: nits
2023-09-19 14:03:19 +02:00
Ruben Fiszel
23a0be78c3 fix concurrency limit with jobs scheduled in the future 2023-09-15 23:42:44 +02:00
Ruben Fiszel
e0ff5484e1 fix tests 2023-09-15 09:30:33 +02:00
Ruben Fiszel
216181075a fix migraiton 2023-09-14 11:44:36 +02:00
Ruben Fiszel
52734a6c94 fix migration 2023-09-14 11:32:52 +02:00
Ruben Fiszel
4ad9b844f1 fix migration 2023-09-14 11:28:06 +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
00e131269e feat: zero copy result for job result (#2263)
* feat: zero copy result for job result

* update
2023-09-11 08:00:02 +02:00
Ruben Fiszel
9e89bc95e3 improve benchmarks 2023-09-08 17:32:26 +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
7982b75613 feat: submit result in background thread (unify architecture for dedicated worker) (#2226)
* merge

* all

* all
2023-09-04 01:56:23 +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
24527d240b feat: improve queue performance when queue grows large 2023-08-31 23:41:04 +02:00
Ruben Fiszel
f45b6dc088 feat: add workspace variable to worker tag 2023-08-31 11:00:57 +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
11c8f90daf feat: concurrency limits for flows 2023-08-28 16:02:48 +02:00
Ruben Fiszel
38f4e7f69d fix cancel jobs 2023-08-27 15:09:54 +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
Ruben Fiszel
29262130e1 encode special characters in postgres url 2023-08-25 14:38:30 +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
6f40b77ba9 fix: fix cancel job for flows in some edge cases 2023-08-22 21:35:35 +02:00
Ruben Fiszel
6787c8f824 fix schedule edit issue 2023-08-22 19:30:55 +02:00
Ruben Fiszel
c05c9d2412 improve push method to reduce commit span 2023-08-22 17:26:51 +02:00
Ruben Fiszel
f0e6158c54 fix flow lock 2023-08-22 01:04:04 +02:00
Ruben Fiszel
c77d38563d remove unecessary postgres transactions and improve performance 2023-08-22 00:34:44 +02:00
Ruben Fiszel
125a00fa8e improve indices performances 2023-08-20 19:14:39 +02:00
Ruben Fiszel
e41a3fc1d2 improve sql query performances 2023-08-20 18:06:59 +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
Ruben Fiszel
620f0d2f3e feat: add magic tag part 2023-08-05 23:31:10 +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
ea8a456acc feat: handle worker groups with redis 2023-07-26 17:33:46 +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
ac6c0e033c Update jobs.rs 2023-07-24 21:54:24 +03:00
Ruben Fiszel
0f48c19d5a fix: respect FIFO order for concurrency limit 2023-07-24 18:11:23 +02:00
Ruben Fiszel
957db65da8 fix: off by one concurrency limit fix 2023-07-22 17:05:11 +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
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