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