Add ability (opt-in) to handle Internet connection failures
Metadata
Current evaluation
Closed and redirected to the craft-parts repository. Maintainers recommend implementing network retry logic directly in craft-parts rather than adding a snapcraft-level opt-in flag. A new issue should be opened there.
Suggested action: —
No scores available.
Issue body
### What needs to get done
It's related to #5627
Could you add new configuration option, CLI option, etc. which add ability to retry failed command pre-defined number of tries?
I want to exclude scenario:
```
snapcraft
```
See failing when connection suddenly closed when downloading any file related to project (unexpected EOF or such).
Then immediately I should:
```
snapcraft
```
etc.
### Why it needs to get done
It will greatly improve the usability when the user has unstable Internet connection.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed and redirected to the craft-parts repository. Maintainers recommend implementing network retry logic directly in craft-parts rather than adding a snapcraft-level opt-in flag. A new issue should be opened there. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed and redirected to canonical/craft-parts. Maintainers determined network retry logic belongs upstream in craft-parts rather than an opt-in snapcraft flag. Users are advised to use the remote builder or implement retry handling upstream. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed and redirected to the craft-parts repository. Maintainers recommended implementing per-network-operation retry logic upstream instead of adding a Snapcraft-level opt-in flag. The request was superseded by upstream dependency improvements. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed and superseded by upstream handling in canonical/craft-parts. Maintainers determined network retry logic belongs in the craft-parts library. Users are advised to use the remote builder instead. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Superseded. Redirected to craft-parts, where maintainers specified that network retry logic should be implemented per operation rather than as a Snapcraft-level configuration. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed and redirected to canonical/craft-parts. Network retry logic belongs in the underlying craft-parts library, not Snapcraft. Maintainers recommended implementing per-operation retries there or using the remote builder for unstable connections. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1189 Add ability to handle Internet connection failures | craft-parts | open | Feature request to add a retry option for failed network downloads (e.g. unexpected EOF on unstable connections). Unlabelled, 0 comments, no maintainer response; related snapcraft#5642 was closed and redirected here as the proper home. |