← Back to issue list

build providers: inject snapd snap for latest feature availability

View original Github issue

Metadata

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

Current evaluation

Merged changes that inject the snapd snap into build providers instead of core, improving feature availability and reducing size. Approved by reviewer, passed CI, and modified 4 files (+59/-12 lines).

Suggested action:

No scores available.

Issue body

The snapd snap is nimble and small when compared to having to add the core snap always (an additional burden from always needing to add "core18" to support snapcraft). 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/)? - [ ] 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 changes that inject the snapd snap into build providers instead of core, improving feature availability and reducing size. Approved by reviewer, passed CI, and modified 4 files (+59/-12 lines).
qwen3.6-35b-a3b-mtp-q6 Merged change that injects the snapd snap into build providers instead of the core and core18 snaps. This reduces image size and ensures access to the latest snapd features. Approved and merged after passing tests.
qwen3.6-35b-a3b-mtp-q6 Merged. Updates build providers to inject the snapd snap instead of core or core18, reducing overhead while ensuring access to the latest features. Author verified tests passed.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#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.
80%
#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).
80%
#3146 build providers: snap sw to channels if injecting snapcraft merged Merged fix that prevents automatic channel switching to latest/stable when injecting snaps with revision assertions during build provider setup. Approved by reviewer, passed CI, and integrated.
80%
#2717 build providers: inject core18 instead of core snapcraft merged Merged. Updates build providers to inject core18 instead of core. Approved by one reviewer with passing CI checks. Changes modify two files with seven additions and seven deletions.
75%
#2621 build providers: support injection for LXD snapcraft merged Merged after approval and passing CI. Implements LXD injection support via snapd's new file API, removes legacy mounts, and refactors code for better separation of concerns across 12 files.
75%
#2196 build providers: better injection logic snapcraft merged Merged to master following approval and conflict resolution. Updates build provider injection logic across 12 files (+951/-414 lines). CI passed with 91.85% diff coverage, showing a 0.05% overall decrease.
75%
#997 feat(Provider): inject the base snap craft-application merged Merged. Injects the base snap into the provider alongside the application, eliminating separate downloads. Resolves #952 and CRAFT-4889. Approved by two reviewers with all CI checks passing.
73%
#1098 build: update craft-providers rockcraft merged Merged update to the craft-providers dependency to resolve recurring snapd watch errors in spread tests. Approved by two reviewers and passed CI checks. The change modifies three files with minor adjustments.
73%
#3733 providers: user core22 buildd snapcraft merged Merged into snapcraft/7.0 following maintainer approval and passing CI. The update switches provider builds to core22 buildd, modifying two files. Code coverage increased by 0.05%.
72%
#3039 build providers: setup initial apt source configuration snapcraft merged Merged refactoring centralizing snapcraft initialization in the base provider and adding apt source configuration via environment flags. Fixed a file permission error and streamlined installation. Approved and merged after CI checks.
72%