← Back to issue list

cli: include consistent commands to fix error conditions

View original Github issue

Metadata

Project
snapcraft
Number
#1790
Type
pull request
State
merged
Author
come-maiz
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #1790 at b78dbda8, standardizing corrective commands in CLI error messages and closing #1733; prerequisite #1640 added richer common-error guidance.

Resolution: closed resolved

Reason: PR #1790 was merged as commit b78dbda8 and explicitly closed #1733 by adding consistent commands for resolving error conditions.

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] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)? - [x] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)? - [x] Have you successfully run `./runtests.sh static`? - [x] Have you successfully run `./runtests.sh unit`? ----- Closes #1733 Requires #1640

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #1790 at b78dbda8, standardizing corrective commands in CLI error messages and closing #1733; prerequisite #1640 added richer common-error guidance.
stealth/space-bunny-alpha — closed resolved Merged in PR #1790 (commit b78dbda8), closing #1733 by adding consistent fix commands to CLI error messages, on top of prerequisite PR #1640.
stealth/space-bunny-alpha — closed resolved PR #1790 (commit b78dbda8) merged to snapcraft, closing #1733. Added consistent CLI fix commands to error messages, building on the earlier merged prerequisite PR #1640 (c1200d9ee).
stealth/space-bunny-alpha — closed resolved Merged in PR #1790 (b78dbda8), closing #1733 by adding consistent fix commands to CLI error messages after prerequisite PR #1640.
qwen/qwen3.6-35b-a3b — — Merged implementation of consistent CLI commands to resolve error conditions. Closes #1733, depends on #1640, and received reviewer approval with minimal code changes across three files.
qwen3.6-35b-a3b-mtp-q6 — — Merged to implement consistent CLI commands for resolving error conditions. Closes #1733 and depends on #1640. Code was reviewed and integrated into the main branch.

Update history

No update history recorded yet.

Related work

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

    PR #1790 explicitly closes this issue.

  • Related To: canonical/snapcraft#1640 (confidence 99%)

    Required prerequisite PR #1640, merged as c1200d9ee, added what, why, and how-to-fix guidance for common errors.

Related issues

Issue Project State Summary Similarity
#1733 Apply guidelines from design to error messages with commands that fix snapcraft closed Merged PR #1790 standardized CLI error messages with consistent corrective commands and closed #1733 (commit b78dbda8).
84%
#1640 cli: add what, why, and how to fix to the common errors snapcraft merged Merged PR #1640 (c1200d9ee) added explanations and corrective guidance to common CLI errors across 15 files.
81%
#1347 cli: do not duplicate errors snapcraft merged Merged as commit 9e8e336de, PR #1347 eliminated duplicate CLI validation errors and refactored error handling to prevent recurrence.
78%
#1702 Apply guidelines from design to error messages with reasons for errors snapcraft closed Merged PR #1640 (commit c1200d9ee) added what, why, and how-to-fix guidance to common CLI errors, resolving #1702.
75%
#3125 cli: cleanup error handling snapcraft merged Merged PR #3125 in commit 68c64253b, simplifying CLI error handling with inline typing and removing obsolete Ubuntu 16.04 compatibility logic.
73%
#1429 cli: properly handle exceptions in lifecycle snapcraft closed Closed in favor of #1436, which implemented global CLI exception handling and merged as commit be340e4f7.
71%