Commit graph

12 commits

Author SHA1 Message Date
2b6c339c70 Port queue page 2023-08-14 12:23:22 +02:00
1ead78d44f Make static file links typesafe 2023-08-13 20:49:48 +02:00
e64ea7ac12 Make most links typesafe 2023-08-13 20:49:48 +02:00
4ccf06db8b Use typed paths for all endpoints 2023-08-13 19:30:52 +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
6f4793bcf2 Rename runners to workers 2023-08-11 02:12:38 +02:00
7911a67906 Overhaul runner protocol
The JSON should now be nicer to work with.
2023-08-11 02:12:38 +02:00
b16b3a668e Fix runners not disappearing 2023-08-11 02:12:38 +02:00
f3d646c8d5 List runners in queue 2023-08-10 23:04:34 +02:00
e5de9ccb97 Identify queue items by commit hash, not id 2023-08-09 16:20:20 +02:00
7635af88cd Move util module to server module 2023-08-07 14:51:26 +02:00
45abda2b6d Move server code into its own module 2023-08-07 14:23:47 +02:00
Renamed from src/web/queue.rs (Browse further)