Ruben Fiszel
cfa956dcbd
Revert "refactor(backend): alternative approach for sqlx ^0.7 upgrade ( #1884 )" ( #1885 )
...
This reverts commit fa0fc7a4e2 .
2023-07-16 16:57:12 +03:00
Ruben Fiszel
1956c43705
feat: add schedule to syncable resources
2023-07-16 10:47:24 +02:00
Jakub Kołodziejczak
fa0fc7a4e2
refactor(backend): alternative approach for sqlx ^0.7 upgrade ( #1884 )
...
related to
* https://github.com/launchbadge/sqlx/pull/2617#issuecomment-1636808249
* https://github.com/launchbadge/sqlx/pull/2617#issuecomment-1637005378
2023-07-16 11:12:50 +03:00
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
4f292419de
feat: Front end for script concurrency limit ( #1863 )
...
* Front end for script concurrency limit
* Fix frontend
* sqlx prepare
* fix compile
* add flow inline scripts
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com >
2023-07-13 17:32:08 +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
b45c3d1132
bun fixes
2023-07-06 22:29:00 +02:00
Ruben Fiszel
4beba96724
select + drawer fix + explicit hash
2023-07-05 10:01:07 +02:00
Ruben Fiszel
c669e9940b
feat: native fetch + native postgresql jobs ( #1796 )
...
* push
* test
* test
* done
* fix
* modify script lang enum
* fix tests
* update wasm
* fix tests
2023-07-04 19:39:59 +02:00
Ruben Fiszel
7851e932ec
feat: smtp support to invite users ( #1777 )
...
* email support
* everyhting
* smtp
* update
* update
* update
* setup backend test
2023-06-29 10:34:44 +02:00
Ruben Fiszel
03da1f34f2
add proto postgresql backend support as a job language
2023-06-26 18:23:14 +02:00
Ruben Fiszel
4763242780
feat: cancel non-yet-running jobs and rework force cancellation
2023-06-25 18:02:00 +02:00
Ruben Fiszel
6813c383bc
add proto native http, psql, graphql jobs in backend
2023-06-23 12:42:01 +02:00
Ruben Fiszel
f9341af2fe
feat: add update checker on version info
2023-06-22 18:12:45 +02:00
Ruben Fiszel
4c594c0e64
feat: step mocking for flows
2023-06-22 12:01:08 +02:00
Ruben Fiszel
59e395a92a
feat: add schema form to approval steps
2023-06-20 11:59:13 +02:00
Ruben Fiszel
263e03c2bd
feat: remove the need for BASE_INTERNAL_URL
2023-06-12 12:00:42 +02:00
Ruben Fiszel
98e1fdd898
feat: support custom env variables ( #1675 )
...
* custom envs
* feat: custom envs
* only on non cloud
* remove unecessary imports
2023-06-05 17:42:57 +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
45641cbbab
make to_i64 more resilient and clearer error message on client setup
2023-06-01 17:15:37 +02:00
Ruben Fiszel
34048f9ea6
feat: schedule error handler ( #1636 )
...
* handleError
* revert
* all
2023-05-23 20:25:41 +02:00
Ruben Fiszel
38ec7d3a85
feat(backend): add windmill_status_code to run_wait_result
2023-05-09 02:46:53 +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
88e37fe0be
feat: introduce backend persisted draft systems for scripts
2023-04-30 15:56:52 +02:00
Ruben Fiszel
de9abd129d
feat(backend): add EXIT_AFTER_NO_JOB_FOR_SECS for ephemeral workers
2023-04-28 00:09:48 +02:00
Ruben Fiszel
324d4f5e9e
feat(backend): expose tag in the job ( #1486 )
...
* fix
* update tag
* update tag
* update tag
* fix
2023-04-27 19:09:53 +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
62d196ecec
add barrier when num workers > 1
2023-04-19 17:00:03 +02:00
Ruben Fiszel
29848ae466
add barrier when num workers > 1
2023-04-19 12:46:25 +02:00
Ruben Fiszel
11b9c8fadb
do a test run on first iteration
2023-04-13 21:54:42 +02:00
Ruben Fiszel
34f48aa1e3
split worker.rs into more files
2023-04-13 17:44:47 +02:00
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 and Ruben Fiszel
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
72c8d3921d
improve metrics
2023-04-10 11:53:32 +02:00
Ruben Fiszel
3097510550
only register prometheus metrics if they are enabled
2023-04-09 15:39:25 +02:00
Ruben Fiszel
facb67093c
feat(python): cache dependency resolution
2023-04-08 23:25:46 +02:00
Oliver Veal and Ruben Fiszel
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
94eecea02b
feat(backend): add /ready endpoint for workers
2023-04-05 10:34:25 +02:00
Ruben Fiszel
2e7871439a
consistent sort + minor nits
2023-03-30 17:27:21 +02:00
Ruben Fiszel
fbe5c18da0
feat: add force cancel
2023-03-30 00:42:13 +02:00
Ruben Fiszel
70a7089352
make superadmin_email permission be inherited by ephemeral tokens
2023-03-24 13:22:56 +01:00
Ruben Fiszel
ce323709a9
fix(cli): many small fixes
2023-03-11 20:16: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
0085b46c1e
fix(cli): add --fail-conflicts to ci push
2023-02-22 21:00:48 +01:00
Ruben Fiszel
441f087d42
remove references to starter workspace'
2023-02-22 13:56:24 +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
Ruben Fiszel
8ad2344ec6
improve cancel approval error message
2023-01-24 12:11:39 +01:00