lifecycle: remove lxd support for bases
Metadata
Current evaluation
Merged PR #2335 as commit 27ec9ba63, removing lifecycle LXD builds for projects using bases while retaining cleanbuild/LXD for non-base projects.
Resolution: closed resolved
Reason: PR #2335 was merged as commit 27ec9ba63. It removes lifecycle LXD handling for projects with bases, preserves cleanbuild/LXD for non-base projects, and defers LXD support to a future build-provider implementation.
Evaluated by: mr-cal-bot
No scores available.
Issue body
cleanbuild and containerbuilds have not moved on to proper build environments.
Support for LXD is slated to come back in the form of a build provider
inherited class.
Projects not using bases should be able to continue building using cleanbuild
or lxd as a build environment setting.
LP: #1796980
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
- [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)?
- [ ] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)?
- [ ] Have you successfully run `./runtests.sh static`?
- [ ] Have you successfully run `./runtests.sh tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2335 as commit 27ec9ba63, removing lifecycle LXD builds for projects using bases while retaining cleanbuild/LXD for non-base projects. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #2335 in commit 27ec9ba63, removing lifecycle LXD support for bases; non-base projects retain cleanbuild/LXD, and LXD is planned to return as a build provider. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged. Removes LXD support for bases from the lifecycle module, deleting ~2,500 lines across 31 files. LXD support will return as a dedicated build provider class since cleanbuild and containerbuilds lack proper environments. Approved and merged. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged removal of LXD support for bases in the lifecycle module. Cleanbuild and containerbuilds remain for non-base projects, with LXD support planned to return as a dedicated build provider class. |
Update history
No update history recorded yet.
Related work
-
Related To:
snapcraft (launchpad)#1796980
(confidence 100%)
The PR explicitly links Launchpad bug LP #1796980.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #188 lxd: delete and recreate invalid bases instances | craft-providers | merged | Merged PR #188 as commit c293be3, adding automatic deletion and recreation of LXD base instances older than 90 days to keep build environments current. | |
| #1796980 Remove cleanbuild | snapcraft (launchpad) | closed | Merged snapcore/snapcraft#2335 as 27ec9ba63, removing LXD lifecycle builds for base-based snaps and making cleanbuild redundant for them. | |
| #2089 many: remove support for remote lxd per project containers | snapcraft | merged | Merged #2089 (commit a3bafbb7c), removing remote LXD per-project container support due to poor UX and directing users to cleanbuild. | |
| #898 feat(lifecycle): update UX for unmaintained bases | craft-application | merged | Merged PR #898 as commit 2ed7aae7, updating lifecycle UX for unmaintained bases and adding --ignore=unmaintained support. |