Commit Graph

274 Commits

Author SHA1 Message Date
Ruben Fiszel 7235aa5d65 fix: improve password field lifetime incorrectly recycled too early 2024-08-16 17:28:10 +02:00
HugoCasa 069dfe9601 sqlx for refresh cgroup readings (#4251) 2024-08-16 14:11:56 +02:00
Ruben Fiszel 8e9aeefbc2 fix compile 2024-08-13 17:06:51 +02:00
Ruben Fiszel 8950aae44e feat(frontend): improve display of waiting jobs + schedule filter + suspended jobs on runs page 2024-08-13 10:41:36 +02:00
HugoCasa be48eaaeff fix: handle >1 num workers stats (#4177)
* fix: handle >1 num workers stats

* fix: sqlx

* fix: ee ref test

* fix: sqlx + ee ref

* update ee ref
2024-08-07 17:52:39 +02:00
HugoCasa fba0817dd5 fix: email triggers sqlx CE and improve email parsing (#4203)
* fix: CE sqlx

* update ee ref
2024-08-06 23:05:36 +02:00
wendrul af0e901954 feat: deployment UI filter deployable items (#4183)
* Add column to workspace settings table

* Add endpoint to change the deploy UI settings

* Make frontend page to edit UI settings

* Prepare sqlx

* Add deployment restrictions to frontend

* Fix function name

* Change dependency to minimatch, CE compatibility

* Remove default include_path

* Remove picomatch types (old dep)

* Use empty list instead of globstar as default

* All deployable if config is null
2024-08-05 13:27:13 +02:00
Ruben Fiszel 9dc47d7bd9 update sqlx 2024-08-01 18:19:21 +02:00
Ruben Fiszel 69e400563c feat: variables created by password fields expire after 7 days 2024-08-01 16:05:03 +02:00
Ruben Fiszel 78c115c68c fix: improve index usage and runs page performance 2024-07-31 13:08:28 +02:00
Ruben Fiszel 340868d282 feat: remove nativets in favor of bun with native pragma 2024-07-29 19:26:26 +02:00
Ruben Fiszel d00cb20375 improve slightly concurrency run min started_at query 2024-07-27 12:43:24 +02:00
Ruben Fiszel 6df0b31d20 improve slightly concurrency run min started_at query 2024-07-27 12:28:55 +02:00
Ruben Fiszel 68c13e5702 chore: update sqlx to 0.8.0 2024-07-24 11:51:54 +02:00
wendrul bad678be43 Prepare sqlx (#4122) 2024-07-23 20:03:30 +02:00
wendrul f98518e241 Prepare sqlx (#4121) 2024-07-23 19:54:31 +02:00
HugoCasa b4bfc404f0 fix: sqlx build (#4120) 2024-07-23 17:14:36 +02:00
HugoCasa ecf4706784 feat: rehydrate instance settings/configs/users from CLI (#4035)
* feat: rehydrate instance settings/configs/users from CLI

* fix: nits

* feat: encryption key, saved instances, include all workspaces

* preshot client version

* Update deps.ts
2024-07-15 19:38:44 +02:00
Ruben Fiszel 7f2cbb40f6 feat: improve flow status viewer (show branch chosen + all iterations in for loop) (#4074)
* all

* all

* all

* all

* all
2024-07-13 18:53:24 +02:00
Ruben Fiszel 45c895d72d fix sqlx 2024-07-11 22:40:41 +02:00
Ruben Fiszel 2cb137c067 feat: improve cancel all for non started jobs (#4065)
* update version

* improve cancelAll

* improve error

* update sqlx
2024-07-11 17:11:29 +02:00
wendrul af444c8b36 feat: Full-text search on runs using tantivy and command palette for quick actions (#4046)
* Add indexer crate and files

* POC searcher

incomplete schema
only indexes at startup

* POC search component frontend

* Demo of the frontend element

* add Results and Args as text

* minimal functionality

* Make jump to scripts by name

also flows and apps

* Add button on sidebar to open search

* Update lock on indexer after merge

* Make arrow key navigation compatible with scrol

* Show empty result screen and log as a coming feat

* Add summary to script searchable items

* Catch `parts is undefined` error (uFuzzy)

* Index refreshing using tokio interval

* Fix JobLoader workspace being wrongly defined

* Fix click outside

* Add debouncing for completed run search

* Binary mode working + job index tracker

* Warning for no license + fix height scrollbars on content search

* Make it compile without EE files

* remove panic to use errors

* Move global search

* Cleanup UI, no more tab switcher but clear placeholders and actions

* Add tantivy feature flag for windmill-api

* Rework indexer mode

* Mac compatibility for shortcut

* Update test for new run_server

* Prepare sqlx

* Mac compatibility

* Fix openapi yaml

* Fix frontend

* Frontend api fix

* Update docker-compose.yml and caddyfile

With the (by default deactivated) container and reverse proxy to use the
windmill indexer

* fix feature flag for tests

* fix feature falg for running tests

* fix feature flag for running tests

* Make content search use search modal instead

* Add tantivy feature to ee build steps

* Remove old Content search

* change volume location for indexer

* Update dependencies

* Prepare sqlx

* Uncomment line on docker compose

* Add line between input and results

* Update ee repo ref
2024-07-11 11:13:27 +02:00
Ruben Fiszel be7e7ba05c fix: fix migration for instances starting from scratch 2024-07-11 02:12:51 +02:00
Ruben Fiszel a443368d41 specialize soft cancel filter 2024-07-11 01:27:56 +02:00
Ruben Fiszel 9e27ee8b57 improve try migration lock 2024-07-11 01:15:12 +02:00
Ruben Fiszel 7fe93fb506 fix: improve performance of cancel_all 2024-07-11 00:41:03 +02:00
Ruben Fiszel 2836eaf765 sqlx 2024-07-11 00:12:11 +02:00
HugoCasa bbcaec9769 fix: improve flow version fix migration (#4050) 2024-07-09 11:02:53 +02:00
HugoCasa ff8d51a8db fix: always run flow versioning edge case fix migration (#4047) 2024-07-08 22:52:04 +02:00
HugoCasa af3fd09d80 fix(backend): make value of flow_version not null (#4039)
* fix: flow versioning nit: make value of flow version not null

* fix: sqlx

* fix: missing code change

* fix: improve nit migration
2024-07-08 11:56:53 +02:00
Ruben Fiszel a3f40bf0e4 fix sqlx 2024-07-08 11:55:59 +02:00
HugoCasa 0a613b76c8 fix: flow versioning edge case (#4037) 2024-07-07 20:04:42 +02:00
Ruben Fiszel 0ada83a80a fix: fix wrong interaction between suspended steps and forloop parallelism 2024-07-04 14:53:43 +02:00
HugoCasa 7f2289d4d5 feat: flow versioning (#4009)
* feat: flow versioning

* fix: sqlx

* fix: update schedule test for flow versioning

* fix: with_deployment_msg + UI nits

* fix: nit

* fix: improve down migration

* patch: keep latest flow version in flow table for backward compat

* fix: app deployments in list view

* chore: update ee ref

* fix: merge

* fix: tests
2024-07-03 15:53:45 +02:00
HugoCasa 5e23cc26d0 fix: improve flow cancellation (#4013)
* fix: improve flow cancellation

* fix: sqlx

* fix: cancel shortcut when no parent and not running
2024-07-03 14:50:52 +02:00
Ruben Fiszel 1beb1b1fd2 feat: allow downloading args over the size limit 2024-07-02 17:54:19 +02:00
HugoCasa ae9607082b fix: remove useless metrics (#3962)
* fix: remove useless metrics

* fix: nit

* feat: update ee ref (renew key on start + vcpu usage)

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-06-26 15:28:09 +02:00
HugoCasa 86f124f8ed fix: parallel branchall disordered skip failure retrieval (#3975)
* fix: parallel branchall disordered skip failure retrieval

* fix: use regex for branchall index

* patch(frontend): default to parallel branch all
2024-06-26 12:23:09 +02:00
HugoCasa ec673ac6b4 feat: schedule pausing (#3976)
* feat: schedule pausing

* fix: improve UI
2024-06-25 23:39:34 +02:00
Ruben Fiszel ece86d9d14 fix: improve perf of forloop with parallelism massively 2024-06-22 14:14:15 +02:00
HugoCasa 6933f06f1c feat: add extra metadata to folders/resources/types + path prefix filtering for all + improve groups UI (#3936)
* feat: add extra metadata to folders/schedules/resources/types

* feat: add path prefix filter to api

* chore: updatee ref

* feat: improve groups UI

* fix: nit

* fix: nit
2024-06-22 01:29:23 +02:00
Ruben Fiszel f41972d085 add timeout for cancel jobs (#3941) 2024-06-20 21:22:44 +02:00
Ruben Fiszel afd74183c9 nit cancel improvement 2024-06-20 13:16:28 +02:00
HugoCasa 93f58056a0 feat: replace ephemeral tokens by jwt (#3908)
* feat: replace ephemeral tokens by jwt

* fix: migration + sqlx

* fix: tests, agent, ee ref

* fix: sqlx

* fix: tests

* fix: jwt prefix change + fix tests

* fix: nit

* fix: handle agent mode
2024-06-14 13:07:35 +02:00
Ruben Fiszel 111166221e fix: fix dependency tracking for single scripts 2024-06-11 21:32:10 +02:00
wendrul 3a9a0660a6 feat: cancel jobs based on filters (#3874)
* WIP

* Add endpoint to cancel jobs

* Fix endpoints and add modal to cancel jobs

* Add useful tooltips and warnings

* Fix openapi.yml

* Prepare sqlx

* Prepare sqlx

* Select jobs to cancel

* Prepare sqlx

* Remove unused variable

* Make small fixes

- gap between buttons
- dropdown in one button with chevron instead of two buttons
- filters shown on the cancel filtered modal
2024-06-11 17:12:30 +02:00
Ruben Fiszel c8915063c4 feat: track dependency map for bun + inline script of flows 2024-06-08 16:43:48 +02:00
Ruben Fiszel 5f56627aab fix sqlx 2024-06-05 13:32:23 +02:00
wendrul 62f889c9da feat: warn when jobs spent a long time waiting in queue (#3856)
* Store jobs that waited for too long

* Add warnings as badges for long waited jobs

* Separate into self_wait_time and aggregate

Change the UI accordingly

* Prepare sqlx

* Update backend/windmill-queue/src/jobs.rs

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Fix incorrect query

* Prepare sqlx

* Move insert to pull + UI fixes

Insert as soon as the job is pulled and therefore started.
Add a badge on the lfow timeline to show the self wait time

* Move to after the pull in the worker

Move the logic to after the pull in the worker in the case its not a
noop

* Remove weird line

* Remove unnecessary async

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-06-03 16:05:15 +02:00
Ruben Fiszel e666f837cd fix: further restrict job api to logged in workspace users or anonymous jobs only" (#3860) 2024-06-03 15:13:15 +02:00