Install snapd from edge only when components are enabled
Metadata
Current evaluation
Resolved via PR #4700. Snapd from the edge channel is now installed only when components are enabled, defaulting to the stable version for core22.
Suggested action: —
No scores available.
Issue body
### What needs to get done
For `core22`, `snapd` from the `edge` channel should only be used when components are provided.
See https://github.com/canonical/snapcraft/pull/4654#discussion_r1521992193
### Why it needs to get done
So that the `stable` version of snapd is used by default.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Resolved via PR #4700. Snapd from the edge channel is now installed only when components are enabled, defaulting to the stable version for core22. | |
| qwen/qwen3.6-35b-a3b | — | — | Resolved via PR #4700. Snapd from the edge channel is now installed only when components are enabled, defaulting to the stable version for core22. | |
| qwen/qwen3.6-35b-a3b | — | — | Resolved via PR #4700. The snapd edge channel is now restricted to installations requiring components, defaulting to the stable release for core22. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged via pull request #4700. Snapd from the edge channel is now restricted to cases where components are enabled, defaulting to the stable release for core22. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Resolved via pull request #4700. Snapd from the edge channel is now only installed for core22 when components are enabled, defaulting to the stable version. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4733 fix(providers): do not install snapd from edge | snapcraft | merged | 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. | |
| #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. |