sources module unaware of the environment
Metadata
Current evaluation
craft-parts sources modules run subcommands without passing the process environment, so PATH/env vars from a snap (e.g. imagecraft) are ignored and git is not found. Unlabeled, no maintainer response, last activity ~18 months ago.
Suggested action: needs triage
Reason: The issue is a genuine bug report (sources modules execute subcommands without env vars, breaking git detection in snap-based consumers like imagecraft) but has no labels, no assignee, and zero comments/maintainer acknowledgement, so it has not been triaged. The current code in craft_parts/sources/base.py still calls os_utils.process_run and subprocess.check_output without an env argument, so the problem appears unfixed, but no maintainer has confirmed scope or a fix plan.
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
55
Quick Win:
24.75
Staleness:
70
Complexity:
55
Confidence:
60
Support Request:
5
|
needs triage | craft-parts sources modules run subcommands without passing the process environment, so PATH/env vars from a snap (e.g. imagecraft) are ignored and git is not found. Unlabeled, no maintainer response, last activity ~18 months ago. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
90
Complexity:
45
Confidence:
85
Support Request:
10
|
needs triage | Bug report detailing that craft_parts sources modules fail to pass environment variables (like PATH) to subprocesses, causing command failures in snap environments. Unlabelled and inactive for over a year. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
85
Complexity:
50
Confidence:
80
Support Request:
5
|
needs triage | craft_parts sources module ignores environment variables when executing subcommands, causing failures in snap environments. Unlabeled, no maintainer comments, inactive for over a year. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
92
Complexity:
30
Confidence:
80
Support Request:
10
|
close stale | craft_parts sources module executes subcommands without passing environment variables like PATH, causing failures in snap environments. Open, unassigned, no comments, inactive for 465 days. Awaiting triage and fix. |
Update history
No update history recorded yet.
Related issues
No related issues found above the similarity threshold.