Commit Graph
489 Commits
Author SHA1 Message Date
Guillaume Bouvignies 194ee830cc 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 4774e03be5 fix: improve quickstyle to be in static ccomponents only 2023-11-30 21:09:27 +01:00
Ruben Fiszel 007d5be23e fix: support INET in pg 2023-11-30 20:18:43 +01:00
Ruben Fiszel 830dec0f90 fix: make REST language support URLSearchParams, headers, FormData 2023-11-30 16:50:00 +01:00
Ruben Fiszel 03d3bd33d0 restart dedicated worker regardless of config being present 2023-11-29 17:49:01 +01:00
HugoCasa 3789b34dae feat: scheduled app reports (#2714)
* feat: app preview discord

* feat: add custom, slack, email + worker groups

* fix: npm build

* fix: add assignable chromium tag

* feat: use workspace linked slack resource + hub scripts

* fix: nit
2023-11-29 16:35:42 +01:00
Guillaume Bouvignies 3d6fb15a90 fix: minor fixes to private NPM and python registries to get everything working (#2728) 2023-11-29 16:30:45 +01:00
Ruben Fiszel e6d67f4e59 fix: make dedicated workers able to redeploy automatically 2023-11-29 12:28:06 +01:00
Guillaume Bouvignies 15ebf46abc chore: Add examples on how to deploy private registries (#2719)
* chore: Add examples on how to deploy private registries

* chore: example for private pypiserver with https

* Allow DENO_CERT certificate with native workers

* Add BUN_TLS_REJECT_UNAUTHORIZED
2023-11-29 11:38:23 +01:00
Guillaume Bouvignies 726866b410 fix: Deno can talk to private NPM registries behind HTTPS (#2713) 2023-11-27 21:46:19 +01:00
Ruben Fiszel 8275602372 feat: add support for raw query args 2023-11-26 16:47:32 +01:00
Ruben Fiszel dbaef0aa5f feat: add early return for flows 2023-11-26 14:30:49 +01:00
HugoCasa f5e098d03b fix: bigquery schema and date inputs (#2688) 2023-11-23 14:59:33 +01:00
HugoCasa 217e69498f fix: graphql variables (#2682) 2023-11-22 18:17:37 +01:00
Ruben Fiszel 51ce2f8cb3 fix: fix embedded approval step timeouts 2023-11-21 13:51:55 +01:00
Ruben Fiszel aa6bf4027f fix base_internal_url 2023-11-20 02:03:41 +01:00
Ruben Fiszel b667317d44 fix: token expiry is equal to timeout 2023-11-20 00:39:40 +01:00
Ruben Fiszel cd260e7062 feat: agent mode v0 2023-11-20 00:36:31 +01:00
Guillaume Bouvignies c90f7f167e fix: main broken tests (#2652) 2023-11-19 22:41:07 +01:00
Ruben Fiszel ee243dedc6 fix: leave workspace + instance api 2023-11-18 15:07:06 +01:00
Ruben Fiszel 316d5f344f fix: improve suspended flow handling when missing next step 2023-11-17 13:13:05 +01:00
Ruben Fiszel b13cc58315 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
Ruben Fiszel 6e41441b07 improve empty inner loops handling 2023-11-15 14:38:02 +01:00
Ruben Fiszel ff8b9b0384 feat: cache postgres connection (#2621)
* feat: cache pg connection

* fix wmill dev

* adjust timings

* don't keep connection alive if not latest con

* reduce sleep
2023-11-13 19:40:25 +01:00
Ruben Fiszel 528f6fa910 feat: add dedicated worker support for deno 2023-11-11 15:19:27 +01:00
Ruben Fiszel fa3efd3f60 fix: handle console logs in dedicated workers 2023-11-11 13:39:06 +01:00
Ruben Fiszel b9e41d066d fix: support digit prefixed script in python 2023-11-10 20:51:28 +01:00
Ruben Fiszel 4661dd2cea feat: exit dedicated worker upon new deployment 2023-11-10 20:41:43 +01:00
Ruben Fiszel 5662c86bf0 fix dedicated worker dependency jobs 2023-11-10 18:38:10 +01:00
Ruben Fiszel 88e3648ee4 fix: optimize single step iterative forloops (#2596)
* cc

* fixed
2023-11-10 13:17:39 +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
Guillaume Bouvignies cb01703a08 fix: iter args conflicts with external variables named iter (#2605)
* fix: iter args conflicts with external variables named iter

* Similar logic in frontend and fix backend

* frontend new object

* avoid another clone
2023-11-10 10:53:22 +01:00
Ruben Fiszel e4a1759081 results.x returns null in non trivial evals 2023-11-09 23:36:04 +01:00
Guillaume Bouvignies 0d846b310d fix: Pythong script in dedicated worker fails with more than 1 arg (#2588) 2023-11-08 10:08:42 +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
Ruben Fiszel 141f45bf95 fix: improve dedicated workers 2023-11-06 11:21:36 +01:00
Tsvetomir Bonev 543fae77a7 fix: return non-integer sleep error directly (#2558) 2023-11-04 08:44:38 +01:00
Tsvetomir Bonev 6f47b96006 fix: fail on non-integer sleep value (#2556) 2023-11-04 00:49:57 +01:00
Ruben Fiszel 54f08122d2 fix: subflow with cache can not be considered simple 2023-11-03 22:06:49 +01:00
Ruben Fiszel 0f37439877 fix: support results[<x>] + export more metatada for scripts 2023-11-03 21:53:58 +01:00
Ruben Fiszel 7b5d47d122 deactive forloop pruning in-presence of sleep or suspend 2023-11-02 08:32:45 +01:00
Ruben Fiszel b4d5c5add8 fix: fix powershell args passing 2023-11-01 17:19:15 +01:00
Guillaume BouvigniesandRuben Fiszel 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
Ruben Fiszel cf9669c18d feat: invalidate result cache on flow or script change 2023-10-31 12:49:31 +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 ed86a61cf0 improve slow pull metrics 2023-10-30 12:20:40 +01:00
Ruben Fiszel f94c9f8ec5 nit metrics 2023-10-28 16:21:30 +02:00
Ruben Fiszel 2cec6a0971 add more metrics 2023-10-28 15:35:45 +02:00
Ruben Fiszel 23a6424125 add dedicated worker sender channel queue 2023-10-28 14:15:42 +02:00
Ruben Fiszel b8883481f4 feat: refactor metrics and add performance debug metrics (#2520)
* all

* feat: add debug metrics
2023-10-27 21:00:28 +02:00