build providers: allow setting ram and disk size
Metadata
Current evaluation
Merged PR snapcraft#2260 (commit 8d9cc5c5a): added Multipass-only build provider RAM/disk size overrides via two env vars, addressing LP bug #1791661. Provider logic later moved to craft-providers.
Resolution: closed resolved
Reason: The pull request was approved by two maintainer reviewers and merged to master as commit 8d9cc5c5a ("build providers: allow setting ram and disk size (#2260)"). It implements the requested feature for the Multipass build provider, leaving the generic provider base class untouched for future container-based providers, and closes LP bug #1791661.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR snapcraft#2260 (commit 8d9cc5c5a): added Multipass-only build provider RAM/disk size overrides via two env vars, addressing LP bug #1791661. Provider logic later moved to craft-providers. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in snapcraft#2260 (commit 8d9cc5c5a), adding Multipass-specific environment overrides for build-provider RAM and disk size; addresses LP #1791661. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged. Introduces environment variables to override default RAM and disk size for the Multipass build provider. Approved by two reviewers, passed CI checks, and resolved Launchpad bug #1791661. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Adds environment variables to override default RAM and disk sizes for the Multipass build provider while keeping the base class available for future container providers. Addresses LP #1791661. |
Update history
No update history recorded yet.
Related work
-
Related To:
snapcraft (launchpad)#1791661
(confidence 55%)
Body cites 'LP: #1791661' as the Launchpad bug this implements; the LP entry was later migrated to the snapcraft issue tracker.
-
Related To:
craft-parts
(confidence 40%)
Build provider logic, including the Multipass memory/disk sizing added here, was later extracted into craft-providers and consumed by snapcraft/providers.py.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2008003 Multipass build provider does not support resource settings core core22 snaps | snapcraft (launchpad) | open | Multipass builds of core22+ snaps ignore SNAPCRAFT_BUILD_ENVIRONMENT_CPU/MEMORY; provider hardcodes 2 CPUs/2GB RAM. Maintainer confirmed unsupported; fix tracked upstream in craft-providers#531. | |
| #2225 build providers: environment setup for projects | snapcraft | merged | Merged as snapcraft#2225 in commit 16ef9d3cf, adding Base Provider cloud-data setup, re-execution-aware project loading, and Multipass integration. |