← Back to issue list

inaccurate error for a misformatted app name

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1996525
Type
issue
State
open
Author
~ondrak
Labels
—
Created
Updated
Closed
—

Current evaluation

Snapcraft 7.2.7 reports the first app name when the later ccc_ccc app key is invalid; the report remains untriaged with no comments, labels, or confirmed fix.

Suggested action: needs triage

Reason: The body provides a complete Snapcraft 7.2.7 manifest and reports that invalid ccc_ccc is incorrectly diagnosed as aaa-aaa. However, the emitted error is omitted, and the issue has received no maintainer response or categorization, so triage is needed; the impact is primarily a misleading diagnostic.

Evaluated by: mr-cal-bot

Impact: 28 Quick Win: 14 Complexity: 34 Confidence: 90 Actionability: 76

Issue body

inaccurate error for a misformatted app name snapcraft version: 7.2.7 Following snapcraft.yaml has a wrong name of the last app. Reported error somehow insist on wrong name of the first app. name: test version: '0.1' summary: test description: | Test base: core20 grade: stable confinement: devmode apps: aaa-aaa: command: usr/bin/aaa bbb-bbb: command: usr/bin/bbb ccc_ccc: command: usr/bin/ccc daemon: simple parts: prebuilt: plugin: dump source: . organize: '*' : usr/

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 28
Quick Win: 14
Complexity: 34
Confidence: 90
Actionability: 76
needs triage Snapcraft 7.2.7 reports the first app name when the later ccc_ccc app key is invalid; the report remains untriaged with no comments, labels, or confirmed fix.
stealth/space-bunny-alpha
Impact: 24
Quick Win: 14
Complexity: 28
Confidence: 86
Actionability: 82
needs triage Snapcraft 7.2.7 blames the first app for invalid `ccc_ccc` instead of the offending app name; the unlabelled report has no maintainer feedback or identified fix.
qwen3.6-35b-a3b-mtp-q6
Impact: 40
Quick Win: 28
Staleness: 95
Complexity: 30
Confidence: 60
Support Request: 10
close stale Snapcraft reports error on wrong app when a misformatted app name uses underscore instead of hyphen. Issue is 1389 days old with no maintainer engagement or labels.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 20
Confidence: 85
Support Request: 5
close stale Reports an inaccurate error message in snapcraft 7.2.7 where a misformatted app name incorrectly flags the first app instead of the actual offending entry. Untriaged and inactive for over 3 years.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 35
Confidence: 90
Support Request: 5
close stale Snapcraft reports an incorrect error location when validating a misformatted app name in snapcraft.yaml. The error points to the first app instead of the actual invalid one. No maintainer response or activity in ~3.7 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 40
Confidence: 85
Support Request: 10
close stale Inaccurate error message in snapcraft v7.2.7 for a misformatted app name in snapcraft.yaml. The validation error incorrectly references the first app instead of the malformed one. No maintainer response or activity in over 3.5 years.

Update history

Date Change
created

Related issues

Issue Project State Summary Similarity
#1986624 snapcraft points to wrong entry in apps as being invalid. snapcraft (launchpad) open Snapcraft 6.1 misreports runtests as invalid even though get_cache_info, which contains an underscore, is the actual invalid app name; the issue remains open without a confirmed fix.
71%