fix(providers): do not install snapd from edge
Metadata
Current evaluation
Merged a fix that removes snapd installation from the edge channel, replacing it with the _retry_with_newer_snapd decorator. Approved by two reviewers, passed CI checks, and removed 17 lines across four files.
Suggested action: —
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 `tox run -m lint`?
- [x] Have you successfully run `tox run -e test-py310`? (supported versions: `py39`, `py310`, `py311`, `py312`)
-----
snapd was installed from the edge channel to support components. This has been replaced with the `_retry_with_newer_snapd` decorator.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged a fix that removes snapd installation from the edge channel, replacing it with the _retry_with_newer_snapd decorator. Approved by two reviewers, passed CI checks, and removed 17 lines across four files. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Replaced edge channel snapd installation with the _retry_with_newer_snapd decorator to manage component support, eliminating unnecessary edge dependencies. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a fix removing snapd installation from the edge channel. The edge dependency was replaced with the _retry_with_newer_snapd decorator to manage component support. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4514 fix: install snapd from edge inside build environments | snapcraft | merged | Merged. Installs snapd from the edge channel in build environments for component builds. Updated spread tests exercise the feature. Temporarily points to craft-providers main to incorporate a hotfix. Approved and passed CI. | |
| #4656 Install snapd from edge only when components are enabled | snapcraft | closed | Resolved via PR #4700. Snapd from the edge channel is now installed only when components are enabled, defaulting to the stable version for core22. | |
| #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). |