← 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 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.

Suggested action: close stale

Reason: The issue is 1389 days (~3.8 years) old with zero maintainer interaction, no labels, and no comments. The reported snapcraft version (7.2.7) is likely obsolete. While the bug itself (error message pointing to wrong app) is legitimate, the extreme staleness and lack of any follow-up suggest it should be closed as stale rather than kept open indefinitely.

Impact: 40 Quick Win: 28.0 Staleness: 95 Complexity: 30 Confidence: 60 Support Request: 10

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
qwen3.6-35b-a3b-mtp-q6
Impact: 40
Quick Win: 28.0
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.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 40
Confidence: 70
Support Request: 10
close stale snapcraft v7.2.7 validation incorrectly reports errors for misformatted app names, pointing to the first app instead of the actual invalid entry. No maintainer interaction or comments in over 3.5 years.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1798205 Underscores in app names not reported properly snapcraft (launchpad) open Snapcraft reports the wrong app name in validation errors when an app name contains an underscore: with apps 'one' and 'two_three', the error blames the valid app 'one' instead of 'two_three'. Open since 2014, no labels, comments, or maintainer activity.
78%
#1851003 Error message displays name of first application when a secondary application fails name validation snapcraft (launchpad) open Snapcraft schema validation names the first app instead of the actually invalid app when a secondary app name fails validation. Open ~6.8 years, no labels, zero maintainer interaction, no fix; a similar report (LP 1996525) is also open.
74%
#1986624 snapcraft points to wrong entry in apps as being invalid. snapcraft (launchpad) open Snapcraft 6.1 validation error misreports the first app ('runtests') as invalid when the actual offending app name ('get_cache_info', with an underscore) is the real problem. No maintainer interaction; zero comments; ~4 years old.
72%