build providers: nice message on bad base
Metadata
Current evaluation
Merged in #3180 via commit 9e569f652, adding a dedicated exception and clearer handling for invalid bases in the LXD build provider.
Resolution: closed resolved
Reason: PR #3180 was approved and merged as commit 9e569f652. Its new exception resolves SNAPCRAFT-1H2 by improving the error reported for bad LXD bases.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Create a new exception to handle bad bases being used for LXD.
Fixes SNAPCRAFT-1H2
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/)?
- [ ] 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 in #3180 via commit 9e569f652, adding a dedicated exception and clearer handling for invalid bases in the LXD build provider. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #3180 (commit 9e569f652), adding dedicated handling for invalid LXD build bases and a clearer error message. Resolves SNAPCRAFT-1H2. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged implementation adding a new exception to handle invalid bases in LXD build providers, providing clearer error messages. Resolves SNAPCRAFT-1H2. Approved by one reviewer, passed CI, and modified 4 files (+77/-14). | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged implementation adding a new exception to provide a clearer error message when invalid bases are used for LXD build providers. Resolves SNAPCRAFT-1H2. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3202 build providers: fix base change warning message | snapcraft | merged | Merged PR #3202 as commit c4e3c0ccb, correcting the misleading build-provider warning emitted when a base changes. | |
| #3182 build providers: improve warning for unknown base | snapcraft | merged | Merged in #3182 via commit 7346d937f, improving build-provider warnings for unknown bases. | |
| #2647 build providers: catch LXD socket error | snapcraft | merged | Merged PR #2647 as commit d1902b8cb, adding error handling for LXD socket failures in build providers. |