SNAPCRAFT_BUILD_ENVIRONMENT_* change doesn't apply to existing VMs
Metadata
Current evaluation
⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.
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.
Suggested action: —
No scores available.
Issue body
Currently, the values set in the `SNAPCRAFT_BUILD_ENVIRONMENT_*` environment variables will not become effective if the VM is already created[1], Snapcraft should apply them if possible or destroy and recreate the existing VM.
[1] https://forum.snapcraft.io/t/snapcraft-configuration-of-multipass-vm-arguments/9761/7
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution due to inactivity. SNAPCRAFT_BUILD_ENVIRONMENT_* changes failing to apply to existing VMs remain unaddressed. No fix or workaround was implemented. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without resolution, likely abandoned. SNAPCRAFT_BUILD_ENVIRONMENT_* changes do not apply to existing VMs, requiring recreation or dynamic updates. No fix or workaround was implemented. |
Update history
No update history recorded yet.
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 | |
| #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. | |
| #6025 Snapcraft ignores SNAPCRAFT_BUILD_ENVIRONMENT_* environment variables on MacOS | snapcraft | 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. | |
| #1815658 snapcraft leaks build-environment across parts | snapcraft (launchpad) | closed | Closed without comments. Reports snapcraft build-environment variables leaking across parts. Likely abandoned due to inactivity, with no explicit resolution or fix noted. | |
| #1795655 refresh command ignores build environment | snapcraft (launchpad) | closed | Closed without resolution or discussion. The report indicated snapcraft refresh ignored the SNAPCRAFT_BUILD_ENVIRONMENT variable, but no fix or follow-up was recorded. | |
| #1674828 SNAPCRAFT_SETUP_CORE=1 doesn't work for foreign architectures | snapcraft (launchpad) | closed | SNAPCRAFT_SETUP_CORE=1 failing for foreign architectures during classic snap builds was closed without resolution. Zero comments and no fixes indicate the report was abandoned due to inactivity. | |
| #4231 SNAPCRAFT_PROJECT_VERSION is empty if not explicitly set at top level | snapcraft | closed | Closed without a code fix. Maintainers explained dynamic environment variables are unsupported, and documentation was updated to clarify that SNAPCRAFT_PROJECT_VERSION only reflects statically set versions. | |
| #2179 cli: SNAPCRAFT_BUILD_ENVIRONMENT isn't deprecated | snapcraft | merged | Merged into master after approval and CI. Fixed a misleading deprecation warning that incorrectly flagged SNAPCRAFT_BUILD_ENVIRONMENT instead of SNAPCRAFT_CONTAINER_BUILDS. Updated two lines to correct the error message. | |
| #1871770 container/VM builds ignore SNAPCRAFT_BUILD_INFO / SNAPCRAFT_IMAGE_INFO environment variables | snapcraft (launchpad) | closed | Abandoned and closed without resolution. Container and VM build providers continue to ignore SNAPCRAFT_BUILD_INFO and SNAPCRAFT_IMAGE_INFO, preventing manifest generation and vulnerability notifications in LXD and Multipass builds. |