Snapcraft ignores SNAPCRAFT_BUILD_ENVIRONMENT_* environment variables on MacOS
Metadata
Current evaluation
SNAPCRAFT_BUILD_ENVIRONMENT_CPU/MEMORY env vars documented for Multipass VM sizing are ignored on macOS; maintainer confirmed values are hardcoded, fix blocked by upstream craft-providers#531 (open 2+ years). Triaged as enhancement, no progress since Feb 2026.
Suggested action: keep open
Reason: Maintainer @mr-cal explicitly confirmed the limitation ('CPU and memory for Multipass is hardcoded without a workaround') and pointed to upstream craft-providers#531 as the blocking task. The issue is triaged, valid, and blocked by an external dependency that remains open, so it should stay open until that work lands. The docs at set-up-snapcraft.rst:147-148 also need updating to clarify the macOS limitation.
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
45
Quick Win:
24.75
Staleness:
55
Complexity:
45
Confidence:
82
Support Request:
25
|
keep open | SNAPCRAFT_BUILD_ENVIRONMENT_CPU/MEMORY env vars documented for Multipass VM sizing are ignored on macOS; maintainer confirmed values are hardcoded, fix blocked by upstream craft-providers#531 (open 2+ years). Triaged as enhancement, no progress since Feb 2026. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
55
Complexity:
40
Confidence:
90
Support Request:
10
|
keep open | Snapcraft on macOS ignores SNAPCRAFT_BUILD_ENVIRONMENT_* variables for Multipass VM resources. Maintainer confirmed it is hardcoded and linked to an uncompleted enhancement task. Currently triaged and awaiting implementation. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
65
Complexity:
60
Confidence:
85
Support Request:
20
|
keep open | User reports SNAPCRAFT_BUILD_ENVIRONMENT_* vars are ignored on macOS when using Multipass. Maintainer confirmed it is hardcoded and linked to an upstream tracking issue. Awaiting implementation. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
45
Complexity:
40
Confidence:
85
Support Request:
20
|
keep open | Snapcraft ignores SNAPCRAFT_BUILD_ENVIRONMENT_CPU and MEMORY variables for macOS Multipass VMs. Triaged as an enhancement. Resources are hardcoded with no workaround. Feature request tracked in craft-providers, awaiting implementation. |
Update history
No update history recorded yet.
Related work
-
Blocked By:
craft-providers#531
(confidence 95%)
Maintainer explicitly cited this as the outstanding task needed to add CPU/memory configuration for Multipass instances; it has been open for over two years with no triage.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1814729 Setting SNAPCRAFT_BUILD_ENVIRONMENT_MEMORY doesn't take effect | snapcraft (launchpad) | open | SNAPCRAFT_BUILD_ENVIRONMENT_MEMORY change ignored when reusing existing Multipass VM; filed in 18.10 era, 0 comments, no maintainer interaction in 7.5 years, related LP bug closed without resolution | |
| #1822265 SNAPCRAFT_BUILD_ENVIRONMENT_* change doesn't apply to existing VMs | snapcraft (launchpad) | closed | Closed without resolution. SNAPCRAFT_BUILD_ENVIRONMENT_* changes failing to apply to existing VMs were left unaddressed with zero comments, indicating the report was abandoned or marked stale. | |
| #1809068 SNAPCRAFT_ environment variables not exposed to version-script | snapcraft (launchpad) | closed | Abandoned and closed without resolution. The missing SNAPCRAFT_ environment variables in version-script were never addressed. | |
| #2002474 Snapcraft does not take the environment variables into account during build | snapcraft (launchpad) | open | Environment variables in snapcraft command field not expanded during build, causing pack failure |