← Back to issue list

remote-build: improve resiliency for https connection issues

View original Github issue

Metadata

Project
snapcraft
Number
#2772
Type
pull request
State
merged
Author
cjp256
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #2772 in commit ce4b86047, adding Launchpad HTTPS error handling, retrying login and URL fetches after connection failures, and unit tests.

Resolution: closed resolved

Reason: PR #2772 was merged, with commit ce4b86047 recording the implementation. It introduces LaunchpadHttpsError, retries login and URL fetches on connection failure, and adds unit coverage.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Introduce `LaunchpadHttpsError` for cases where connectivity fails to be established to Launchpad. Introduce `_lp_load_url()` wrapper to handle connection failures. If fetch error occurs, retry login and re-fetch URL. Includes unit tests to validate new functionality. Signed-off-by: Chris Patterson <chris.patterson@canonical.com> - [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #2772 in commit ce4b86047, adding Launchpad HTTPS error handling, retrying login and URL fetches after connection failures, and unit tests.
stealth/space-bunny-alpha — closed resolved Merged PR #2772 in commit ce4b86047, adding Launchpad HTTPS error handling, login-and-fetch retries, and unit tests for remote-build connection resiliency.
stealth/space-bunny-alpha — closed resolved Merged PR #2772 in commit ce4b86047, adding HTTPS error handling, login-and-fetch retries for remote builds, and unit tests.
qwen/qwen3.6-35b-a3b — — Merged remote build HTTPS connection resiliency improvements. Adds a custom error class and wrapper function to automatically retry login and URL fetching on connectivity failures. Approved, passed CI, and merged with unit tests.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Introduces LaunchpadHttpsError and a URL fetch retry wrapper to handle connectivity failures during remote builds. Includes unit tests validating the new error handling and retry logic.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.