Snapcraft try
Metadata
Current evaluation
Merged snapcraft try via PR #2524 (commit ec579eaa1); LXD tests were split out because they require Snapcraft installed from the store.
Resolution: closed resolved
Reason: PR #2524 was merged as commit ec579eaa1, implementing the snapcraft try command. Its author confirmed that the LXD tests were split out because they required a store-installed Snapcraft.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [ ] 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/)?
- [ ] 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 snapcraft try via PR #2524 (commit ec579eaa1); LXD tests were split out because they require Snapcraft installed from the store. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2524 (commit ec579eaa1) from maintainer sergiusens, adding a new `snapcraft try` command (+354/-83, 23 files). LXD try tests were split out since they need store-installed Snapcraft. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2524 via commit ec579eaa1, implementing `snapcraft try`; LXD tests were split out because store-installed Snapcraft was required. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged after approval. Implements snapcraft try functionality. LXD tests were split out due to store dependency and injection limitations. Coverage decreased by 0.08%. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged snapcraft try implementation. Maintainer noted LXD test failures due to missing store injection and container state re-execution complexities. Code coverage decreased by 0.08% upon merge. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2014963 Snapcraft fails to build snap if Snapcraft itself is installed using `snap try` | snapcraft (launchpad) | open | `snap try` Snapcraft could not self-inject into legacy LXD builds because snapd cannot download a try snap; the affected provider is removed, but current behavior needs retesting. | |
| #1892551 snapcraft fails to run if it is installed as a try snap | snapcraft (launchpad) | open | Snapcraft 4.1.5 failed in LXD builds when launched via snap try because snapd cannot export a try-snap file; the affected legacy provider is absent from the current codebase. | |
| #1116 Changed "snappy try" to "snap try" | snapcraft | closed | Rename PR #1116 was closed unmerged in 2017 after inactivity; later PR #2524 merged the Snapcraft try command in commit ec579eaa1. | |
| #1996508 snapcraft try with core22 doesn't support lxd | snapcraft (launchpad) | closed | Core22 support for snapcraft try --use-lxd was added by merged PR snapcore/snapcraft#3981 (commit 2691262b8) and released on edge. | |
| #202 Run the tests in a xenial LXC. | snapcraft | merged | PR #202 by come-maiz moved snapcraft's test suite into a Xenial LXC, fixing LP bug #1532213. Merged in Jan 2016 (commit 4e8829dc3) after +1 from sergiusens. | |
| #1411 tests: build the snapcraft snap in travis tests | snapcraft | merged | Merged #1411 via commit 92c1e43b1, adding Travis coverage that builds the Snapcraft snap after LXD test infrastructure landed in #1415. | |
| #3957 tests: retry installing lxd snap | snapcraft | merged | PR #3957 merged as 57cd1d97b, adding snapd-testing-tools retries for LXD installation in spread tests to work around intermittent snapd bug 1870201. | |
| #45 actions: introduce helpers to install & inject snaps (CRAFT-253) | craft-providers | merged | PR #45 (commit 5e8109c, merged via 3573b67) added snap_installer.install_from_store() and inject_from_host() helpers plus installed_snap/core20_lxd_instance test fixtures, with unit and integration tests. | |
| #483 test(spread): run snap-preseed tests in lxd | imagecraft | merged | Merged PR #483 to update snap-preseed plugin tests to run in LXD across all systems, addressing CRAFT-5332. | |
| #1666735 snapcraft cleanbuild does not work with lxd installed via snap | snapcraft (launchpad) | closed | Fixed by merged canonical/snapcraft#1199 (commit 417989880), making cleanbuild LXD detection packaging-independent instead of relying on apt package metadata. |