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-06-03 16:02:21 +02:00
2024-05-23 17:23:50 +02:00
2024-06-03 16:05:15 +02:00
2024-05-27 18:29:42 +02:00
2024-05-27 07:51:49 +02:00
2024-06-03 15:13:15 +02:00
2024-05-23 20:17:34 +02:00
2024-05-23 16:49:18 +02:00
2024-05-15 08:12:11 +02:00
2024-06-03 16:05:15 +02:00
2024-05-21 19:47:19 +02:00
2024-01-26 15:44:01 +01:00
2023-08-20 10:17:06 +02:00
2024-05-31 11:59:51 +02:00
2024-06-03 16:05:15 +02:00
2024-05-10 23:56:55 +02:00
2024-04-22 12:19:23 +02:00
2024-04-24 11:50:56 +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-01 10:25:48 +02:00
2024-04-17 21:42:46 +02:00
2024-05-14 22:11:52 +02:00
2024-05-27 07:51:49 +02:00
2024-05-27 07:51:49 +02:00
2024-05-31 11:59:51 +02:00
2024-05-31 12:58:17 +02:00
2023-10-17 22:44:47 +02:00
2024-02-22 17:42:59 +01:00
2024-04-30 22:01:19 +02:00
2024-05-27 07:51:49 +02:00
2024-02-29 13:00:42 +01:00
2024-02-10 13:40:34 +01:00
2024-02-10 13:40:34 +01:00
2023-12-09 14:50:29 +01:00
2023-12-05 19:49:18 +01:00
2024-05-12 17:43:55 +02:00
2024-02-19 14:26:00 +01:00
2023-10-07 19:54:36 +02:00
2024-03-12 11:55:18 +01:00
2024-01-05 09:13:05 +01:00
2024-02-02 23:17:33 +01:00
2023-11-10 09:43:10 +01:00
2024-05-21 12:21:25 +02:00
2024-04-11 10:14:36 +02:00
2024-03-27 18:19:37 +01:00
2023-11-10 09:43:10 +01:00
2024-04-10 14:54:33 +02:00
2024-05-27 07:51:49 +02:00
2023-11-10 00:12:36 +01:00
2024-03-19 09:01:41 +01:00
2024-05-14 22:15:16 +02:00
2024-05-09 18:35:50 +02:00
2024-03-19 08:17:51 +01:00
2024-04-19 18:58:39 +02:00
2024-03-12 21:50:24 +01:00
2024-04-23 23:10:29 +02:00
2024-04-23 23:10:29 +02:00
2024-04-17 21:42:46 +02:00
2024-02-07 00:42:23 +01:00
2024-05-23 20:36:16 +02:00
2024-06-03 15:13:15 +02:00
2024-04-24 11:51:21 +02:00
2024-05-31 11:59:51 +02:00
2024-04-16 20:51:19 +02:00
2024-06-03 16:05:15 +02:00
2024-05-21 21:58:48 +02:00
2024-05-29 12:54:24 +02:00
2024-05-29 12:54:24 +02:00
2023-11-12 21:26:44 +01:00
2024-05-02 00:42:50 +02:00
2024-03-12 21:50:24 +01:00
2024-06-03 15:13:15 +02:00
2023-11-19 11:46:48 +01:00
2024-05-06 14:03:16 +02:00
2024-05-08 14:36:33 +02:00
2024-05-14 22:11:52 +02:00
2024-04-17 21:42:46 +02:00
2024-05-21 07:28:31 +02:00
2024-05-16 20:34:15 +02:00
2024-04-09 18:43:50 +02:00
2024-06-03 16:05:15 +02:00
2024-04-17 21:42:46 +02:00
2024-06-03 16:05:15 +02:00
2023-10-13 16:23:47 +02:00
2023-11-15 18:44:16 +01:00
2024-02-23 23:12:50 +01:00
2023-08-27 11:03:49 +02:00
2024-02-06 15:13:20 +01:00
2024-03-27 19:07:19 +01:00
2023-11-12 21:26:44 +01:00
2024-03-27 18:19:37 +01:00
2024-05-15 08:12:11 +02:00
2024-03-14 15:21:31 +01:00
2024-05-21 21:58:48 +02:00
2024-02-13 15:52:03 +01:00
2023-08-19 01:02:37 +02:00
2024-03-27 18:19:37 +01:00
2024-05-29 16:28:00 +02:00
2024-05-29 16:28:00 +02:00
2024-02-20 14:41:10 +01:00
2024-01-06 16:55:43 +01:00
2023-11-19 18:26:22 +01:00
2024-04-05 16:43:38 +02:00
2024-05-14 22:11:52 +02:00
2024-06-03 16:05:15 +02:00
2023-12-17 02:05:15 +01:00
2023-09-26 11:56:02 +02:00
2024-05-14 22:15:16 +02:00
2024-05-27 07:51:49 +02:00
2024-05-27 07:51:49 +02:00
2024-05-27 13:03:41 +02:00
2024-05-27 07:51:49 +02:00
2024-04-09 18:26:09 +02:00
2024-05-27 13:03:41 +02:00
2024-05-14 23:22:11 +02:00
2024-02-10 19:51:44 +01:00
2024-03-27 14:53:47 +01:00
2024-01-05 09:13:05 +01:00
2024-04-17 21:42:46 +02:00
2024-05-21 21:58:48 +02:00
2024-04-17 21:42:46 +02:00
2024-03-26 19:07:21 +01:00
2024-04-22 15:59:13 +02:00
2024-01-09 05:22:54 +01:00
2024-05-11 00:54:38 +02:00
2024-05-11 00:54:38 +02:00
2023-10-10 17:05:18 +02:00
2024-02-16 17:53:47 +01:00
2024-05-22 00:36:04 +02:00
2024-01-08 15:16:45 +01:00
2024-01-31 23:10:34 +01:00
2024-05-31 14:23:27 +02:00
2024-05-29 16:28:00 +02:00
2024-05-27 07:51:49 +02:00
2024-02-21 14:50:23 +01:00
2024-06-03 15:13:15 +02:00
2023-12-08 00:18:41 +01:00
2024-04-30 11:10:27 +02:00
2024-05-16 16:47:39 +02:00
2024-01-09 05:22:54 +01:00
2024-05-01 20:26:50 +02:00
2024-05-27 07:51:49 +02:00
2024-01-26 15:44:01 +01:00
2023-10-16 10:46:55 +02:00
2024-05-30 10:59:10 +02:00
2024-05-30 19:26:11 +02:00
2024-03-26 19:07:21 +01:00
2024-03-26 19:07:21 +01:00
2024-02-10 00:37:35 +01:00
2024-05-31 11:59:51 +02:00
2024-01-29 11:41:04 +01:00
2024-05-15 20:15:14 +02:00
2023-10-16 10:46:55 +02:00
2024-05-21 07:28:31 +02:00
2024-05-27 07:51:49 +02:00
2024-05-21 21:58:48 +02:00
2024-05-27 07:51:49 +02:00
2024-06-03 15:13:15 +02:00
2024-05-29 12:54:24 +02:00
2024-04-17 21:42:46 +02:00
2024-03-01 20:27:27 +01:00
2024-01-11 00:45:36 +01:00
2023-12-05 15:45:36 +01:00
2024-02-08 15:46:10 +01:00
2024-04-17 22:58:23 +02:00
2024-04-29 12:13:12 +02:00
2023-11-10 09:43:10 +01:00
2024-05-28 16:05:56 +02:00
2024-03-27 18:19:37 +01:00
2024-04-17 21:42:46 +02:00
2024-03-23 11:40:55 +01:00
2024-04-29 12:13:12 +02:00
2024-04-17 21:42:46 +02:00
2024-05-12 04:16:04 +02:00
2024-03-12 21:52:22 +01:00
2024-02-20 09:15:29 +01:00
2023-09-29 13:57:36 +02:00
2023-11-04 08:45:03 +01:00
2024-04-22 12:19:23 +02:00
2024-05-15 16:09:48 +02:00
2024-02-26 20:01:20 +01:00
2023-12-12 06:58:00 +01:00
2024-03-26 11:21:59 +01:00
2024-04-05 09:53:42 +02:00
2024-04-22 12:19:23 +02:00
2024-02-06 12:10:22 +01:00
2024-03-10 20:36:12 +01:00
2024-03-05 12:45:24 +01:00
2024-05-25 10:38:03 +02:00
2023-12-20 13:00:06 +09:00