Commit graph

41 commits

Author SHA1 Message Date
4d222e971c Restrict graph to tracked commits 2023-08-16 00:58:44 +02:00
91e4883137 Fix data preparation 2023-08-16 00:10:25 +02:00
678d3f391b Show metrics as tree 2023-08-15 23:21:15 +02:00
82e2385f59 Group migrations 2023-08-15 19:01:28 +02:00
2714280567 Sort commits topologically 2023-08-15 16:08:31 +02:00
33ca3207e7 Show only tracked commits 2023-08-15 01:00:12 +02:00
476fd84d2d Display test graph 2023-08-15 00:59:46 +02:00
3c9fc1ce75 Return graph data at /graph/data 2023-08-14 23:45:05 +02:00
dd073b4c0d Include worker name and info in run 2023-08-14 14:26:53 +02:00
2620530cc2 Implement queue task deletion 2023-08-14 12:41:47 +02:00
7f975a1fd0 Implement more /admin/queue/* endpoints 2023-08-14 12:23:22 +02:00
1da946be10 Fix recurring task crash
It would fail when inserting a commit into the queue that was already in
the queue, instead of just skipping that commit.
2023-08-14 12:23:22 +02:00
cf8ab2884f Show finished runs 2023-08-13 22:59:45 +02:00
373b3168f1 Port commit page 2023-08-13 21:26:06 +02:00
087ecfd783 Move /commit/:hash/enqueue to /admin/queue/add 2023-08-13 15:56:34 +02:00
c7a89867a7 Restructure shared types and db columns
Now, the server sends the runner pretty much all run metadata. This way,
the reservation the server makes for the runner is accurate, providing
the runner responds with the same metadata it was sent. It also means
that only the server's system clock is relevant for tie breakers, and a
run's duration spans from the moment it is reserved to the moment it is
saved.

Also, the bench method is now always called `bench_method` and a
human-readable description is stored in the database for each run.
2023-08-12 21:23:36 +02:00
48693d3f1c Add "Enqueue" button to commits 2023-08-11 16:50:32 +02:00
5e0b8e3c8c Store finished work in db 2023-08-11 15:16:20 +02:00
f3d646c8d5 List runners in queue 2023-08-10 23:04:34 +02:00
c713abc5d3 Implement /api/runner/status 2023-08-10 18:47:44 +02:00
e5de9ccb97 Identify queue items by commit hash, not id 2023-08-09 16:20:20 +02:00
794787a4be Use same commit link style everywhere 2023-08-06 23:40:13 +02:00
2b81d497bc Show individual tasks 2023-08-06 21:49:17 +02:00
ad5da60b5a Show queued tasks 2023-08-06 20:48:50 +02:00
4f11b9c912 Insert new commits into the queue 2023-08-06 18:33:50 +02:00
553a56bb12 Rename db to util and use OffsetDateTime with sqlx 2023-08-06 17:41:07 +02:00
b8c3ce5d47 Order parents and children 2023-08-06 13:57:17 +02:00
520ee0f7da Sort and count refs 2023-08-06 13:53:31 +02:00
72f762464d Show all refs on index page 2023-08-06 13:45:16 +02:00
dca83eed55 Show tracked refs from db 2023-08-06 13:14:21 +02:00
21d97a5bf4 Store all refs in the db 2023-08-06 12:59:15 +02:00
7768e4ad4b Serve commit page entirely from the db 2023-08-06 11:53:48 +02:00
0d3cd15b03 Store more commit info in db 2023-08-06 10:47:45 +02:00
d031eee14e Grey out untracked children 2023-08-06 00:53:26 +02:00
128384bcf7 Add /commit/:hash page 2023-08-05 23:26:49 +02:00
e17483b4d6 Set up base template 2023-08-05 14:22:31 +02:00
1f66fe0299 Add "tracked" column to table "commits" 2023-08-05 11:52:51 +02:00
5dbd8e886b Initialize repo and update tracked refs 2023-08-05 02:51:04 +02:00
5871b19f8e Fix repo update choking on duplicated parents 2023-08-05 01:55:40 +02:00
6651c72ea3 Insert new commits from repo 2023-08-05 00:32:40 +02:00
4028c3eea2 Set up sqlx query* macros 2023-08-04 13:27:23 +02:00