debian-forge-composer/internal/worker
Michael Vogt 3df26ed79c osbuild-worker: fix "crashing" on worker registration issues
When the osbuild worker cannot register itself with the server
on startup the worker will "crash". This is inconsistent with the
existing behavior in `workerHeartbeat()` which deals with connectivity
or other server issue gracefully and retries periodically.

To unify the behavior this commit changes the behavior and only
issues a `logrus.Warnf` instead of the previous `Falalf` when
the registration fails.

Co-authored-by: Florian Schüller <florian.schueller@redhat.com>
2024-09-10 16:19:47 +02:00
..
api worker: add ability to track workers serverside 2023-12-06 17:22:36 +01:00
clienterrors clienterrors: rename WorkerClientError to clienterrors.New 2024-07-31 17:04:58 +02:00
client.go osbuild-worker: fix "crashing" on worker registration issues 2024-09-10 16:19:47 +02:00
client_test.go osbuild-worker: fix "crashing" on worker registration issues 2024-09-10 16:19:47 +02:00
json.go clienterrors: rename WorkerClientError to clienterrors.New 2024-07-31 17:04:58 +02:00
json_test.go clienterrors: rename WorkerClientError to clienterrors.New 2024-07-31 17:04:58 +02:00
proxy_test.go worker: add proxy support to composer and oauth calls 2022-05-03 06:19:31 +01:00
server.go clienterrors: rename WorkerClientError to clienterrors.New 2024-07-31 17:04:58 +02:00
server_test.go clienterrors: rename WorkerClientError to clienterrors.New 2024-07-31 17:04:58 +02:00