← Back to issue list

snap: add configure hook to delete outdated instances from lxd

View original Github issue

Metadata

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

Current evaluation

Merged as cbe7699a: added a snap configure hook that removes known outdated LXD images and instances whenever Rockcraft is installed or refreshed (CRAFT-1344).

Resolution: closed resolved

Reason: PR #207 was merged into Rockcraft as commit cbe7699a, implementing cleanup of obsolete LXD instances and images during snap installation or refresh.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [X] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? ----- When rockcraft is installed or refreshed, the snap configure hook will remove outdated images and instances from LXD. (CRAFT-1344)

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged as cbe7699a: added a snap configure hook that removes known outdated LXD images and instances whenever Rockcraft is installed or refreshed (CRAFT-1344).
stealth/space-bunny-alpha — closed resolved Merged #207 as cbe7699a, adding a snap configure hook that removes outdated LXD images and instances when Rockcraft is installed or refreshed (CRAFT-1344).
stealth/space-bunny-alpha — closed resolved Merged rockcraft#207, adding a snap configure hook that removes outdated LXD images and instances when Rockcraft is installed or refreshed (CRAFT-1344).
qwen/qwen3.6-35b-a3b — — Merged. Adds a snap configure hook to remove outdated LXD images and instances during Rockcraft installation or refresh. Approved by two reviewers and merged after addressing test failures from spread resources and runner deprecation.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Introduces a snap configure hook to automatically delete outdated LXD images and instances when rockcraft is installed or refreshed. Resolves CRAFT-1344 after initial test failures from spread resource limits and deprecated Ubuntu 18.04 runners were fixed.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#199 snap: add remove hook to delete rockcraft data from lxd rockcraft merged Merged #199 in commit 2c6ad423, adding a snap remove hook that deletes Rockcraft's LXD images, instances, and project when the snap is removed.
84%
#710 feat: upstream snap hooks craft-providers merged Merged as 5bbaf39, adding reusable configure and remove snap hooks to prune obsolete LXD base instances, derived instances, images, and projects.
74%
#4014 snap: add remove hook to delete base instances and base images snapcraft merged Merged #4014 in commit 4e41bf0c9, adding an uninstall hook that deletes Snapcraft's LXD base instances and images (CRAFT-1488).
74%