bootc-dev / bootc-dev/bootc

configurable network retries

Open
#1,443 1 comment 0 reactions 0 assignees View on GitHub
area/client enhancement gain/medium triaged
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.