← Back to issue list

providers: inject current snapcraft snap into instances

View original Github issue

Metadata

Project
snapcraft
Number
#4084
Type
pull request
State
merged
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #4084 as commit b852f9ac8, injecting the current Snapcraft snap into provider instances so parallel-installed instances can build core22 snaps.

Resolution: closed resolved

Reason: PR #4084 was merged into main as commit b852f9ac8. It enabled core22 builds by injecting the currently running Snapcraft snap into provider instances.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [X] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [X] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [X] Have you successfully run `make lint`? - [X] Have you successfully run `pytest tests/unit`? ----- Allows for core22 snaps to be built using a parallel-installed instance of snapcraft. A subsequent PR will support core18|20 snaps. (CRAFT-1660)

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #4084 as commit b852f9ac8, injecting the current Snapcraft snap into provider instances so parallel-installed instances can build core22 snaps.
stealth/space-bunny-alpha — closed resolved Merged PR #4084 as commit b852f9ac8, injecting the current Snapcraft snap into build instances so core22 snaps can use a parallel installation.
stealth/space-bunny-alpha — closed resolved Merged PR #4084 as commit b852f9ac8, enabling core22 builds by injecting the current Snapcraft snap into parallel build instances.
stealth/space-bunny-alpha — closed resolved Merged in #4084 as b852f9ac8, injecting the current snapcraft snap into build instances so core22 snaps can use a parallel Snapcraft install.
qwen/qwen3.6-35b-a3b — — Merged. Injects the current snapcraft snap into build instances, enabling core22 builds with a parallel-installed snapcraft instance. Approved, passed CI, and achieved 100% diff coverage. Core18 and core20 support will follow in a subsequent PR.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Injects the current snapcraft snap into build instances, enabling core22 builds with a parallel-installed snapcraft instance. Achieved 100% diff coverage. Core18 and core20 support is deferred to a follow-up pull request.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#4090 snapcraft_legacy: inject current snapcraft snap into instances snapcraft merged Merged #4090 as d680b8437, enabling snapcraft_legacy to inject the current Snapcraft snap into build instances for core18 and core20 snaps.
80%
#1779137 build provider support to inject snaps on the host snapcraft (launchpad) closed Build providers gained host-snap injection when Snapcraft runs from a snap; fixed by merged snapcore/snapcraft#2174 (commit 283ab0bb8).
78%
#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.
78%
#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).
76%
#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.
75%
#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.
74%
#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.
74%
#411 Support snap parallel installs craft-application closed Parallel-installed snap injection was fixed by PR #467 (commit 77a3582b); #411 was closed as fixed, with a separate craft-providers gap noted.
73%
#3681 providers: override instance warmup snapcraft merged Merged into snapcraft/7.0 as a3f91daee; provider instance warm-up now performs required injections without reinstalling already-installed snaps.
72%
#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.
72%