← Back to issue list

errors: Add InvalidAppCommand errors for non-existent and not-found

View original Github issue

Metadata

Project
snapcraft
Number
#2539
Type
pull request
State
merged
Author
clobrano
Labels
Created
Updated
Closed

Current evaluation

Added InvalidAppCommand error classes for non-existent and not-found command apps. Approved by reviewers, passed CI and coverage checks, and merged following the release window reopening.

Suggested action:

No scores available.

Issue body

Add a specific errors for - command app not found - command app not executable LP: #1727425 - [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 `./runtests.sh static`? - [x] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Added InvalidAppCommand error classes for non-existent and not-found command apps. Approved by reviewers, passed CI and coverage checks, and merged following the release window reopening.
qwen3.6-35b-a3b-mtp-q6 Merged after fixing test failures and adding missing unit tests. Introduces InvalidAppCommand error classes for non-existent and non-executable apps, resolving LP #1727425. Approved by maintainers upon release window reopening.
qwen3.6-35b-a3b-mtp-q6 Added InvalidAppCommand errors for non-existent and non-executable command apps. After resolving static test failures and improving coverage, the changes were merged during an open release window following maintainer review.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#3321 meta: add error check for "command not found" snapcraft merged Merged. Adds error handling for missing app commands by replacing PrimedCommandNotFoundError with InvalidAppCommandNotFound and includes unit tests. Approved and merged after brief discussion on exception handling.
78%