Ruben Fiszel
03e48a4ca5
feat: add caching to flows and scripts ( #2193 )
...
* cachettl
* all
2023-08-29 13:00:20 +02:00
Ruben Fiszel
6354c95bb7
feat: early stop for flows
2023-08-28 17:46:16 +02:00
Ruben Fiszel
d0d041fde3
feat: concurrency limits for flows
2023-08-28 16:02:48 +02:00
Ruben Fiszel
34e2a8001a
feat: add parallelism control to forloops
2023-08-27 23:03:19 +02:00
Ruben Fiszel
f5121e9066
feat: lock inline scripts for apps on deploy
2023-08-26 09:12:19 +02:00
Ruben Fiszel
fbc62e8ca5
remove unecessary postgres transactions and improve performance
2023-08-22 00:34:44 +02:00
Ruben Fiszel
a4090f6ad5
improve sql query performances
2023-08-20 18:06:59 +02:00
Ruben Fiszel
de8a7279b6
feat: migrate state path to new schema
2023-08-11 18:54:47 +02:00
Ruben Fiszel
1d1cd31252
fix: fix clear schedule to be workspace specific
2023-08-08 14:10:56 +02:00
Ruben Fiszel
bf57c3a628
fix: fix draft permissions (require writer instead of owner)
2023-08-01 17:02:29 +02:00
Ruben Fiszel
4c870272d4
feat: add step's custom timeout
2023-07-30 20:42:24 +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
ae4dfe634f
UX nits + fix flow worker group
2023-07-25 16:14:23 +02:00
Ruben Fiszel
a0997911bf
feat: worker group for flows
2023-07-25 12:41:51 +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: afb6b1066e/examples/postgres/transaction/src/main.rs (L14-L17)
notice that I'm temporarly using my custom patch
16e4c9a8f3
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
4c594c0e64
feat: step mocking for flows
2023-06-22 12:01:08 +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
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
f7374c8204
feat: add drafts for apps
2023-05-01 18:13:57 +02:00
Ruben Fiszel
a1966427e8
feat: introduce draft for flows
2023-05-01 09:31:22 +02:00
Ruben Fiszel
5d64185152
fix flow update update schedules
2023-04-30 16:18:43 +02:00
Ruben Fiszel
88e37fe0be
feat: introduce backend persisted draft systems for scripts
2023-04-30 15:56:52 +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
9e1e9a8d3a
rework ownership permissions
2023-04-15 23:03:16 +02:00
Ruben Fiszel
34f48aa1e3
split worker.rs into more files
2023-04-13 17:44:47 +02:00
Oliver Veal
92a293488e
feat: inputs library on run page
...
* display previous script inputs on script run page
* parallelise loading
* parallelise loading
* also working for flows
* separate endpoints for scripts and flows
* Splitpanes and Saved Inputs (UI)
* Saved inputs API endpoints
* Editable Input name
* Narrow width styling
* feat(frontend): Add a toggle to open the saved inputs (#1401 )
* feat(frontend): Add a toggle to open the saved inputs
* feat(frontend): Add a toggle to open the saved inputs
* feat(frontend): Move toggle
* update all
---------
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com >
Co-authored-by: Faton Ramadani <faton.ramadani14@gmail.com >
2023-04-12 17:29:06 +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
4f7c45118b
remove backend warnings & fix test
2023-04-02 13:56:16 +02:00
Ruben Fiszel
492f22526a
refresh folders more aggressively in case a non non just created one
2023-04-02 12:08:52 +02:00
Ruben Fiszel
2e7871439a
consistent sort + minor nits
2023-03-30 17:27:21 +02:00
Ruben Fiszel
99399f4f77
fix serde test
2023-03-10 12:19:56 +01:00
Ruben Fiszel
58300eb6ac
introduce root_job and leaf_jobs for efficient result_by_id
2023-03-03 12:44:44 +01:00
Ruben Fiszel
441f087d42
remove references to starter workspace'
2023-02-22 13:56:24 +01:00
Ruben Fiszel
e81f7bd723
feat: add delete flows
2023-02-22 08:40:11 +01:00
Ruben Fiszel
c0b87cc7d7
send a webhook on new user + lazy static refactor ( #1203 )
...
* supercharge
* supercharge
* progress
* progress
* display config
* display config
* display config
* display config
* fix extensions
* fix build
* disable nsjail = false for test
2023-02-15 10:59:50 +01:00
Kai Jellinghaus
b9ac60f8bb
feat: Add workspace webhook ( #1158 )
...
* Add workspace webhook
* Update SQLX
* Add webhook request histogram
* Move workspace webhook retrieval OOP
* Add removal to frontend, cache removed webhooks
* Remove WebhookUtil
---------
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com >
2023-02-03 19:50:18 +01:00
Ruben Fiszel
d708b6faa5
fix permissioned_as from username
2023-01-17 12:49:24 +01:00
Ruben Fiszel
48d87ab12c
various improvements
2023-01-10 11:21:16 +01:00
Ruben Fiszel
2c8e98a9c7
fix: preserver order changes for flows' schema
2023-01-02 04:43:28 +01:00
Ruben Fiszel
067da91463
make ownership check more consistent, expose ownership api, expose update folder api
2022-12-22 14:48:57 +01:00
Ruben Fiszel
b7afe5ecfc
improve error message for already existing items
2022-12-20 12:52:18 +01:00
Ruben Fiszel
43732d2fb5
require ownership to move items && automatically edit schedule paths
2022-12-18 18:45:32 +01:00
Ruben Fiszel
09e38981ed
add visible_to_owner
2022-12-15 16:01:17 +01:00
Ruben Fiszel
fd871093f0
feat: implement usage tracker + quotas
2022-12-11 18:47:39 +01:00
Kai Jellinghaus
abc0ca3a5b
feat(backend): Input transform errors ( #1006 )
...
* Add pre run error & propagate input transforms there
* Handle pre-run errors
* Update SQLX data
* Update SQLX data
2022-12-08 23:56:49 +01:00
Ruben Fiszel
799fa925b3
feat: add lockable version to scripts inside flows ( #972 )
...
* add it to openflow
* push
* push
* final
2022-12-06 13:11:11 +01:00
Ruben Fiszel
31c317b358
feat: add include_header to pass request headers to script
2022-12-05 23:36:31 +01:00
Ruben Fiszel
bff9130ab9
favorites on the sidebar
2022-11-30 01:47:29 +01:00
Ruben Fiszel
f3f694e925
feat: add favorite/star + remove flows/scripts page in favor of unified home page ( #968 )
...
* favorites
* favorites
* favorites
* feat(frontend): add favorite + refactor homepage
2022-11-30 00:15:43 +01:00