Commit Graph
359 Commits
Author SHA1 Message Date
Guillaume Bouvignies 71743801c8 feat: Cancel persistent script runs from drawer (#2847)
* feat: Cancel persistent script runs from drawer

* Add explicit buttons

* revert change to docker compose
2023-12-14 15:30:39 +01:00
Ruben Fiszel 373f9e2e57 fix sqlx 2023-12-14 12:37:22 +01:00
Ruben Fiszel 5ce3aabbf1 fix(cli): remove is_expired from variables 2023-12-14 12:34:16 +01:00
Guillaume BouvigniesandRuben Fiszel 7c71b65a99 feat: Add default timeout for instance and custom timeout for scripts (#2811)
* feat: Add default timeout for instance and custom timeout for scripts

* final

* sqlx prepare

* Logs a warning in the job logs

* Fix merge

* JOB_DEFAULT_TIMEOUT is an optional

* Fix JOB_DEFAULT_TIMEOUT monitor loading

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-12-13 07:08:07 +01:00
HugoCasa 95261a7f86 feat: oauth flow openai key (#2833)
* feat: oauth flow openai key

* fix: rawvalue insert
2023-12-12 07:57:18 +01:00
Guillaume Bouvignies 346d9affa5 feat: Add possibility to delete flow step results when the flow is complete (#2806)
* feat: Add possibility to delete flow step results when the flow is complete

* Add third layer of tabs and gate feature to EE
2023-12-08 21:30:44 +01:00
HugoCasa 7082c2fbcd feat: no worker with tag warning (#2803)
* feat: no worker with tag warning

* feat: better design and flow jobs

* fix: sqlx

* fix: clear timeout on destroy
2023-12-08 00:18:41 +01:00
Guillaume Bouvignies 925632ffd7 feat: CLI now accepts message arg for sync push (#2784) 2023-12-05 19:01:09 +01:00
Guillaume Bouvignies 2980402ca3 feat: History commit message can be updated from the UI (#2777)
* feat: History comit message can be updated from the UI

* Script version history

* Display commit message in left column

* Fix FE compile break

* sqlx prepare and fix openapi file
2023-12-05 15:45:36 +01:00
Ruben Fiszel 7beccdb886 feat: perpetual scripts 2023-12-04 19:46:43 +01:00
Guillaume Bouvignies bfb5eb27b5 feat: Add workspace settings to sync scripts/flows/apps to git repo on deployment (#2740)
* feat: Add workspace settings to sync script to git repo on deployment

* track deployment callback jobs in separate table

* sqlx prepare

* update deployment_metadata table

* Point to hub script

* Add details to the settings page and restrict to EE only

* cleanup unused impots

* Flows and Apps are now pushed to GH as well

* Ignore scripts/flows/apps located in private user folders
2023-12-04 14:26:27 +01:00
Ruben Fiszel 9105c7ad0e fix: only list session and permanent token in user settings 2023-11-29 00:34:04 +01:00
Ruben Fiszel 49ecb54692 feat: add early return for flows 2023-11-26 14:30:49 +01:00
Ruben Fiszel cd839b3e02 fix sqlx 2023-11-21 09:49:26 +01:00
Ruben Fiszel efac70453e fix: improve error message for unauthorized variables/resources 2023-11-18 16:27:09 +01:00
Ruben Fiszel a01ae3540c fix: leave workspace + instance api 2023-11-18 15:07:06 +01:00
Ruben Fiszel 9c1e049fc8 fix: add toggle to invites 2023-11-18 13:46:51 +01:00
Ruben Fiszel 51b3013c70 restrict global accounts to 50 2023-11-18 13:31:30 +01:00
Ruben Fiszel 228333f0e1 fix: auto-invite all instead of by domain 2023-11-18 12:36:08 +01:00
Ruben Fiszel e5c6836ffa fix template editor 2023-11-17 18:24:17 +01:00
Ruben Fiszel 24fb712587 fix delete workspace 2023-11-17 13:19:51 +01:00
Ruben Fiszel 518a8396b3 feat: dedicated workers for flows (#2637)
* dw for flows

* dw for flows

* all

* sqlx

* sqlx

* dedicated workers

* more comments
2023-11-17 10:00:04 +01:00
HugoCasa 93851ffd37 feat: collect vcpus and accounts usage (#2635) 2023-11-16 13:52:56 +01:00
Guillaume Bouvignies f932e4c916 feat: Add Python SDK capabilities to generate Polars and DuckDB connection settings to S3 (#2625)
* feat: Add Python SDK capabilities to generate Polars and DuckDB connection settings to S3

* Add endpoint to list S3 objects

* Add FE to set the workspace S3 resource

* Fix openapi

* sqlx prepare

* Hide Windmil LFS tab
2023-11-15 19:37:02 +01:00
HugoCasa b649fae0b0 feat: sync team plans (#2619)
* feat: sync team plans

* fix: migration

* fix: remove sub id + set billing cycle

* fix: msg

* feat: add overquota state

* fix: minor

* fix: overall improvements

* fix: sql prepare

* fix: disable seats warning for enterprise

* fix: use lazy static everywhere
2023-11-15 19:36:17 +01:00
Ruben Fiszel eeb6b8280a fix: fix delete schedule clear jobs 2023-11-15 13:13:24 +01:00
Ruben Fiszel 224351e81c fix: handle console logs in dedicated workers 2023-11-11 13:39:06 +01:00
Ruben Fiszel 312cc0307b feat: exit dedicated worker upon new deployment 2023-11-10 20:45:25 +01:00
Ruben Fiszel dd24ed59ec 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 08782f66e7 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
Guillaume Bouvignies 36ab98c1c1 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 f15d12c3ab fix compile 2023-11-07 09:42:28 +01:00
Guillaume Bouvignies 54cc811405 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 0a6b37ffab 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 34da785a60 fix sqlx 2023-11-06 05:16:48 +01:00
Guillaume Bouvignies d3698fc07b 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 64e98367a8 fix: support results[<x>] + export more metatada for scripts 2023-11-03 21:53:58 +01:00
HugoCasa b3aaed8721 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 5408da3a74 add more migration info at start 2023-10-30 15:17:32 +01:00
Guillaume Bouvignies 29ea5f0f7e 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 fb2da8ebb7 fix resource types embedding 2023-10-27 16:48:20 +02:00
Ruben Fiszel d4da2de5c0 fix: improve concurrency limit lock 2023-10-25 00:17:38 +02:00
Ruben Fiszel 43ba33297b fix sqlx 2023-10-24 10:21:30 +02:00
Guillaume Bouvignies eacef8cd5b fix: Track job UUIDs in concurrency table instead of a simple counter (#2498)
* fix: Track job UUIDs in concurrency table instead of a simple counter

* sqlx prepare
2023-10-24 09:28:46 +02:00
Ruben Fiszel f3b709857f fix: improve flow performance at high-throughput 2023-10-24 00:11:30 +02:00
bd69bafe59 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 61a13241b9 fix sqlx 2023-10-20 23:58:26 +02:00
HugoCasa 0603fc82c9 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 09e29d6b3c 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 31c923aab8 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