← Back to issue list

snapcraft does not seem to call `snap pack --check-skeleton` to validate that snap has correct things

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1950465
Type
issue
State
closed
Author
~xnox
Labels
Created
Updated
Closed

Current evaluation

⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.

Closed without implementation. The request to add snap metadata validation during build was abandoned due to inactivity and lack of proposed fixes.

Suggested action:

No scores available.

Issue body

I built a snap with plug name that contains '.' snapcraft made the snap just fine. But when i installed it, snapd said that there is a new warning and that my snap has bad plugs or slots, listed them as invalid plug name. I would have hoped that snapcraft would show such a warnings; and/or fail to build the snap. After fixing that, i got a new warning that system-files plug cannot end with "/". Again I would have hoped that snapcraft would tell me that, not snapd.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without implementation. The request to add snap metadata validation during build was abandoned due to inactivity and lack of proposed fixes.
qwen/qwen3.6-35b-a3b Closed without action due to inactivity. The report highlights missing validation for invalid plug and slot names in snapcraft, suggesting integration of snap pack --check-skeleton to catch errors during build rather than at installation. No fix was implemented.
qwen3.6-35b-a3b-mtp-q6 Closed without resolution. The report requested snapcraft validate plug and slot names during build, warning or failing instead of deferring to snapd. No fix was implemented.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1636653 During snapcraft releases, we are not testing that important projects continue to build snapcraft (launchpad) closed Closed without implementation. No automated test suite was created to verify critical projects build during snapcraft releases. The request was abandoned after extended inactivity.
72%
#1626625 snapcraft can't run tests as part of building a snap snapcraft (launchpad) closed Closed without implementation. The request to add test execution rules to snapcraft received no comments and was abandoned or superseded by newer snapcraft testing features.
71%
#1627843 snapcraft should check permissions before starting an upload snapcraft (launchpad) closed Closed without resolution due to prolonged inactivity. The request to validate authentication permissions before uploading large snaps was abandoned, with no fix or implementation added to subsequent versions.
71%