errors: Add InvalidAppCommand errors for non-existent and not-found
Metadata
Current evaluation
Merged PR #2539 via commit e0cb7cb94, adding InvalidAppCommand errors for missing and non-executable app commands.
Resolution: closed resolved
Reason: Pull request #2539 was approved and merged, resolving the behavior in commit e0cb7cb94 with specific errors for missing and non-executable app commands.
Evaluated by: mr-cal-bot
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 |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2539 via commit e0cb7cb94, adding InvalidAppCommand errors for missing and non-executable app commands. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged as commit e0cb7cb94, adding InvalidAppCommand errors for missing and non-executable application commands. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2539 (commit e0cb7cb94), adding InvalidAppCommand errors for missing and non-executable application commands. | |
| 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. |
Update history
No update history recorded yet.
Related work
-
Related To:
snapcraft (launchpad)#1727425
(confidence 99%)
Launchpad bug cited in the PR as the originating report.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1727425 same error for app command not existent and not executable | snapcraft (launchpad) | closed | Fixed by PR #2539 in commit e0cb7cb94, adding distinct InvalidAppCommand errors for non-existent and non-executable commands. | |
| #3321 meta: add error check for "command not found" | snapcraft | merged | Merged in snapcraft#3321 via commit 44930f709: missing app commands now raise InvalidAppCommandNotFound; PrimedCommandNotFoundError was removed and unit tests added. |