← Back to issue list

build providers: use the new snapcraft: remote for multipass

View original Github issue

Metadata

Project
snapcraft
Number
#2293
Type
pull request
State
merged
Author
sergiusens
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

No scores available.

Issue body

Multipass now offers a new remote, as support for new bases comes it will grow into multipass on its own. Due to this, we now also delegate the error message handling to multipass itself as we no longer keep a static mapping in snapcraft for this. LP: #1794361 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 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.
qwen3.6-35b-a3b-mtp-q6 Merged into master. Updates the multipass build provider to use the new snapcraft: remote, delegating error handling to multipass and removing static image mappings. All tests passed.
qwen3.6-35b-a3b-mtp-q6 Merged into master. Replaces static base mappings with the new snapcraft: remote in the multipass build provider. Delegates error handling to multipass to support evolving base architectures. Passed unit tests and code coverage checks.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#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.
80%
#2258 build providers: snapcraft images for multipass snapcraft merged 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.
80%
#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.
78%
#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.
76%
#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.
75%
#2174 build_providers: inject snaps when running from a snap snapcraft merged Merged. Updates build providers to inject snapcraft and its base from the host when running inside the snapcraft snap, ensuring parity with non-snap environments. Approved by reviewer and passed CI checks.
74%
#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.
72%
#5145 snapcraft fails to launch multipass instance when multipass isn't pre-installed snapcraft open Snapcraft fails to launch a multipass VM with 'Remote snapcraft is unknown or unreachable' when multipass is installed on-demand. Maintainer triaged it as an image-server availability issue and linked craft-providers#211 for better error messaging; still open.
72%
#1794361 use new multipass snapcraft remote snapcraft (launchpad) closed Closed without resolution or comments. The request to configure the new multipass snapcraft remote and default missing bases to core16 was likely abandoned or superseded.
72%
#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.
72%