build providers: snapcraft images for multipass
Metadata
Current evaluation
Implemented snapcraft build images for multipass environments with a Darwin workaround. Merged after reviewer approval and passing CI checks, adding 239 lines across 7 files to resolve LP #1791821.
Suggested action: —
No scores available.
Issue body
Use snapcraft build images for multipass environments.
Quirck it for darwin as there is no "launch" support available
on darwin yet.
LP: #1791821
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
- [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)?
- [ ] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)?
- [ ] Have you successfully run `./runtests.sh static`?
- [ ] Have you successfully run `./runtests.sh tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Implemented snapcraft build images for multipass environments with a Darwin workaround. Merged after reviewer approval and passing CI checks, adding 239 lines across 7 files to resolve LP #1791821. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged configuration updates to use snapcraft build images for multipass environments. Added a Darwin workaround due to missing launch support. Diff coverage achieved 96.15%. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged implementation of snapcraft build images for multipass environments, including a Darwin workaround for missing launch support. Resolves Launchpad #1791821. Achieved 96.15% diff coverage. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2293 build providers: use the new snapcraft: remote for multipass | snapcraft | merged | Merged into master. Updates the multipass build provider to use the new snapcraft: remote, removing static base mappings and delegating error handling to multipass. Approved by reviewers and passed CI. | |
| #2288 build providers: use multipass automatically when on darwin | snapcraft | merged | Merged. Automatically enables multipass as the build provider on macOS (darwin). Approved by a reviewer, passed CI checks, and successfully integrated. | |
| #2100 build_providers: new build provider using multipass | snapcraft | merged | Merged pull request introducing the build_providers package and MVP multipass integration for snapcraft. Approved by two reviewers despite reported naming inconsistencies and a launch crash, accepted as initial implementation. | |
| #491 providers: introduce multipass support (CRAFT-409) | charmcraft | merged | Merged. Adds Multipass provider support with detection via env var, snap config, or platform default. Updates execute_run() to use pathlib.Path and adds tests. Approved by two reviewers, passed CI, and modified 10 files. | |
| #3381 multipass build provider: check if instance exists before deleting | snapcraft | merged | Merged a Snapcraft fix adding an existence check before deleting Multipass instances, preventing errors when missing. Addresses LP #1904774. Reviewers suggested extra features and warnings, but the core fix was approved and merged. | |
| #2394 build providers: fix osx non base and injection | snapcraft | merged | Merged fix for macOS build provider non-base and injection issues. Approved by one reviewer, passed CI, and updated five files to resolve SNAPCRAFT-78, SNAPCRAFT-7A, and Launchpad bug 1801965. | |
| #2388 project: early snapcraft.yaml validation | snapcraft | merged | Merged. Implements early snapcraft.yaml validation to prevent invalid multipass instance creation and reduce build times. Approved by maintainer, passed CI checks, and resolved Launchpad bug #1794507. | |
| #2869 build providers: use multipass from stable | snapcraft | merged | Merged update to consume Multipass 1.0 from the stable channel for build providers. Approved by one reviewer, modifying four files with minimal changes. | |
| #2354 Preflight missing multipass | snapcraft | merged | Merged fix for bug #1792374 adding a preflight check to prompt multipass installation when building snaps with the base keyword. Approved by reviewers and passed CI. | |
| #2507 build providers: improve handling in snap logic | snapcraft | merged | Merged. Improved snap provider logic by cleaning up channel warnings, removing unnecessary sudo calls, and silencing noisy refresh hold commands. Approved, passed CI, and modified 5 files (+131/-73 lines). |