← Back to issue list

Better error message when we can't find snapcraft.yaml

View original Github issue

Metadata

Project
snapcraft
Number
#4636
Type
issue
State
open
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

Feature request to improve the error message when snapcraft.yaml is not found in the craft-application branch, adding a helpful message with a documentation link. No labels, no assignee, last activity 536 days ago.

Suggested action: needs triage

Reason: The issue was created by a maintainer (lengau) as a feature request to improve the error message when snapcraft.yaml is not found. It has no labels, no assignee, and no maintainer response beyond the initial reference to PR #4611. The last activity was 536 days ago. The issue needs triage to determine if it's still relevant or if it has been addressed in the current codebase.

Impact: 30 Quick Win: 25.5 Staleness: 75 Complexity: 15 Confidence: 60 Support Request: 10

Issue body

### What needs to get done In the craft-application branch, `_resolve_project_path` should error more cleanly if we can't find `snapcraft.yaml`, alerting the user with a nice error message that links to documentation ### Why it needs to get done The behaviour right now could be unclear to an end user.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 30
Quick Win: 25.5
Staleness: 75
Complexity: 15
Confidence: 60
Support Request: 10
needs triage Feature request to improve the error message when snapcraft.yaml is not found in the craft-application branch, adding a helpful message with a documentation link. No labels, no assignee, last activity 536 days ago.
qwen/qwen3.6-35b-a3b
Staleness: 85
Complexity: 15
Confidence: 80
Support Request: 5
needs triage Improve error messaging in resolve_project_path when snapcraft.yaml is missing. Currently unlabelled, unassigned, and inactive for over two years with no maintainer follow-up.
qwen3.6-35b-a3b-mtp-q6
Staleness: 90
Complexity: 20
Confidence: 85
Support Request: 5
close stale Request to improve error handling in _resolve_project_path when snapcraft.yaml is missing, providing a clearer message with documentation links. Currently unlabelled and inactive for over two years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 75
Complexity: 15
Confidence: 80
Support Request: 0
needs triage Improve error messaging in _resolve_project_path when snapcraft.yaml is missing. Requires a clear error with a documentation link. Open since 2024, last activity March 2024, tracked in Jira CRAFT-2573 and referenced in a related PR discussion.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft#4611 (confidence 80%)

    The issue references PR #4611 as the context where this improvement was discussed.

Related issues

Issue Project State Summary Similarity
#1666160 Can’t distinguish programmatically between snapcraft.yaml errors and other errors snapcraft (launchpad) open 2016 feature request for programmatic error codes distinguishing snapcraft.yaml validation failures from other build errors, so build.snapcraft.io could attach yaml errors to its UI. No labels, no comments, no maintainer activity for ~9.5 years.
73%
#1807871 Does not warn/error when no apps are defined snapcraft (launchpad) open Feature request for snapcraft to warn or error when no apps are defined in snapcraft.yaml, and to add a lint check. 7.7 years old, no labels, no maintainer comments, never triaged.
70%