← Back to issue list

cli: proper error for failed snap command

View original Github issue

Metadata

Project
snapcraft
Number
#1325
Type
pull request
State
merged
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #1325 in commit 4f21e5153, making the CLI return a proper error code when a snap command fails.

Resolution: closed resolved

Reason: PR #1325 was approved and merged as commit 4f21e5153, resolving the incorrect CLI exit behavior for failed snap commands.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Return a proper error code when failing to snap Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #1325 in commit 4f21e5153, making the CLI return a proper error code when a snap command fails.
stealth/space-bunny-alpha — closed resolved Merged in snapcraft#1325 via commit 4f21e5153; the CLI now returns a proper error code when a snap command fails.
stealth/space-bunny-alpha — closed resolved Merged CLI change to return a proper error code when a snap command fails, ensuring snap-operation failures are surfaced correctly.
qwen/qwen3.6-35b-a3b — — Merged: returns a proper error code when a snap command fails. Approved by one reviewer with no unresolved comments. Changes span two files (+15/-2).
qwen3.6-35b-a3b-mtp-q6 — — Merged CLI update that returns a proper error code when a snap command fails. Authored by maintainer sergiusens, the change was integrated directly into the codebase without review comments.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#401 fix: add snap commands logging craft-providers merged Merged PR #401 added Snap command logging to expose command output and errors for debugging, fixing #396; landed as commit d7aa4dc.
70%