← Back to issue list

Proxy-related environment variables are not being forwarded to managed instances

View original Github issue

Metadata

Project
craft-application
Number
#258
Type
issue
State
closed
Author
tigarmo
Labels
—
Created
Updated
Closed

Current evaluation

Fixed by merged PR #260 (commit c70425d9), which forwards host proxy environment variables into managed instances; linked to originating report craft-providers#528.

Resolution: closed resolved

Reason: PR #260 was merged as commit c70425d9 and added provider and instance environment-variable forwarding, including proxy settings. The maintainer also identified craft-providers#528 as the originating report.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### Bug Description The typical `http_proxy`, `https_proxy` and `no_proxy` environment variables are not being passed to the Provider-created managed instances, causing managed runs to fail if they are behind proxies. ### To Reproduce . ### part yaml _No response_ ### Relevant log output ```shell . ```

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed by merged PR #260 (commit c70425d9), which forwards host proxy environment variables into managed instances; linked to originating report craft-providers#528.
stealth/space-bunny-alpha — closed superseded Closed as superseded by canonical/craft-providers#528; proxy forwarding was fixed in craft-application 2.0 by upstreaming proxy injection logic.
qwen/qwen3.6-35b-a3b — — Superseded by canonical/craft-providers#528. The proxy environment variable forwarding bug was redirected to the upstream craft-providers repository for tracking and resolution.
qwen/qwen3.6-35b-a3b — — Closed and superseded by a linked issue in the canonical/craft-providers repository. Maintainers redirected the report to track proxy forwarding fixes externally, leaving this issue unresolved here.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/craft-application#260 (confidence 100%)

    Merged commit c70425d9 added environment-variable forwarding to managed instances and fixed the reported proxy behavior.

  • Related To: canonical/craft-providers#528 (confidence 95%)

    A maintainer comment identified this upstream issue as the source of the craft-application report.

Related issues

Issue Project State Summary Similarity
#260 feat: pass environment variables to the instance. craft-application merged Merged PR #260 as commit c70425d9, forwarding proxy variables to the provider and demonstrating application-defined instance variables; fixes #258 (CRAFT-2579).
74%