aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/run_queue.h (unfollow)
Commit message (Collapse)Author
2023-11-15implement a command to list runsEgor Tensin
2023-07-04sanitize #include-sEgor Tensin
2023-07-04move custom message parsing to a separate moduleEgor Tensin
2023-07-04storage: mark completed runs as suchEgor Tensin
2023-07-04storage: requeue old runs from storage on startupEgor Tensin
2023-07-04sqlite: store new runs in SQLiteEgor Tensin
2023-06-09STAILQ -> SIMPLEQEgor Tensin
2023-05-15rework server-worker communicationEgor Tensin
OK, this is a major rework. * tcp_server: connection threads are not detached anymore, the caller has to clean them up. This was done so that the server can clean up the threads cleanly. * run_queue: simple refactoring, run_queue_entry is called just run now. * server: worker threads are now killed when a run is assigned to a worker. * worker: the connection to server is no longer persistent. A worker sends "new-worker", waits for a task, closes the connection, and when it's done, sends the "complete" message and waits for a new task. This is supposed to improve resilience, since the worker-server connections don't have to be maintained while the worker is doing a CI run.
2023-05-13ci_queue -> run_queueEgor Tensin
Also, some minor refactoring.