Pass proxy env vars to the fetch service
Metadata
Current evaluation
Fetch-service startup now forwards host proxy settings, including HTTP(S)_PROXY and NO_PROXY variants; implemented in commit 826edb3f via PR #1091.
Resolution: closed resolved
Reason: The fetch service environment now copies proxy variables from the host in start_service(). This change is present in merged commit 826edb3f from PR #1091.
Evaluated by: mr-cal-bot
No scores available.
Issue body
### What needs to get done
Pass `http[s]_proxy` and `no_proxy` from the environment to the fetch service.
This should be done [here](https://github.com/canonical/craft-application/blob/01ee7b251e1dfed7666ead437ab163250a299beb/craft_application/fetch.py#L145), where the fetch service's environment is constructed.
### Why it needs to get done
If you're using a proxy and craft-application starts its own fetch-service, it won't point the fetch-service to the proxy.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Fetch-service startup now forwards host proxy settings, including HTTP(S)_PROXY and NO_PROXY variants; implemented in commit 826edb3f via PR #1091. | |
| stealth/space-bunny-alpha | — | closed resolved | Proxy forwarding was added to the fetch-service environment, including lowercase and uppercase HTTP(S)_PROXY and NO_PROXY variables. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution after syncing to Jira CRAFT-5225. The request to pass proxy environment variables to the fetch service was abandoned. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without a documented fix or merge. The request to pass proxy environment variables to the fetch service appears deferred or abandoned, with tracking moved to internal Jira ticket CRAFT-5225. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/craft-application#1091
(confidence 85%)
Commit 826edb3f updates fetch-service startup to forward proxy environment variables.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #492 Replace proxy environment variables if fetch service is enabled | craft-application | closed | No change was needed: fetch-service proxy replacement was already implemented in commit bdb374c7 via PR #11; #492 was closed as unnecessary. |