Commit Graph
103 Commits
Author SHA1 Message Date
Ruben Fiszel 3e397df03e nit overflow and scrllbar height 2024-09-11 00:11:11 +02:00
Ruben Fiszel e30c344d32 feat: add load more to runs page if nb of jobs >= 1000 2024-09-04 22:45:35 +02:00
Ruben Fiszel f4446f292e nits scrollbar UX 2024-09-04 15:20:59 +02:00
Ruben Fiszel ce70693754 fix: improve wm_labels indices + UX nits 2024-09-04 11:40:23 +02:00
Ruben Fiszel d172e45766 fix: do not require hasNullParent only if scriptPathExact on runs search 2024-09-03 19:52:05 +02:00
Ruben Fiszel 71cdb1905e remove frontend warnings 2024-09-03 14:23:22 +02:00
Ruben Fiszel 2fe48df720 feat: service logs (#4244) 2024-08-31 14:57:35 +02:00
Ruben Fiszel 3111df749d nits running 2024-08-30 13:22:26 +02:00
Ruben Fiszel 5c82f815ae nits runs page 2024-08-30 00:03:21 +02:00
Ruben Fiszel 451b6bb22d nit remove debug text 2024-08-19 12:34:56 +02:00
Ruben Fiszel 0be8982ddc fix: improve scrolling performance of the runs page 2024-08-14 00:26:34 +02:00
Ruben Fiszel 7a68cc76c2 fix: improve logviewer behavior when job is loading 2024-08-13 20:34:46 +02:00
Ruben Fiszel 527183874c overscan nit for job list 2024-08-13 16:06:10 +02:00
Ruben Fiszel 2b99789077 feat(frontend): improve display of waiting jobs + schedule filter + suspended jobs on runs page 2024-08-13 10:41:36 +02:00
Ruben Fiszel fd1c456fad feat: embeddable apps using jwt (#4229)
* all

* all

* all
2024-08-13 00:11:54 +02:00
wendrul 7b3128171e feat: Tag filter on Runs page (#4193)
* Add warning of job search parse error + front fixes

* Add filter tag and add filters to small screen

* Fill missing property
2024-08-06 10:31:08 +02:00
Ruben Fiszel cc111ba7dc feat: improve indices of completed_runs for faster load 2024-08-05 12:46:07 +02:00
Ruben Fiszel 2b6f84e5d8 more clearly display loading when jobs filter change 2024-08-01 09:25:18 +02:00
Ruben Fiszel d69aa8d484 fix: improve index usage and runs page performance 2024-07-31 13:08:28 +02:00
Ruben Fiszel 99623f31af fix: improve runs page performance through pg indices 2024-07-27 12:16:13 +02:00
Ruben Fiszel ab686ea69e fix sveltekit conf 2024-07-22 22:36:56 +02:00
Ruben Fiszel 6e33e4e0b9 fix: fix BASE_URL build conf 2024-07-22 21:53:08 +02:00
Ruben Fiszel 3131e14ca3 fix: fix BASE_URL build conf 2024-07-22 20:56:13 +02:00
Ruben Fiszel c5891c2bb7 small nit BASE_URL 2024-07-22 19:34:33 +02:00
dd75dd446b fix: Allow deploying frontend in a sub directory (#3867)
* fix: Allow depolying frontend in a sub directory

Signed-off-by: Marcel Klehr <mklehr@gmx.net>

* fix: Allow depolying frontend in a sub directory

Signed-off-by: Marcel Klehr <mklehr@gmx.net>

* fix: Allow depolying frontend in a sub directory

Signed-off-by: Marcel Klehr <mklehr@gmx.net>

* fix: Allow depolying frontend in a sub directory

Signed-off-by: Marcel Klehr <mklehr@gmx.net>

* fix: Allow depolying frontend in a sub directory

Signed-off-by: Marcel Klehr <mklehr@gmx.net>

* fix: Allow depolying frontend in a sub directory

Signed-off-by: Marcel Klehr <mklehr@gmx.net>

* fix: Allow depolying frontend in a sub directory

Signed-off-by: Marcel Klehr <mklehr@gmx.net>

* fix: Allow depolying frontend in a sub directory

Signed-off-by: Marcel Klehr <mklehr@gmx.net>

* fix: Allow depolying frontend in a sub directory

Signed-off-by: Marcel Klehr <mklehr@gmx.net>

* fix: Allow depolying frontend in a sub directory

Signed-off-by: Marcel Klehr <mklehr@gmx.net>

* fix: Allow depolying frontend in a sub directory

Signed-off-by: Marcel Klehr <mklehr@gmx.net>

* fix: Allow depolying frontend in a sub directory

Signed-off-by: Marcel Klehr <mklehr@gmx.net>

* fix: Allow depolying frontend in a sub directory

Signed-off-by: Marcel Klehr <mklehr@gmx.net>

* fix: Allow depolying frontend in a sub directory

Signed-off-by: Marcel Klehr <mklehr@gmx.net>

* fix: Expose base path from $lib/navigation

Signed-off-by: Marcel Klehr <mklehr@gmx.net>

* fix: Allow deploying frontend in sub directory

Signed-off-by: Marcel Klehr <mklehr@gmx.net>

* fix: Allow deploying frontend in sub directory

Signed-off-by: Marcel Klehr <mklehr@gmx.net>

* fix: Allow deploying frontend in sub directory

Signed-off-by: Marcel Klehr <mklehr@gmx.net>

* fix: Allow deploying frontend in sub directory

Signed-off-by: Marcel Klehr <mklehr@gmx.net>

* fix: Allow deploying frontend in sub directory

Signed-off-by: Marcel Klehr <mklehr@gmx.net>

* update

* update

---------

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2024-07-22 19:26:17 +02:00
Ruben Fiszel b498664c76 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
Faton Ramadani 0b932cac6f fix(frontend): fix run page ms readability (#4059) 2024-07-10 19:05:47 +02:00
Ruben Fiszel db19c86a2d fix: improve input history 2024-07-08 11:41:27 +02:00
Ruben Fiszel 7248b0a5a9 fix: improve browser history navigation (back, forward) 2024-07-02 19:31:00 +02:00
Ruben Fiszel d13a357b26 feat: allow downloading args over the size limit 2024-07-02 17:54:19 +02:00
Ruben Fiszel 792bbb3ff9 feat: runs page have sharable args in hash of links 2024-07-02 13:16:57 +02:00
Ruben Fiszel 068167e182 nit show dates on version history 2024-07-02 10:14:00 +02:00
HugoCasa 991031b96d feat: include token label as end user (#3988)
* feat: include token label in audit logs + show end user in runs page

* fix: reverse username and permissioned as on runs page

* fix: ui nit

* fix: remove permissioned as from runs page
2024-07-02 09:37:17 +02:00
wendrul ca22a879dc fix: lookback selector to manually look for older jobs and prevent inaccurate concurrency graphs (#4007)
* Add lookback selector

* Add clear button on date picker set 2 day default on runs page

* No lookback on the runs chart

* Format

* Remove unnecessary lookback

* Change tooltip message

* Change tooltip message 2

* Remove redundancy

* small corrections

* Remove dark mode observer no longer used
2024-07-01 20:47:01 +02:00
Ruben Fiszel 2e184c9894 fix: improve runs page performance when minTs is defined 2024-06-30 13:09:00 +02:00
Ruben Fiszel e66243969e fix: improve runs page performance when minTs is defined 2024-06-30 13:03:48 +02:00
wendrul 4ef38233c1 fix: Improve cancel selected jobs action (#3960)
* Improve cancel selected action

* Add a `Select all` button
* Make the confirmation clearer by adding
* Fix bug where you could select uncancelable jobs throught the graph

* Switch buttons place
2024-06-24 15:24:25 +02:00
wendrul 7474145f0e 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 b6016abb22 fix: flow status viewer takes all the width on the runs page 2024-06-04 09:27:18 +02:00
203264b871 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
wendrul 5156e291fa feat: chart interactivity: click points on the graph to select the corresponding jobs (#3851)
* Make click on RunChart higlight and select job

* Select job when clicking on graph point

* Fix type of chart data object

* Persist selection on refresh and other changes
2024-05-30 19:26:11 +02:00
wendrulandRuben Fiszel 59b0adea8a Add warning for omitted obscured jobs (#3790)
* Add warning for omitted obscured jobs

* Update RunsTable.svelte

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-05-22 21:14:52 +02:00
Faton Ramadani 518d8b916b fix(frontend): Fix path overflow on the Runs page (#3781) 2024-05-21 19:46:53 +02:00
wendrul 2efe5f9f10 Win 130 concurrency observability fixes (#3782)
* Resize badge and add filter by key button

* Make status filters icononly with tooltip

* nit: replace current job None with empty

* tooltip should be on the same row with flex

* Expand selected on ToggleButtonMore

* Make a common definition of UnifiedJob fields
2024-05-21 19:28:05 +02:00
wendrulandRuben Fiszel 1001b1e664 Fix list jobs and intervals mismatch (#3767)
* fix: mismatch when filtering on concurrency key

Fix a mismatch between to endpoints when filtering by concurrency key

* Add ObscuredJob type on openapi spec

* Correct unit for graph

* Finish frontend changes

* Add field indicating if obscured jobs were omitted

* impl from for ListQueueQuery and factor logic

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-05-21 12:21:25 +02:00
wendrul d3942097df Add concurrency limits observability (#3586)
* Add concurrency_key table and field to payload

Add a new table custom_concurrency_key for storing concurrency keys on a
per job basis. Add the field to the job payload to populate the table on
creation of a new job.

* Rename to custom_concurrency_key

Be more explicit about the nature of the option variable by calling it
a more appropriate name.

* Delete concurrency_keys on delete_expire_items

* Propagate db errors up

* Add ref to EE changes

* update sqlx

* Add concurrency_key to tests

* Revert renaming of FlowValue field

FlowValue field concurrency_key must be named concurrency_key for
serialization purposes.

* Remove debug print statement

* Get concurrency_key from Job

Whether it is a Completed job or a queued one, add a ways to get the
associated concurrency key

* Add endpoint to get concurrency_key

* Add endpoint and button to get job concurrency_key

Add a line with a link on the FlowMetadata that goes to the
concurrency_groups page. add endpoint to get the concurrency_key of a
job

* Merge concurrency_key tables into one

migration + change all related querrys

* Add concurrency plot to the runs page

* Prepare sqlx

* Add concurrency Key filter on UI

* Prepare sqlx

* Prepare sqlx

* Fix filter and order query

The limit makes more sense if we cut the older rows, so order by
started_at

* Factor interpolation to reuse on concurrency key

Factor the arg interpolation logic into a function and finish the
processing of concurrency key before insertion

* Remove old concurrency key processing logic

* Second transaction with userdb

To send all concurrency intervals but revealing only uuids of accessible
jobs, make a second transaction with the userdb.

* Remove old second endpoint

the intervals endpoint now also gets the concurrencyt key information
for all jobs

* Show external jobs

* Put filters into a dropdown

Create a ToggleButtonMore and put elements into a dropdown

* Add toggle between two graphs

* Add filter functionality to concurrency graph

* Improve concurrency graph front

* Fix concurrency groups page

* Prepare sqlx

* Add ref to ee

* Change migration to create new table instead

Instead of renaming the custom_concurrency_key_ended atble, we create a
new table and we will delete custom_concurrency_key_ended in the future
when it is no longer linked to any jobs

* Do small UI improvements

* Fix range fusion by not filtering past jobs

Instead of filtering jobs in the backend on a startedAfter value, limit
the query to 1000 and query all possible towards the past to get a good
context for the graph in most sane situations

* Improve frontend UI
2024-05-15 20:15:14 +02:00
Ruben Fiszel caa11c6506 fix: re-release nit 2024-05-02 01:10:41 +02:00
Ruben Fiszel f3ac6bfd7a improve runs nit UX 2024-05-02 00:48:15 +02:00
Ruben Fiszel cec27a87b8 feat: add planned later toggle on runs 2024-04-24 18:17:25 +02:00
Ruben Fiszel 6951424611 improve labels handling 2024-04-24 11:44:29 +02:00