← Back to issue list

Test http_proxy with squid

View original Github issue

Metadata

Project
snapcraft
Number
#5354
Type
pull request
State
merged
Author
artivis
Labels
—
Created
Updated
Closed

Current evaluation

Merged Squid-backed spread tests verifying http_proxy propagation for host and LXD backends in commit 67463796f.

Resolution: closed resolved

Reason: PR #5354 was merged into main as commit 67463796f, adding coverage for http_proxy with a Squid apt cache. Reported Ubuntu 20.04/22.04 CI failures were confirmed as unrelated.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Add a spread test to make sure that the `http_proxy` environment variable is taken into account. The test uses [`squid`](https://www.squid-cache.org/) as an apt-cache. The test is currently located in `test/spread/general` and my understanding is that it will only be run on 22.04. Let me know if it should be relocated to a more appropriate folder. Note that I successfully ran it locally for 24.04 (core24). - [x] Have you followed the [guidelines for contributing](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `make lint`? - [x] Have you successfully run `make test`? ---

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged Squid-backed spread tests verifying http_proxy propagation for host and LXD backends in commit 67463796f.
stealth/space-bunny-alpha — closed resolved Added and merged spread tests verifying http_proxy support with Squid, including host and LXD backends. CI failures on Ubuntu 20.04/22.04 were noted as unrelated.
qwen/qwen3.6-35b-a3b — — Merged after adding a spread test to verify http_proxy handling via squid. Adapted per reviewer feedback to match backend configurations. Unrelated CI failures on older Ubuntu releases were noted but did not block the merge.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Added a spread test verifying the http_proxy environment variable with squid. The test was duplicated and adapted for the LXD backend per reviewer feedback. Unrelated test failures were noted but did not block the merge.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.