remote_parts: handle connection errors
Metadata
Current evaluation
Merged PR #1906 (commit 4e95b95ab) to handle remote-parts connection failures with a clear error and retry guidance instead of a requests traceback.
Resolution: closed resolved
Reason: The PR was merged into Snapcraft via commit 4e95b95ab, resolving LP bug #1746784. It catches remote-parts connection failures and recommends retrying.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)?
- [x] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)?
- [x] Have you successfully run `./runtests.sh static`?
- [x] Have you successfully run `./runtests.sh unit`?
-----
Currently if Snapcraft can't reach the remote parts URL for any reason, it prints a traceback from requests. This PR fixes LP: [#1746784](https://bugs.launchpad.net/snapcraft/+bug/1746784) by handling this in a nicer manner, and suggesting a simple retry.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1906 (commit 4e95b95ab) to handle remote-parts connection failures with a clear error and retry guidance instead of a requests traceback. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1906 fixed remote-parts connection failures by replacing raw requests tracebacks with a clear error and retry prompt, resolving Launchpad bug #1746784. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged implementation resolves Launchpad bug #1746784 by replacing raw requests tracebacks with graceful error handling and retry prompts for remote parts connection failures. Approved by three reviewers and passed CI checks. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged to replace raw requests tracebacks with graceful error handling and retry suggestions when fetching remote parts URLs fails. Resolves Launchpad bug #1746784. |
Update history
No update history recorded yet.
Related issues
No related issues found above the similarity threshold.