Commit Graph

473 Commits

Author SHA1 Message Date
Ruben Fiszel
fdfb12fd5b improve cancel_all handling of non running jobs 2023-11-11 12:14:48 +01:00
Ruben Fiszel
929616d730 apply enterprise limits 2023-11-11 09:46:09 +01:00
Ruben Fiszel
f998c7229c fix: improve display of optimized one-loops + dependency jobs of dedicated workers happen on dedicated worker 2023-11-10 15:14:22 +01:00
HugoCasa
577e1300b9 feat: add sql server (#2604)
* feat: add sql server

* feat: mssql test, db schema, AI

* chore: update to latest parser

* fix: clean mssql executor
2023-11-10 11:16:13 +01:00
Ruben Fiszel
28c9fdc4f2 feat: add support for custom components in react or vanilla JS (#2603)
* cc

* cc

* cc

* all

* sqlx
2023-11-09 19:38:52 +01:00
Guillaume Bouvignies
f336a3c0ed refactor: Slack error handler is handled mostly in frontend (#2601)
* refactor: Slack error handler is handled mostly in frontend

* sqlx prepare

* check for slack in function
2023-11-09 18:17:28 +01:00
Ruben Fiszel
86015737a3 do not require being a super admin for default error handler 2023-11-09 12:07:14 +01:00
Guillaume Bouvignies
aefa43dcaf fix: Fix error handler token injection (#2598)
* fix: Fix error handler token injection

* Add frontend
2023-11-09 11:58:45 +01:00
Ruben Fiszel
198e282566 do not require being a super admin for default error handler 2023-11-09 11:56:12 +01:00
Guillaume Bouvignies
fc874132c0 fix: Frontend workspace error handler args (#2597)
* fix: Frontend workspace error handler args

* UPdate script version

* 6512
2023-11-09 11:04:54 +01:00
Guillaume Bouvignies
f2bff84502 feat: Add override all schedule handlers button (#2579)
* feat: Add override all schedule handlers button

* sqlx prepare

* sqlx prepare again
2023-11-07 13:29:23 +01:00
Ruben Fiszel
7f9e8bf4b0 fix compile 2023-11-07 09:42:28 +01:00
Ruben Fiszel
6c12c6e784 fix: add tag sync for cli 2023-11-06 22:06:24 +01:00
Ruben Fiszel
0ede0f4c97 fix: add tag support for CLI 2023-11-06 21:40:25 +01:00
Guillaume Bouvignies
83f9ef34e6 feat: Add toggle to optionally mute error handler for cancelled jobs (#2567)
* fix: Fix canceled flag in completed_job table

* Add toggle to workspace settings
2023-11-06 18:24:51 +01:00
HugoCasa
1ed52ab4c9 feat: add new stats (#2568)
* feat: add new stats

* feat: use license key id + manually send usage
2023-11-06 18:23:25 +01:00
Ruben Fiszel
141f45bf95 fix: improve dedicated workers 2023-11-06 11:21:36 +01:00
Ruben Fiszel
12030e0b17 add version to workers 2023-11-05 18:59:32 +01:00
Guillaume Bouvignies
668c9da646 feat: Schedule error handler improvements (#2555)
* Fix schedule path for scheduled scripts

* feat: Add possibility to mute workspace error handler on schedules and define an error/recovery handler as default

* Permission error handlers to the error handler group for consistency, and small refactoring

* Fix recovery handler

* Add parent job to recovery handler for consistency

* Fix tests

* Locking feature to EE in FE
2023-11-04 00:52:37 +01:00
Ruben Fiszel
0f37439877 fix: support results[<x>] + export more metatada for scripts 2023-11-03 21:53:58 +01:00
Guillaume Bouvignies
7ba2a6c4f1 fix: Slack error handler missing "slack" arg (#2546) 2023-11-02 22:33:16 +01:00
HugoCasa
29aabd3472 fix: enable default tokenizer truncation (#2537) 2023-11-01 14:45:24 +01:00
Ruben Fiszel
c8036317d2 fix: only load embeddings if in server mode 2023-11-01 00:44:24 +01:00
Guillaume Bouvignies
c31299bed8 feat: Ability to restart flow on loop/branchall iteration (#2526)
* feat: Ability to restart flow on loop/branchall iteration

* Add popover to frontend

* refresh restart button onSelectedJobStepChange

* Display branch names for branchall

* Fix flow preview

* Fix compile break

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2023-10-31 15:27:54 +01:00
HugoCasa
302649faa8 fix: workspaced embeddings for resource types (#2525)
* fix: workspaced embeddings for resource types

* fix: remove admins only rts
2023-10-30 15:28:20 +01:00
Ruben Fiszel
cd01734735 add more migration info at start 2023-10-30 15:17:32 +01:00
Guillaume Bouvignies
76a736aee6 feat: Restartable flows (#2514)
* feat: Restartable flows for simple sequential flows

* check if status of previous module to initialize last_result

* compute result of forloop flows when needed

* Add possibility to restart a flow preview

* Re-compute leaf jobs when needed

* FE polishing

* Add tooltip on button and fix module not found error in preview

* Handle ListJob when computing leaf job from db

* Fix unused imports

* ./build_openapi.sh

* sqlx prepare
2023-10-30 12:51:56 +01:00
Ruben Fiszel
a1a4737ddf fix resource types embedding 2023-10-27 16:48:20 +02:00
Ruben Fiszel
ea28163865 fix: prometheus metrics are an instance settings 2023-10-25 23:32:47 +02:00
Ruben Fiszel
d44b078e70 fix: improve concurrency limit lock 2023-10-25 00:17:38 +02:00
Ruben Fiszel
e79ca4e845 improve batch job api for scripts 2023-10-24 12:20:57 +02:00
Guillaume Bouvignies
96f3854145 fix: ListableQueuedJob were missing the priority field (#2500) 2023-10-24 09:49:14 +02:00
Ruben Fiszel
bed4b51c5b add support for batch flow jobs 2023-10-23 21:53:22 +02:00
Ruben Fiszel
39f30785a0 feat: dedicated worker for python (#2492)
* update

* all
2023-10-23 20:21:16 +02:00
HugoCasa
7037d70ca2 feat: add unique id (#2483)
* feat: add unique id

* fix: sqlx prepare

* feat: add disable option

* fix: cron schedule
2023-10-23 17:05:54 +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
Ruben Fiszel
255dd53ed3 fix: windmill_status_code script now properly return + script bash default arg 2023-10-21 02:32:47 +02:00
Ruben Fiszel
2385e18286 feat: timelines for apps 2023-10-20 22:50:36 +02:00
HugoCasa
8fe30ca4ca fix: cache embedding model in docker img (#2474) 2023-10-20 15:49:04 +02:00
Guillaume Bouvignies
1200add2a7 feat: Flow approvers user groups can be JS InputTransforms (#2468)
* 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

* FE InputTransformForm

* BE InputTransform

* Fix FE

* cleanup

* ArgInput list multiselect

* cleanup

* reset vscode settings
2023-10-20 01:39:31 +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
HugoCasa
666ac56824 fix: embeddings duplicate id (#2467) 2023-10-19 19:41:52 +02:00
HugoCasa
ef3e4b2623 feat: local hub embeddings search (#2463)
* feat: local hub embeddings search

* fix: cargo lock

* fix: sqlx prepare

* fix: cargo tinyvector

* feat: add DISABLE_EMBEDDING env var

* fix: cargo lock
2023-10-19 17:27:42 +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
Guillaume Bouvignies
f9e48ddcba fix: Slack token is readable by g/error_handler (#2454)
* fix: Slack token is readable by g/error_handler

* remove is_some
2023-10-16 14:53:12 +02:00
Ruben Fiszel
780f5c3b4d fix app handling 2023-10-16 12:58:33 +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
5a8dcc186d Filter script kinds in the backend (#2450) 2023-10-13 20:34:39 +02:00
Guillaume Bouvignies
f7cc773826 feat: Workspace error handler now supports args and Slack for EE (#2447)
* feat: Workspace error handler now supports args and Slack

* Cleanup unused value

* run sqlx prepare

* Fix script path loading
2023-10-13 17:32:11 +02:00
Guillaume Bouvignies
45dd53457c refactor: Extract error / recovery handler to its own component (#2445)
* refactor: Extract error / recovery handler to its own component

* Small design changes

* Reset handler args on openNew

* Slack handler as EE only

* Add link to windmill hub

* Fix "undefined" when input disabled

* tooltip on custom tab header
2023-10-13 15:01:18 +02:00