feat(Provider): default to the multipass provider
Metadata
Current evaluation
Merged PR #254 (commit fdad50c) by lengau: Imagecraft now overrides ProviderService.get_provider to default to the Multipass provider, a temporary workaround for open issue #253.
Resolution: closed resolved
Reason: The PR itself was merged into main as fdad50c after approval by two reviewers with all CI checks passing; it adds imagecraft/services/provider.py with a get_provider override that falls back to 'multipass' (documented in-code as 'a workaround for #253').
Evaluated by: mr-cal-bot
No scores available.
Issue body
This copies `get_provider` from craft-application but with a change that defaults to the multipass provider. This is a workaround for #253 until we can get a proper fix.
---
- [x] I've followed the [contribution guidelines](https://github.com/canonical/imagecraft/blob/main/CONTRIBUTING.md).
- [x] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/).
- [x] I've successfully run `make lint && make test`.
- [x] I've added or updated any relevant documentation.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #254 (commit fdad50c) by lengau: Imagecraft now overrides ProviderService.get_provider to default to the Multipass provider, a temporary workaround for open issue #253. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #254 as fdad50c, defaulting Imagecraft's provider selection to Multipass as a workaround for open #253. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #254 as commit fdad50c, defaulting to the Multipass provider as a temporary workaround for #253 while proper LXD support remains open. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged a change defaulting the provider to multipass by copying get_provider from craft-application. Approved by two reviewers and passing all CI checks, this implements a temporary workaround for issue #253 pending a permanent fix. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a maintainer pull request that defaults to the multipass provider by adapting get_provider from craft-application. This implements a temporary workaround for issue 253 pending a permanent fix. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/imagecraft#253
(confidence 95%)
Open feature request for LXD provider support; the Multipass default in provider.py is an explicit temporary workaround for it and cites its URL.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #17 multipass: introduce MultipassProvider | craft-providers | closed | Closed unmerged; MultipassProvider was later added by merged PR #163 in commit fa5a5e7, superseding this abandoned implementation. |