Commit graph

17 commits

Author SHA1 Message Date
437be12f14 Abort run when signaled to by server 2024-05-13 17:02:45 +02:00
dbb9d487b3 Log errors as internal lines 2024-05-13 16:56:45 +02:00
5a4784be56 Create module for primitive types 2024-05-13 15:48:42 +02:00
b59b4f8463 Mention server in worker log messages 2023-08-17 17:30:48 +02:00
f12da915a9 Switch from tracing to log crate 2023-08-17 03:09:24 +02:00
6050415fce Fix warnings 2023-08-16 02:57:32 +02:00
3cf444ffc2 Remove todos 2023-08-14 17:51:48 +02:00
1ec72c92d5 Allow worker to specify bench method as string 2023-08-14 16:47:00 +02:00
01124d719b Add optional run end time override 2023-08-14 14:15:38 +02:00
0bad08eca9 Perform runs with internal bench logic 2023-08-12 21:40:14 +02:00
0196709a64 Make RunInProgress fields private 2023-08-12 21:23:36 +02:00
b7c0443005 Ask servers for runs and perform them 2023-08-12 21:23:36 +02:00
e644f2be65 Send actual runner status to server 2023-08-12 21:23:36 +02:00
416e3e6aa1 Implement internal runner 2023-08-12 14:21:48 +02:00
d15d6588f7 Improve and fix runner API
- The server now also signals abort_work if the commit is no longer in
  the queue.
- The server now immediately reserves the work it gives to the worker,
  so other idle workers won't get the same work.
- The server now chooses a run id, not the worker. The worker can still
  submit work under arbitrary run ids when no id is known, for example
  when importing runs from another database.
2023-08-12 13:19:16 +02:00
9fc7c22ae8 Dispatch based on bench method 2023-08-12 02:26:15 +02:00
b23fc6460f Start runs and coordinate with server 2023-08-12 02:16:05 +02:00