Parser should warn when it encounters an invalid snapcraft.yaml
Metadata
Current evaluation
Snapcraft now produces user-friendly errors when 'parts' is missing from snapcraft.yaml, addressing the request for a parser warning.
Resolution: closed resolved
Reason: The issue was resolved as Snapcraft now provides user-friendly errors for missing 'parts', as noted in the closing comment and implemented in the model unmarshalling logic (e.g., snapcraft/application.py).
Evaluated by: mr-cal-bot
No scores available.
Issue body
* If 'parts' is missing from snapcraft.yaml the parser should warn.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | closed resolved | Snapcraft now produces user-friendly errors when 'parts' is missing from snapcraft.yaml, addressing the request for a parser warning. | |
| stealth/space-bunny-alpha |
Impact:
30
Quick Win:
22
Complexity:
15
Confidence:
96
Actionability:
85
|
close resolved | The 2016 request to warn when snapcraft.yaml omits parts is now covered: GrammarAwareProject requires parts and apply_yaml validates it before further processing. | |
| stealth/space-bunny-alpha |
Impact:
36
Quick Win:
16
Complexity:
28
Confidence:
78
Actionability:
61
|
needs triage | A 2016 request to warn when snapcraft.yaml omits parts remains open and unlabelled; current grammar validation declares parts required, but the reported silent-default path needs verification. | |
| qwen/qwen3.6-35b-a3b |
Impact:
30
Quick Win:
22
Complexity:
10
Confidence:
70
Actionability:
80
|
needs triage | Feature request to warn when 'parts' is missing from snapcraft.yaml. Currently the parser silently defaults to an empty parts dict. Issue is unlabelled with no maintainer response. | |
| qwen/qwen3.8-27b |
Impact:
15
Quick Win:
13
Staleness:
95
Complexity:
15
Confidence:
65
Support Request:
10
|
close stale | 2015-era feature request asking the snapcraft parser to warn when snapcraft.yaml is missing the 'parts' key. No labels, no comments, no activity for ~10 years. Modern snapcraft validates the file against a schema requiring parts, so the concern is outdated. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
98
Complexity:
15
Confidence:
90
Support Request:
10
|
close stale | Request to add a parser warning when the 'parts' key is missing from snapcraft.yaml. The issue has been inactive for over nine years with no maintainer response or comments. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
98
Complexity:
15
Confidence:
70
Support Request:
5
|
needs triage | Feature request to add a parser warning when the 'parts' key is missing from snapcraft.yaml. Open for over 10 years with zero maintainer comments or labels, awaiting assessment. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
98
Complexity:
15
Confidence:
90
Support Request:
10
|
close stale | Feature request to add a parser warning when the 'parts' field is missing from snapcraft.yaml. Issue has been inactive for over 9 years with no maintainer response or labels. |
Update history
| Date | Change |
|---|---|
| created |
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1599098 [parser] Don't explode if snapcraft.yaml is missing | snapcraft (launchpad) | closed | Fixed by merged PR #985 (commit 632022ccd), which replaced the missing snapcraft.yaml traceback with a clearer parser error. |