Commit Graph

86 Commits

Author SHA1 Message Date
Ruben Fiszel 2ba132bd05 feat: respect lockfiles for bun 2023-08-12 20:49:36 +02:00
Ruben Fiszel de8a7279b6 feat: migrate state path to new schema 2023-08-11 18:54:47 +02:00
HugoCasa 8a1f9a7c6a feat: add native powershell support (#2025)
* feat: add powershell support

* fix: lang build
2023-08-10 13:19:50 +00:00
HugoCasa e4534d2dc3 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 90dfda0d1f feat: add magic tag part 2023-08-05 23:31:10 +02:00
HugoCasa d57b8d79ad 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 81a85d3b68 remove http as jobs 2023-08-02 18:46:16 +02:00
Ruben Fiszel 4c870272d4 feat: add step's custom timeout 2023-07-30 20:42:24 +02:00
HugoCasa fd4c978874 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 90d57e2fad 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 6f47bf9806 feat: handle worker groups with redis 2023-07-26 17:33:46 +02:00
Ruben Fiszel 52f28b5173 feat: add workspace specific tags 2023-07-26 17:33:46 +02:00
Ruben Fiszel a0997911bf feat: worker group for flows 2023-07-25 12:41:51 +02:00
Ruben Fiszel 717d8dc03c Update jobs.rs 2023-07-24 21:54:24 +03:00
Ruben Fiszel 601da7f878 fix: respect FIFO order for concurrency limit 2023-07-24 18:11:23 +02:00
Ruben Fiszel a054bdd043 fix: off by one concurrency limit fix 2023-07-22 17:05:11 +02:00
Jakub Kołodziejczak 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
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
HugoCasa 54cd5ce569 feat: workspace error handler (#1799)
* feat: add workspace error handler

* feat: run error handler as group

* fix: handler picker initial path

* fix(backend): separate global / workspace handlers

* fix(frontend): error handler picker tab change

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2023-07-06 21:43:15 +02:00
Ruben Fiszel 4beba96724 select + drawer fix + explicit hash 2023-07-05 10:01:07 +02:00
Ruben Fiszel f98c199b63 fix: fix global error handler 2023-07-04 22:13:01 +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 ee8f0e8def improve support for native http handling 2023-06-25 20:00:27 +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 6813c383bc add proto native http, psql, graphql jobs in backend 2023-06-23 12:42:01 +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 7e466b7715 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 91ad8d0b8d rework premium workspace pricing 2023-05-28 13:00:21 +02:00
Ruben Fiszel 34048f9ea6 feat: schedule error handler (#1636)
* handleError

* revert

* all
2023-05-23 20:25:41 +02:00
Ruben Fiszel b6c0018e2a feat(backend): add job_id as a query arg to force set the new job_id 2023-05-15 10:50:43 +02:00
Ruben Fiszel 7537f1a1d7 feat(backend): cache hub scripts in the worker cache 2023-05-09 12:45:54 +02:00
Ruben Fiszel d814a25b0f add cairo to openbb build 2023-05-09 11:11:09 +02:00
Ruben Fiszel f568bb1bd8 fix script in schedule should use latest hash 2023-04-27 18:03:12 +02:00
Ruben Fiszel 8259451295 default worker handle other tags 2023-04-24 12:17:38 +02:00
Ruben Fiszel 722783f7f6 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 3d031c7017 feat(backend): only run fully deployed scripts 2023-04-21 12:49:47 +02:00
Ruben Fiszel 34f48aa1e3 split worker.rs into more files 2023-04-13 17:44:47 +02:00
Kai Jellinghaus d45e6c94ab feat(backend): Redis based queue (#1324)
* Merge?

* Fix V8 breaking change

* WIP

* WIP

* Cleanup

* Move to git reference

* Fix Merge conflict

* update

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-04-11 12:24:13 +02:00
Ruben Fiszel 0718931616 fix tests + scheduled_for uses now instead of system time 2023-04-11 11:48:14 +02:00
Ruben Fiszel 3097510550 only register prometheus metrics if they are enabled 2023-04-09 15:39:25 +02:00
Oliver Veal 17176bb8d1 feat: improved cron/schedule editor (#1362)
* basic cron schedule editing ui

* schedules run in a user-specified timezone

* fix other uses of CronInput component

* use now() from database to schedule next job

* offset -> IANA timezone conversion on db migration

* sqlx ci

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-04-05 16:37:24 +02:00
Ruben Fiszel 2e7871439a consistent sort + minor nits 2023-03-30 17:27:21 +02:00
Ruben Fiszel fbe5c18da0 feat: add force cancel 2023-03-30 00:42:13 +02:00