Files
windmill/frontend/src/lib/components
wendrul 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
..
2024-05-15 08:12:11 +02:00
2023-08-20 10:17:06 +02:00
2024-05-10 23:56:55 +02:00
2024-04-22 12:19:23 +02:00
2024-05-27 15:58:31 +02:00
2024-05-30 15:05:42 +02:00
2024-04-17 23:03:20 +02:00
2024-05-31 12:58:17 +02:00
2024-04-30 22:01:19 +02:00
2024-02-02 23:17:33 +01:00
2024-04-11 10:14:36 +02:00
2023-11-12 21:26:44 +01:00
2024-05-21 07:28:31 +02:00
2024-05-16 20:34:15 +02:00
2024-05-15 08:12:11 +02:00
2024-05-14 23:22:11 +02:00
2024-03-27 14:53:47 +01:00
2024-05-11 00:54:38 +02:00
2024-05-11 00:54:38 +02:00
2024-01-31 23:10:34 +01:00
2024-02-21 14:50:23 +01:00
2024-05-30 10:59:10 +02:00
2024-05-21 07:28:31 +02:00
2024-04-17 22:58:23 +02:00
2024-03-12 21:52:22 +01:00
2024-04-22 12:19:23 +02:00
2024-04-22 12:19:23 +02:00