← Back to issue list

cli: catch craft-provider errors

View original Github issue

Metadata

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

Current evaluation

Merged into hotfix/7.5 as commit 6b2f6d207, adding CLI handling for craft-provider errors; it backported the #4295 fix for CRAFT-2174.

Resolution: closed resolved

Reason: PR #4419 was merged as commit 6b2f6d207, delivering the craft-provider error handling from PR #4295 to the 7.5 hotfix branch.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `make lint`? - [x] Have you successfully run `pytest tests/unit`? ----- Cherry-pick the bugfix in https://github.com/snapcore/snapcraft/pull/4295 onto `hotfix/7.5` Related to #429 (CRAFT-2174)

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged into hotfix/7.5 as commit 6b2f6d207, adding CLI handling for craft-provider errors; it backported the #4295 fix for CRAFT-2174.
stealth/space-bunny-alpha — closed resolved Merged PR #4419 as commit 6b2f6d207, cherry-picking the craft-provider error-handling fix from #4295 into hotfix/7.5.
stealth/space-bunny-alpha — closed resolved Merged PR #4419 as commit 6b2f6d207, cherry-picking the craft-provider error-handling fix from #4295 into hotfix/7.5.
qwen/qwen3.6-35b-a3b — — Merged a cherry-picked bugfix to catch craft-provider errors in the CLI. Approved, passed CI, and integrated into the hotfix/7.5 branch after resolving initial dependencies.
qwen3.6-35b-a3b-mtp-q6 — — Cherry-picked bugfix #4295 and merged into hotfix/7.5 to catch craft-provider errors in the CLI, resolving issue #429. The change passed all checks with 100% test coverage.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/snapcraft#4295 (confidence 100%)

    Original merged fix that was cherry-picked into the 7.5 branch.

  • Blocked By: canonical/snapcraft#4420 (confidence 100%)

    Temporarily blocked the backport until its pyright CI pin was merged.

Related issues

Issue Project State Summary Similarity
#4295 cli: catch craft-provider errors snapcraft merged Merged #4295 as commit 511061252, adding CLI handling for craft-provider errors; the PR states it resolves #4262 (CRAFT-1898).
92%
#4262 LXD errors from Craft Providers not properly presented snapcraft closed Fixed by #4295 (commit 511061252), which catches Craft Providers errors and shows user-friendly messages instead of tracebacks; backported for 7.5 by #4419 (commit 6b2f6d207).
71%