← Back to issue list

check for the existence of a command

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1791175
Type
issue
State
closed
Author
~sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Missing app-command validation received a clearer error in merged PR snapcraft#2272, committed as 65ba888da.

Resolution: closed resolved

Reason: Snapcraft added friendlier validation and errors for missing app commands. The resolving change was merged in PR snapcraft#2272 as commit 65ba888da.

Evaluated by: mr-cal-bot

No scores available.

Issue body

https://sentry.io/share/issue/dd8296657b6647a5abcbced62de19f10/

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Missing app-command validation received a clearer error in merged PR snapcraft#2272, committed as 65ba888da.
stealth/space-bunny-alpha — closed resolved Snapcraft added clearer validation and errors for missing app commands in merged PR snapcraft#2272 (commit 65ba888da).
stealth/space-bunny-alpha — closed stale Closed without a documented resolution; the body contains only a Sentry error link, and no fixing commit, PR, or maintainer explanation was identified.
qwen/qwen3.6-35b-a3b — — Closed without discussion or comments. Likely abandoned due to prolonged inactivity. No code changes, patches, or merge details were recorded.
qwen/qwen3.6-35b-a3b — — Closed without comments or linked resolution. No fix was implemented, indicating the report was likely abandoned or addressed externally.
qwen/qwen3.6-35b-a3b — — Closed without comments or resolution details. The issue referencing a Sentry error report was abandoned without implementation or further discussion.
qwen3.6-35b-a3b-mtp-q6 — — Closed without discussion or resolution details. The issue requested command existence checks but received no comments or follow-up actions. Likely abandoned or resolved externally.

Update history

Date Change
created

Related work

  • Likely Fixed By: snapcraft#2272 (confidence 99%)

    Merged PR 2272 introduced a friendlier message for an incorrect app command in commit 65ba888da.

Related issues

Issue Project State Summary Similarity
#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.
79%
#2048898 No helpfull message when command doesn't exist snapcraft (launchpad) open Snapcraft gave only a generic pack failure when an app command was absent from the staged snap; commit 44930f709 and PR #3321 later added command-not-found validation.
75%
#2272 meta: friendlier message for incorrect app command snapcraft merged Merged in canonical/snapcraft#2272 (65ba888da), adding a clearer missing app-command error and a warning for commands not relative to the prime directory.
73%