"snapcraft plugins" (latest/stable) chokes on parsing "extensions" line
Metadata
Current evaluation
Snapcraft 7.2.9 fails to parse snapcraft.yaml with extensions field, throwing pydantic validation error about extra fields in apps configuration
Suggested action: needs triage
Reason: The issue has zero maintainer comments and no visible triage labels beyond 'craft-1567'. While the bug report includes a clear traceback showing extensions being incorrectly parsed as an app-level field, the age (1332 days) and lack of follow-up require maintainer assessment to determine if it's still reproducible in current versions.
Impact:
60
Quick Win:
36.0
Staleness:
80
Complexity:
40
Confidence:
60
Support Request:
10
Issue body
With snapcraft latest/stable (Rev 8619), simply asking to list plugins with "snapcraft plugins" in a project with an "extensions:" line in snapcraft.yaml produces (log file):
2023-01-10 13:31:36.747 Starting Snapcraft 7.2.9
2023-01-10 13:31:36.766 Bad snapcraft.yaml content:
- extra field 'extensions' not permitted in 'apps.proto-device-application' configuration
2023-01-10 13:31:36.780 Traceback (most recent call last):
2023-01-10 13:31:36.780 File "/snap/snapcraft/8619/lib/python3.8/site-packages/snapcraft/projects.py", line 567, in unmarshal
2023-01-10 13:31:36.780 project = Project(**data)
2023-01-10 13:31:36.780 File "pydantic/main.py", line 331, in pydantic.main.BaseModel.__init__
2023-01-10 13:31:36.780 pydantic.error_wrappers.ValidationError: 1 validation error for Project
2023-01-10 13:31:36.780 apps -> proto-device-application -> extensions
2023-01-10 13:31:36.780 extra fields not permitted (type=value_error.extra)
2023-01-10 13:31:36.780 Full execution log: '/home/ubuntu/.cache/snapcraft/log/snapcraft-20230110-133136.746097.log'
Thread in channel here, where someone else confirms: https://chat.canonical.com/canonical/channels/starcraft/pgjhyatkefb67ds7gxm9p8h7ra
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen3.6-35b-a3b-mtp-q6 |
Impact:
60
Quick Win:
36.0
Staleness:
80
Complexity:
40
Confidence:
60
Support Request:
10
|
needs triage | Snapcraft 7.2.9 fails to parse snapcraft.yaml with extensions field, throwing pydantic validation error about extra fields in apps configuration | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
30
Confidence:
85
Support Request:
10
|
close stale | Snapcraft 7.2.9 fails to parse extensions in snapcraft.yaml during plugin listing, throwing a Pydantic validation error. Issue is over 3.5 years old with zero maintainer response. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
40
Confidence:
95
Support Request:
0
|
close stale | Bug report: snapcraft plugins fails parsing extensions line in snapcraft.yaml due to validation error. Issue is over 3 years old with no activity. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
30
Confidence:
80
Support Request:
10
|
close stale | Snapcraft 7.2.9 fails to parse snapcraft.yaml containing an extensions line, throwing a Pydantic validation error. The report is over three years old with no maintainer response or follow-up. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
98
Complexity:
40
Confidence:
80
Support Request:
5
|
close stale | Snapcraft 7.2.9 fails to parse snapcraft.yaml containing an extensions line when running snapcraft plugins, throwing a Pydantic validation error. Unassessed and inactive for over three years. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2011719 snapcraft expand-extensions is broken | snapcraft (launchpad) | open | snapcraft expand-extensions command produces invalid YAML with parse-info field error. Issue is ~3.5 years old with no activity. |