Skip to content

Retry docker image checks on connection errors#144

Open
andmat900 wants to merge 1 commit intoeiffel-community:mainfrom
andmat900:20260330_retry_docker_image_checks
Open

Retry docker image checks on connection errors#144
andmat900 wants to merge 1 commit intoeiffel-community:mainfrom
andmat900:20260330_retry_docker_image_checks

Conversation

@andmat900
Copy link
Copy Markdown
Contributor

Applicable Issues

Fixes eiffel-community/etos#501

Description of the Change

Add retry logic with exponential backoff to Docker image digest lookups so transient connection errors (DNS, resets, timeouts) are retried up to 5 times. The backoff formula matches etos-library's HTTP client.

Alternate Designs

Possible Drawbacks

Sign-off

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or

(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or

(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.

(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.

Signed-off-by: Andrei Matveyeu, andreimu@axis.com

Change-Id: Icdeec680d62da2f339e69993e55370cb10891c89
Signed-off-by: Andrei Matveyeu <andreimu@axis.com>
@andmat900 andmat900 requested a review from a team as a code owner March 30, 2026 11:30
@andmat900 andmat900 requested review from fredjn and t-persson March 30, 2026 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Retry docker image checks on connection errors

1 participant