← Back to issue list

fix: install snapd from edge inside build environments

View original Github issue

Metadata

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

Current evaluation

Merged #4514 made component build environments install snapd from edge and refreshed LXD and destructive-mode spread tests.

Resolution: closed resolved

Reason: PR #4514 was approved and merged. It updated component builds to refresh snapd from edge and added spread coverage for LXD and destructive-mode build environments.

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`? ----- 1. Install snapd from edge inside build environments 2. Update spread tests to exercise build environments (two tests use lxd, one uses destructive-mode) Note: Installing `snapd` from edge exposed a minor bug in craft-providers `1.20.1`. However, that bug was mercifully fixed in the `1.19.3` hotfix (which was released and merged to main after `1.20.1` and there hasn't been a release on main since). So To get this prototype out the door, I'm just pointing to `main` for craft-providers and I'll do a [release](https://github.com/canonical/craft-providers/pull/493) soon.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged #4514 made component build environments install snapd from edge and refreshed LXD and destructive-mode spread tests.
stealth/space-bunny-alpha — closed resolved Merged in snapcore/snapcraft#4514, installing snapd from edge for component build environments and updating LXD and destructive-mode Spread tests; PR #4733 later removed the edge dependency.
stealth/space-bunny-alpha — closed resolved Merged in snapcore/snapcraft#4514: build environments install snapd from edge for components, with updated LXD and destructive-mode spread tests.
qwen/qwen3.6-35b-a3b — — 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.
qwen3.6-35b-a3b-mtp-q6 — — Merged to install snapd from edge in build environments, enabling component builds. Temporarily references craft-providers main to bypass a fixed bug and updates spread tests. Simplified pending stable channel support.

Update history

No update history recorded yet.

Related work

  • Related To: snapcore/snapcraft#4512 (confidence 100%)

    The author cited this merged PR as fixing the pyright CI failure that had not been cherry-picked into #4514.

Related issues

Issue Project State Summary Similarity
#585 fix: check if lxd snap is installed craft-providers merged Merged #585 via c62b1e2, replacing LXD PATH executable detection with a snapd socket query so auto-installer stubs are handled correctly.
73%
#4656 Install snapd from edge only when components are enabled snapcraft closed Core24 component support now selects edge snapd only when components are enabled, retaining stable by default. Completed via merged PR #4700 (070c7e995).
72%
#4733 fix(providers): do not install snapd from edge snapcraft merged Merged PR snapcraft#4733 (commit 6c96bd2b6) removed proactive edge-channel snapd installation in providers, replacing it with a lazy `_retry_with_newer_snapd` decorator on pack_component.
71%