Commit Graph

125 Commits

Author SHA1 Message Date
Ruben Fiszel
44c3c96d3e fix: fix include_header 2023-10-23 17:04:16 +02:00
Guillaume Bouvignies
3f4af48b0b feat: Priority queue (#2476)
* BE v1 for priority queue

* Add FE prototype

* sqlx prepare

* Disply priority badge in job detail view

* sqlx prepare post merge

* Add priority number input field next to toggle

* increase dnd timeout for app events

* Update db migration

* Fix FE import

* Add badge to script/flow details page and fix EE-only mention in tooltip

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2023-10-23 14:22:59 +02:00
Guillaume Bouvignies
9442068374 feat: Approval step optionally require logged-in user (#2462)
* backend auth user validation

* Approval page suggesting login

* BE impl to support groups

* Add FE for setting suspend on flow step

* handle admin as a specific case

* restrict feature to entperprise only

* group names as static input transforms

* Suspend settings with tabs

* Update enterprise edition check

* cleanup

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2023-10-20 00:20:20 +02:00
Guillaume Bouvignies
2dc75f0f65 feat: Mute workspace error handler for flows and scripts (#2458)
* feat: Mute workspace error handler for flows and scripts

* implement BE muting

* Add tooltip to bell icon

* change field name to ws_error_handler_muted

* revert new field for queue table

* Error when error handler not set

* extract svelte component and use flow table column

* Fix flow error handler result arg
2023-10-17 22:07:13 +02:00
Ruben Fiszel
e8badf26e6 improve error tracing 2023-10-16 19:45:43 +02:00
Ruben Fiszel
719cde60cc improve error handling after refactor 2023-10-16 18:40:01 +02:00
Ruben Fiszel
9314d38bf1 feat: refactor entirely json processing in favor or rawjson to handle larger payloads (#2446)
* raw json

* raw json

* raw json

* raw json

* the big rawjson rewrite

* resolve merge conflicts

* all

* progress

* progress

* all compile

* remove mut

* remove mut

* remove mut

* arc queuedjob

* finish

* finish

* finish

* fixes

* progress

* fix result

* small fixes

* small fixes

* fix tests

* fix tests

* fix tests

* optimize eval timeout

* optimize eval timeout

* optimize eval timeout

* handle big args and result in get jobs

* improve args

* fix

* fix

* fix tests

* fix tests

* done

* add bigquery to native picker

* add bigquery

---------

Co-authored-by: gbouv <guillaume@windmill.dev>
2023-10-16 10:46:55 +02:00
Guillaume Bouvignies
b7ce7f0b18 fix: Workspace error handler extra args are passed to job (#2452) 2023-10-13 20:48:56 +02:00
Guillaume Bouvignies
a1d6799625 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
21454a7a05 fix: improve handling of large results by frontend 2023-10-08 15:37:10 +02:00
HugoCasa
f68cee4ebd fix: tag id as flow (#2318) 2023-09-21 18:20:34 +02:00
HugoCasa
c549239684 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
7e404eb2fc fix concurrency limit with jobs scheduled in the future 2023-09-15 23:42:44 +02:00
Ruben Fiszel
03f75bc873 fix tests 2023-09-15 09:30:33 +02:00
Ruben Fiszel
c0284ea356 fix migraiton 2023-09-14 11:44:36 +02:00
Ruben Fiszel
3792a2d7f3 fix migration 2023-09-14 11:32:52 +02:00
Ruben Fiszel
080b8f324b fix migration 2023-09-14 11:28:06 +02:00
Ruben Fiszel
070b16222b 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
22a7da58b1 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
e220dc2869 improve benchmarks 2023-09-08 17:32:26 +02:00
Ruben Fiszel
c80f155602 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
dff1cd9a64 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
069e2d18d5 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
ada88a2bf9 feat: improve queue performance when queue grows large 2023-08-31 23:41:04 +02:00
Ruben Fiszel
276cd6dac3 feat: add workspace variable to worker tag 2023-08-31 11:00:57 +02:00
Ruben Fiszel
03e48a4ca5 feat: add caching to flows and scripts (#2193)
* cachettl

* all
2023-08-29 13:00:20 +02:00
Ruben Fiszel
d0d041fde3 feat: concurrency limits for flows 2023-08-28 16:02:48 +02:00
Ruben Fiszel
033f675484 fix cancel jobs 2023-08-27 15:09:54 +02:00
Ruben Fiszel
0dfdf8fa1b fix: canceling jobs 2023-08-27 14:40:20 +02:00
Ruben Fiszel
f5121e9066 feat: lock inline scripts for apps on deploy 2023-08-26 09:12:19 +02:00
Ruben Fiszel
23a662b94c encode special characters in postgres url 2023-08-25 14:38:30 +02:00
HugoCasa
0dcb425e4a 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
58bb19a447 fix: fix cancel job for flows in some edge cases 2023-08-22 21:35:35 +02:00
Ruben Fiszel
9ba54efab1 fix schedule edit issue 2023-08-22 19:30:55 +02:00
Ruben Fiszel
3e018f50e2 improve push method to reduce commit span 2023-08-22 17:26:51 +02:00
Ruben Fiszel
aad8c9d324 fix flow lock 2023-08-22 01:04:04 +02:00
Ruben Fiszel
fbc62e8ca5 remove unecessary postgres transactions and improve performance 2023-08-22 00:34:44 +02:00
Ruben Fiszel
3abf978eac improve indices performances 2023-08-20 19:14:39 +02:00
Ruben Fiszel
a4090f6ad5 improve sql query performances 2023-08-20 18:06:59 +02:00
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