providers: install rockcraft snap via craft-providers API
Metadata
Current evaluation
Merged a refactor updating snapcraft to install the rockcraft snap via the new craft-providers API. The change modifies six files with no functional impact, passed CI checks, and received approval.
Suggested action: —
No scores available.
Issue body
- [X] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Use the new `craft-providers` API to install snaps inside a provider. No functional changes.
(CRAFT-1347)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged a refactor updating snapcraft to install the rockcraft snap via the new craft-providers API. The change modifies six files with no functional impact, passed CI checks, and received approval. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged update to install snaps inside providers using the new craft-providers API. The change introduces no functional differences and resolves CRAFT-1347. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Replaces manual snap installation in providers with the new craft-providers API per CRAFT-1347. The update maintains existing behavior with no functional changes. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3933 providers: install snaps and packages via craft-providers API | snapcraft | merged | Merged implementation for installing snaps and packages via the craft-providers API. Approved, passed CI, and increased unit test coverage by 0.46 percent across three changed files. | |
| #891 (internal) Install snap via craft-providers API (CRAFT-1277) | charmcraft | merged | Merged changes to install snap via the craft-providers API, resolving CRAFT-1277. Updates six files with a net reduction of 145 lines. Approved by one reviewer with no unresolved comments or CI failures. | |
| #104 requirements: update craft-providers to v1.5.1 | rockcraft | merged | Merged dependency update to craft-providers v1.5.1, resolving a snap injection assertion error during ROCK builds. Approved and passed CI. | |
| #3938 providers: move `confirm_with_user()` call to providers.py (#91) | snapcraft | merged | Merged changes moving the snapcraft-specific confirm_with_user() call out of the craft-providers interface into providers.py. The update was approved, passed CI, and aligns with parallel rockcraft modifications. | |
| #9 providers: add build provider support (CRAFT-28) | rockcraft | merged | Merged integration of rockcraft with craft-providers to run build providers on LXD instances. The change ports Charmcraft glue code, hardwires execution to LXD, and defers user messages and log retrieval to follow-up PRs. Approved and passed CI. | |
| #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. | |
| #1093 feat(snap): add rockcraft.json to the snap | rockcraft | merged | Merged a pull request adding rockcraft.json to the snap. Requested by the Rocks team, this enables users to validate rockcraft.yaml against their installed version and check supported bases. Approved by two reviewers and passed CI checks. | |
| #87 requirements: update craft-providers to 1.5.0 | rockcraft | merged | Updated craft-providers dependency to version 1.5.0 across three files. Approved and passed CI, the change was merged to unblock rockcraft pull request #82. | |
| #143 build(deps): bump craft-providers to 1.20.0 | craft-application | merged | Merged dependency update bumping craft-providers to 1.20.0. Approved by two reviewers, passed CI checks, and maintained 99.02% coverage. The change ensures host-injected snaps include their base snap in the instance. | |
| #5873 build(deps/auto): update craft-providers | snapcraft | merged | Merged an automated dependency update for craft-providers to restore snapcraft compatibility. Applied via uv lock, approved by two reviewers, and integrated after passing CI checks. |