← Back to issue list

`after:` does not support `- on` selector

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1795059
Type
issue
State
open
Author
~3v1n0
Labels
Created
Updated
Closed

Current evaluation

Snapcraft part dependency 'after:' rejects arch-specific '- on <arch>:' selectors, failing schema validation. Reported ~8 years ago with no maintainer response, labels, or activity.

Suggested action: needs triage

Reason: The issue has zero comments, no labels, and no maintainer interaction in ~8 years (last activity 2890 days ago), so it has never been triaged. It is a legitimate feature/bug report about the 'after' part dependency not accepting arch-conditional '- on' selectors, but there is no evidence it was ever assessed or that the behavior still holds in current snapcraft, so it needs triage rather than closure.

Impact: 30 Quick Win: 18.0 Staleness: 95 Complexity: 40 Confidence: 55 Support Request: 30

Issue body

I was trying to use different part dependent based on arch, but I can't use something like this: after: - on i386: - desktop-qt4 - on amd64: - desktop-qt5 Issues while validating snapcraft.yaml: The 'parts/my-part/after[0]' property does not match the required schema: OrderedDict([('on amd64', ['apt', 'dpkg'])]) is not of type 'string'

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 30
Quick Win: 18.0
Staleness: 95
Complexity: 40
Confidence: 55
Support Request: 30
needs triage Snapcraft part dependency 'after:' rejects arch-specific '- on <arch>:' selectors, failing schema validation. Reported ~8 years ago with no maintainer response, labels, or activity.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 40
Confidence: 85
Support Request: 20
close stale Schema validation error when using architecture selectors in the after: field for snapcraft parts. Untriaged and inactive for nearly 8 years.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 25
Confidence: 90
Support Request: 5
close stale Snapcraft schema validation rejects architecture selectors inside the after part list, causing a type mismatch error. The report has received zero maintainer interaction or community activity for nearly 8 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 20
Confidence: 85
Support Request: 10
close stale Request to support architecture selectors in the snapcraft after: field. Unlabelled, zero comments, and inactive for over 7 years. Likely obsolete due to significant schema changes in modern snapcraft versions.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 20
Confidence: 90
Support Request: 15
close stale snapcraft.yaml 'after:' field rejects '- on' architecture selectors, triggering schema validation errors. Unaddressed for 7+ years with zero maintainer interaction.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.