← Back to issue list

lxd: add snapshot support (CRAFT-144)

View original Github issue

Metadata

Project
craft-providers
Number
#52
Type
pull request
State
merged
Author
cjp256
Labels
—
Created
Updated
Closed

Current evaluation

LXD snapshot support was merged in canonical/craft-providers#52 via commit 2ddab88 (implementation 5d49777), adding CRAFT-144 functionality.

Resolution: closed resolved

Reason: PR #52 was merged into main in commit 2ddab88, with implementation commit 5d49777, adding the requested LXD snapshot support. Later, PR #177 replaced this snapshot-based launch flow with cached base instances and deprecated use_snapshots.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Signed-off-by: Chris Patterson <chris.patterson@canonical.com> - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved LXD snapshot support was merged in canonical/craft-providers#52 via commit 2ddab88 (implementation 5d49777), adding CRAFT-144 functionality.
qwen/qwen3.6-35b-a3b — closed resolved Merged PR adding LXD snapshot support (CRAFT-144). Maintainer suggested adding a reference counter or auto-clean toggle for snapshot garbage collection.

Update history

Date Change
created

Related work

Related issues

Issue Project State Summary Similarity
#51 lxc: add has_image() helper and use yaml BaseLoader (CRAFT-144) craft-providers merged Merged in canonical/craft-providers#51 (commit 4772124, merge 96b2b6a), adding LXD has_image() and using yaml.BaseLoader so image timestamps remain strings.
74%
#1364 lxd: Inject snapcraft and core snaps into the container snapcraft merged Merged PR #1364 as 99f5598ac, injecting the host's Snapcraft and core snaps into LXD containers so builds no longer use a mismatched Xenial archive version.
73%
#2509 build providers: initial support for LXD snapcraft merged Merged PR #2509 (commit 067024732) adding initial LXD build-provider support: `snapcraft --use-lxd` runs all lifecycle steps and clean inside an LXD container. Released via beta/lxd channel; LP bug #1805221 closed.
73%
#1412 lxd: snapcraft refresh in containers snapcraft merged Merged PR #1412 as 3d511c5eb, making LXD container refresh install Snapcraft once while allowing packages and snaps to be updated in reusable containers.
71%
#2222 lxd: support new style snap injection snapcraft merged Merged in #2222 via commit 8acd203, adding new-style LXD snap handling, removing sudo-based injection, and consolidating duplicated tests.
70%
#1805221 Build environment with lxd (--use-lxd) snapcraft (launchpad) closed LXD build-provider support was implemented and merged in snapcraft PR #2509 (commit 067024732, "build providers: initial support for LXD"), making `snapcraft --use-lxd` run lifecycle steps and clean in an LXD container. Bug closed.
70%
#3300 [wip] remote lxd / cross-arch support snapcraft closed WIP PR adding remote LXD / cross-arch support to snapcraft was closed unmerged by sergiusens on 2020-12-15 so the work could move to the new craft-providers package; remote support later landed in craft-providers#55.
70%