configurable network retries
- Dominant language
- Rust
- Stars
- 2.3k
- Forks
- 230
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 38
Description
We should support configuration for network errors.
Related:
- https://github.com/bootc-dev/bootc/issues/1375
- https://github.com/containers/skopeo/issues/918
- https://issues.redhat.com/browse/OCPBUGS-43406
Especially in some scenarios, higher level software may want to retry a lot (e.g. potentially minutes) for network errors.
Bikeshed: Unlike podman/skopeo I'd say `--network-retry` instead of just `--retry` to be crystal clear what it does/doesn't do.
I think we could add a generic NetworkRetries struct that gets added to upgrade/switch/install.
NOTE this depends on https://github.com/bootc-dev/bootc/issues/1424 because it effectively pulls in the `retryable` error code from https://github.com/containers/skopeo/blob/main/docs-experimental/skopeo-experimental-image-proxy.1.md
Contributor guide
Assessment
This issue has not been assessed yet.