Provide a way to mimic a build host when expanding an environment
Metadata
Current evaluation
Maintainer enhancement request: expand_environment() in craft_parts/executor/environment.py has no way to override/mimic the build host architecture; arch values come solely from ProjectInfo._host_arch. Triaged, tracked as CRAFT-4735, still unimplemented.
Suggested action: keep open
Reason: The issue carries labels 'Status: Triaged, Type: Enhancement' and an autogenerated internal ticket (CRAFT-4735), and inspection confirms the feature is still absent: expand_environment(data, *, info, skip) only builds replacements from _get_global_environment(info), where CRAFT_ARCH_BUILD_ON/CRAFT_ARCH_TRIPLET_BUILD_ON are read-only properties derived from ProjectInfo._host_arch, with no override hook. It remains a valid developer-tooling enhancement, but actionability is limited to moderate because the body only says 'mimic a specific architecture' without specifying the API shape (which variables to override, whether build-for is affected, how to handle archs outside _DEB_TO_TRIPLET, or whether craftctl needs a matching flag), so design work is still required.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha |
Impact:
35
Quick Win:
10
Complexity:
40
Confidence:
78
Actionability:
50
|
keep open | Maintainer enhancement request: expand_environment() in craft_parts/executor/environment.py has no way to override/mimic the build host architecture; arch values come solely from ProjectInfo._host_arch. Triaged, tracked as CRAFT-4735, still unimplemented. | |
| qwen/qwen3.6-35b-a3b |
Impact:
35
Quick Win:
20
Complexity:
25
Confidence:
75
Actionability:
75
|
keep open | Enhancement to allow expand_environment to mimic a specific architecture for testing purposes. Issue is triaged and open. | |
| qwen/qwen3.8-27b |
Impact:
35
Quick Win:
21
Staleness:
60
Complexity:
40
Confidence:
80
Support Request:
0
|
keep open | Enhancement request to let expand_environment mimic a specific build architecture, useful for verifying expanded environment values. Triaged by a maintainer, open and unimplemented; last activity was a bot Jira-ticket comment ~12 months ago. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
70
Complexity:
25
Confidence:
85
Support Request:
0
|
keep open | Enhancement request to allow expand_environment to mimic a specific build architecture for testing purposes. Currently triaged and awaiting implementation. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
60
Complexity:
25
Confidence:
85
Support Request:
0
|
keep open | Enhancement to allow expand_environment to mimic a specific build architecture for testing. Triaged by a maintainer, currently inactive with no implementation progress. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/craft-parts#532
(confidence 60%)
Merged PR #532 (9f8e969e) introduced CRAFT_ARCH_BUILD_ON/FOR and the build-on/build-for triplets in _get_global_environment; the requested host-mimic capability builds directly on that variable set.
Related issues
No related issues found above the similarity threshold.