Ruben Fiszel
3946e54e70
handle schedule with empty tags
2024-02-21 23:08:53 +01:00
Ruben Fiszel
5cfd658632
nit logs around schedules
2024-02-11 23:40:56 +01:00
Guillaume Bouvignies
99484bdc20
feat: Tag override for scheduled scripts ( #2998 )
...
* feat: Tag override for scheduled scripts
* Refactor WorkerTagPicker to component
* Fix test
2024-01-13 00:06:54 +01:00
Guillaume Bouvignies
5f60d46836
feat: Retry for scheduled scripts ( #2893 )
...
* feat: Retry for scheduled scripts
* rename scheduldedscriptwithretry to singlescriptflow
* Schedule options under tabs
2023-12-22 14:59:46 +01:00
Guillaume Bouvignies
26670f62e5
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
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
7f9e8bf4b0
fix compile
2023-11-07 09:42:28 +01: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
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
03e48a4ca5
feat: add caching to flows and scripts ( #2193 )
...
* cachettl
* all
2023-08-29 13:00:20 +02:00
Ruben Fiszel
9ba54efab1
fix schedule edit issue
2023-08-22 19:30:55 +02:00
Ruben Fiszel
fbc62e8ca5
remove unecessary postgres transactions and improve performance
2023-08-22 00:34:44 +02:00
Ruben Fiszel
de8a7279b6
feat: migrate state path to new schema
2023-08-11 18:54:47 +02:00
Ruben Fiszel
4c870272d4
feat: add step's custom timeout
2023-07-30 20:42:24 +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: https://github.com/launchbadge/sqlx/blob/afb6b1066e61f8e3875f530d96cfb5a299f13fda/examples/postgres/transaction/src/main.rs#L14-L17
notice that I'm temporarly using my custom patch
https://github.com/mrl5/sqlx/commit/16e4c9a8f380214ad61b1744d3e1f5fa866ffbcc
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
34048f9ea6
feat: schedule error handler ( #1636 )
...
* handleError
* revert
* all
2023-05-23 20:25:41 +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
f568bb1bd8
fix script in schedule should use latest hash
2023-04-27 18:03:12 +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
3d031c7017
feat(backend): only run fully deployed scripts
2023-04-21 12:49:47 +02:00
Ruben Fiszel
34f48aa1e3
split worker.rs into more files
2023-04-13 17:44:47 +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
Oliver Veal
17176bb8d1
feat: improved cron/schedule editor ( #1362 )
...
* basic cron schedule editing ui
* schedules run in a user-specified timezone
* fix other uses of CronInput component
* use now() from database to schedule next job
* offset -> IANA timezone conversion on db migration
* sqlx ci
---------
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com >
2023-04-05 16:37:24 +02: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
d708b6faa5
fix permissioned_as from username
2023-01-17 12:49:24 +01:00
Ruben Fiszel
0f26a3b111
playwright against uffizzi ( #1109 )
...
* all
* fix perms
* move build to depot
* login
* revert to docker build
* revert to docker build
* fix playwright
2023-01-16 18:01:45 +01:00
Ruben Fiszel
f018d025a2
fix schedule permissions
2023-01-16 16:42:42 +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
31c317b358
feat: add include_header to pass request headers to script
2022-12-05 23:36:31 +01:00
Ruben Fiszel
dddba54bdc
fix edit schedule
2022-11-10 16:49:16 +01:00
Kai Jellinghaus
0034129a30
restructure the entire backend layout using workspaces ( #815 )
2022-10-29 11:58:06 +02:00