← Back to issue list

snapcraft expand-extensions is broken

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#2011719
Type
issue
State
open
Author
~scarlettmoore
Labels
craft-1701
Created
Updated
Closed
—

Current evaluation

expand-extensions failed on valid core22 YAML using parse-info and advanced grammar; merged PR #4110 fixed preprocessing and added matching regression coverage.

Suggested action: close resolved

Reason: Merged PR #4110, commit 51ca1524b, changed expand-extensions to parse snapcraft.yaml before expansion, directly addressing the reported parse-info and advanced-grammar failures. Current tests include a complex expand-extensions case covering both parse-info and `on amd64:` grammar.

Evaluated by: mr-cal-bot

Impact: 40 Quick Win: 27 Complexity: 30 Confidence: 99 Actionability: 98

Issue body

snapcraft expand-extensions > snapcraft-expanded.yaml Bad snapcraft.yaml content: extra field ‘parse-info’ not permitted in ‘parts.blinken’ configuration

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 40
Quick Win: 27
Complexity: 30
Confidence: 99
Actionability: 98
close resolved expand-extensions failed on valid core22 YAML using parse-info and advanced grammar; merged PR #4110 fixed preprocessing and added matching regression coverage.
stealth/space-bunny-alpha
Impact: 47
Quick Win: 32
Complexity: 28
Confidence: 99
Actionability: 96
close resolved expand-extensions was fixed to preprocess YAML before validation and expansion, so parse-info and architecture grammar no longer cause an extra-field error.
stealth/space-bunny-alpha
Impact: 35
Quick Win: 25
Complexity: 25
Confidence: 98
Actionability: 95
close resolved expand-extensions emitted invalid parts.parse-info content; merged PR #4110 added YAML preprocessing, and the current command removes parse-info before model validation.
qwen3.6-35b-a3b-mtp-q6
Impact: 10
Quick Win: 8
Staleness: 95
Complexity: 20
Confidence: 85
Support Request: 10
close stale snapcraft expand-extensions command produces invalid YAML with parse-info field error. Issue is ~3.5 years old with no activity.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 25
Confidence: 85
Support Request: 15
close stale snapcraft expand-extensions command fails with an unpermitted parse-info field error. The report is over 3 years old with zero comments or maintainer engagement.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 40
Confidence: 85
Support Request: 15
close stale snapcraft expand-extensions command fails with a validation error regarding an extra parse-info field in parts configuration. Issue has been inactive for over 3 years with no maintainer response.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 30
Confidence: 70
Support Request: 10
close stale snapcraft expand-extensions fails with a validation error about an unexpected parse-info field in a part configuration. No maintainer interaction or comments in over 3 years.

Update history

Date Change
created

Related work

  • Likely Fixed By: snapcraft#4110 (confidence 99%)

    Its merged commit 51ca1524b implements the requested pre-expansion YAML parsing.

  • Related To: snapcraft#4035 (confidence 98%)

    The reporter identified this prior list-plugins fix as the analogous change to apply to expand-extensions.

Related issues

Issue Project State Summary Similarity
#4110 extensions: parse snapcraft.yaml before expanding extensions snapcraft merged Merged #4110 (commit 51ca1524b): expand-extensions now parses snapcraft.yaml before expansion, fixing valid core22 files that use parse-info and advanced grammar keywords.
82%