debian-forge-composer/cmd
Tom Gundersen 626530818d worker/server: requeue unresponsive jobs
If a job is unresponsive the worker has most likely crashed or been shut
down and the in-progress job been lost.

Instead of failing these jobs, requeue them up to two times. Once a job is lost
a third time it fails. This avoids infinite loops.

This is implemented by extending FinishJob to RequeuOrFinish job. It takes a
max number of requeues as an argument, and if that is 0, it has the same
behavior as FinishJob used to have.

If the maximum number of requeues has not yet been reached, then the running
job is returned to pending state to be picked up again.
2022-11-02 15:26:00 +01:00
..
gen-manifests distro: replace ostree.RequestParams with new OSTreeImageOptions 2022-10-11 10:00:22 +02:00
mock-dnf-json mock-dnf-json: Add support for search command 2022-08-23 22:47:46 +01:00
osbuild-auth-tests golangci-lint: The parameters passed to exec.Command are safe 2022-09-15 03:57:40 -07:00
osbuild-composer osbuild-composer: Set ReadHeaderTimeout to 5s 2022-09-15 03:57:40 -07:00
osbuild-composer-cli-tests osbuild-composer-cli-tests: new weldr-client compatibility 2022-09-13 16:06:19 +01:00
osbuild-composer-dbjobqueue-tests dbjobqueue: use background context when closing listener 2022-09-02 12:52:50 +02:00
osbuild-composer-image-definitions Tools: fetch image test case generation matrix from composer 2022-05-13 21:01:37 +03:00
osbuild-composer-manifest-tests Manifests test: ensure that every image type has test coverage 2022-05-13 21:01:37 +03:00
osbuild-dnf-json-tests distro: replace ostree.RequestParams with new OSTreeImageOptions 2022-10-11 10:00:22 +02:00
osbuild-image-tests osbuild-image-tests: ignore LVM UUID 2022-07-12 13:28:36 +02:00
osbuild-koji koji: fix excessive logging & monitoring 2022-04-05 23:48:30 +02:00
osbuild-koji-tests gosec: G204 - Subproccess launched as function arg 2021-12-13 12:17:30 +02:00
osbuild-mock-openid-provider osbuild-composer: Set ReadHeaderTimeout to 5s 2022-09-15 03:57:40 -07:00
osbuild-package-sets distro: replace ostree.RequestParams with new OSTreeImageOptions 2022-10-11 10:00:22 +02:00
osbuild-pipeline distro: replace ostree.RequestParams with new OSTreeImageOptions 2022-10-11 10:00:22 +02:00
osbuild-playground osbuild: add extraEnv argument to RunOSBuild 2022-07-25 21:21:44 +02:00
osbuild-service-maintenance worker/server: requeue unresponsive jobs 2022-11-02 15:26:00 +01:00
osbuild-store-dump distro: add containers arg to ImageType.Manifest 2022-07-21 13:32:07 +02:00
osbuild-upload-aws osbuild-service-maintenance: Clean up expired images 2021-12-03 00:14:09 +00:00
osbuild-upload-azure azure: add an option to tag page blobs 2022-06-13 21:06:01 +02:00
osbuild-upload-container container/client: rework tls settings 2022-07-21 13:32:07 +02:00
osbuild-upload-gcp cmd/osbuild-upload-gcp: fix typo in skip-import's help string 2022-06-22 12:37:34 +02:00
osbuild-upload-generic-s3 awscloud: add option to mark S3 object as public 2022-09-19 22:56:36 +02:00
osbuild-upload-oci Add support for OCI upload provider 2022-01-28 15:16:47 +01:00
osbuild-worker internal/worker: add rhsm to ostree resolve job 2022-10-28 16:14:30 +02:00