build provider support to inject snaps on the host
Metadata
Current evaluation
Build providers gained host-snap injection when Snapcraft runs from a snap; fixed by merged snapcore/snapcraft#2174 (commit 283ab0bb8).
Resolution: closed resolved
Reason: Merged PR #2174 added injection of the running Snapcraft snap and its base snaps into build providers. The maintainer cited this resolving PR in the closing comment, and it was committed as 283ab0bb8.
Evaluated by: mr-cal-bot
No scores available.
Issue body
When running snapcraft from a snap, the build provider should inject the snap into the running provider.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Build providers gained host-snap injection when Snapcraft runs from a snap; fixed by merged snapcore/snapcraft#2174 (commit 283ab0bb8). | |
| stealth/space-bunny-alpha | — | closed resolved | Build providers now inject the host snap into the running provider. Resolved by merged PR snapcore/snapcraft#2174 (commit 283ab0bb8), referenced in the maintainer's closing comment. | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed by merged PR #2174 (commit 283ab0bb8), injecting host Snapcraft and base snaps into build providers when Snapcraft runs from a snap. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation. The request to inject snaps into build providers when running snapcraft from a snap was abandoned due to prolonged inactivity. | |
| qwen/qwen3.6-35b-a3b | — | — | Abandoned. The request to inject snaps into build providers when running snapcraft from a snap was closed without implementation due to prolonged inactivity and no further development. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The request to inject snaps into build providers received no comments or implementation and was likely abandoned or superseded. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without implementation. Lacking discussion or activity, the request was abandoned and superseded by evolved build provider architectures that handle snap injection differently. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
snapcore/snapcraft#2174
(confidence 100%)
Merged implementation of host-snap injection, recorded as commit 283ab0bb8.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2174 build_providers: inject snaps when running from a snap | snapcraft | merged | Merged PR #2174 (commit 283ab0bb8) to inject host Snapcraft and base snaps when running from the snapcraft snap, while non-snap runs install them from the store. | |
| #1779138 build provider runner detection | snapcraft (launchpad) | closed | Build-provider injection was made conditional on Snapcraft running from a snap, avoiding injection from non-snap runners; fixed by merged PR snapcore/snapcraft#2174 (283ab0bb8). | |
| #4084 providers: inject current snapcraft snap into instances | snapcraft | merged | Merged PR #4084 as commit b852f9ac8, injecting the current Snapcraft snap into provider instances so parallel-installed instances can build core22 snaps. | |
| #2773 build providers: inject snapd snap for latest feature availability | snapcraft | merged | Merged PR #2773 in commit 3740c61bc, replacing injected core snaps with the smaller snapd snap for current build features without requiring core18. | |
| #444 feat(snaps): inject base snap from host | craft-providers | merged | Merged PR #444 in commit 03704c1, injecting each host snap's base snap and reusing an existing base; released in craft-providers 1.20.0. | |
| #2621 build providers: support injection for LXD | snapcraft | merged | Merged as d59622a81, adding LXD snap injection through snapd's file API, replacing mount-based injection with file pushes, and refactoring provider concerns. | |
| #1782777 Improve installation/injection logic for snapcraft (and core) | snapcraft (launchpad) | closed | Fixed by merged snapcore/snapcraft PR #2196 in commit d9a477ea5, improving build-provider installation and snap injection logic. | |
| #622 Inject instanced host snaps to the provider | craft-providers | closed | Resolved downstream: craft-application added instanced-snap support in PR #467 (77a3582b), removing the need for a craft-providers API change. | |
| #997 feat(Provider): inject the base snap | craft-application | merged | Merged as commit 41cee32d, injecting the application's base snap into the provider so managed instances need not download it; fixes #952 (CRAFT-4889). | |
| #2265 build providers: allow snapcraft channel selection | snapcraft | merged | Merged build-provider Snapcraft channel selection for non-host-injected early testing, with a user warning, in commit 6a3d2d3cd (#2265). |