Skip to content

deploy: retry registry logout on flaky network#10

Merged
fichte merged 1 commit into
mainfrom
add-retry-registry-logout
Apr 27, 2026
Merged

deploy: retry registry logout on flaky network#10
fichte merged 1 commit into
mainfrom
add-retry-registry-logout

Conversation

@fichte

@fichte fichte commented Apr 27, 2026

Copy link
Copy Markdown
Owner

Summary

deploy_logout_from_registry was the only of the four registry/network operations not wrapped by gpd_retry. Add the same wrapper as login, pull, push, and GeoIP download — retries up to --retries (default 3) times with exponential backoff (1s, 2s, 4s).

Test plan

  • bash -n clean
  • bats tests/bats/ — 46/46 still green
  • Real flaky-network deploy logout exercises the new path

deploy_logout_from_registry was the only of the four registry/network
operations not wrapped by gpd_retry. Add the same wrapper as login,
pull, push, and GeoIP download — retries up to --retries (default 3)
times with exponential backoff (1s, 2s, 4s).

Update README's -r/--retries description and CHANGELOG [Unreleased]
to list logout alongside the others.
@fichte fichte merged commit 3c3a1b0 into main Apr 27, 2026
3 checks passed
@fichte fichte deleted the add-retry-registry-logout branch April 27, 2026 14:34
@fichte fichte mentioned this pull request Apr 27, 2026
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.

1 participant