← Back to issue list

remote-build doesn't support shorthand architecture format

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#2042167
Type
issue
State
open
Author
~gbeuzeboc
Labels
Created
Updated
Closed

Current evaluation

remote-build ignores shorthand architecture format in snapcraft.yaml despite documentation stating it's equivalent to full format. Untriaged, 1038 days old.

Suggested action: needs triage

Reason: This issue has zero comments, no labels, and no assignee, indicating it has never been assessed by a maintainer. While it describes a valid inconsistency between documented shorthand architecture format behavior and remote-build's actual behavior, the extreme age (1038 days) and the related launchpad issue #1870730 being abandoned without a fix suggest the project may have moved on. A maintainer should triage to determine if this is still reproducible in current versions.

Impact: 50 Quick Win: 30.0 Staleness: 85 Complexity: 40 Confidence: 65 Support Request: 20

Issue body

In the architecture documentation: https://forum.snapcraft.io/t/architectures/4972 It's mentioned: > architectures: > - build-on: [amd64] > > The shorthand format will also produce the same result: > > architectures: > - amd64 When using remote build and using the semi-complete architecture with "build-on" remote-build is considering it. On the contrary, when using the shorthand architecture format, remote-build is ignoring it. If both syntax are producing the same result, it should be the same for remote-build. Using the shorthand architecture format allows us to specify the --build-on flag on top of the architecture definition with remote-build while the help specifically mention: >If not specified in the snapcraft.yaml file, the list of     architectures to build can be set using the --build-on option.     If both are specified, an error will occur. snapcraft 7.5.3

Evaluation history

Date Model Scores Action Summary
qwen3.6-35b-a3b-mtp-q6
Impact: 50
Quick Win: 30.0
Staleness: 85
Complexity: 40
Confidence: 65
Support Request: 20
needs triage remote-build ignores shorthand architecture format in snapcraft.yaml despite documentation stating it's equivalent to full format. Untriaged, 1038 days old.
qwen/qwen3.6-35b-a3b
Staleness: 90
Complexity: 40
Confidence: 85
Support Request: 10
needs triage remote-build ignores shorthand architecture syntax in snapcraft.yaml while accepting the full format, contradicting documentation. The report lacks maintainer comments, labels, or activity after nearly three years.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 20
Confidence: 85
Support Request: 5
needs triage remote-build ignores shorthand architecture syntax in snapcraft.yaml while accepting the full format, causing inconsistent behavior. Unlabelled, no maintainer response, inactive for ~2.7 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 92
Complexity: 20
Confidence: 85
Support Request: 5
needs triage snapcraft remote-build ignores shorthand architecture syntax in snapcraft.yaml while accepting explicit format. Unlabelled, 0 comments, inactive for ~2.7 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 35
Confidence: 75
Support Request: 10
needs triage remote-build ignores shorthand architecture syntax in snapcraft.yaml while accepting the full format. Issue is inactive for over 2.5 years with no maintainer response or labels.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft#1870730 (confidence 70%)

    Launchpad issue about architectures keyword incorrectly interpreted by remote-build, abandoned without a code fix - suggests similar issues may not have been prioritized for resolution.

Related issues

Issue Project State Summary Similarity
#2007789 `snapcraft remote-build` does not support long syntax of the `architectures` top-level key. snapcraft (launchpad) open snapcraft remote-build validation error for long-form architectures syntax; likely fixed by PR #4793/craft-application PR #343
77%
#4144 remote build: legacy builder cannot parse core22 snapcraft.yaml syntax snapcraft closed Won't fix. The legacy remote builder lacks core22 syntax support and was descoped in favor of the new remote builder. The legacy builder will be removed in Snapcraft 9, making this enhancement unnecessary.
72%
#1781175 Cleanbuild remote wrong snap arch tag snapcraft (launchpad) closed cleanbuild --remote produced snaps with incorrect architecture tags when the remote differed from the local machine and --target-arch was omitted. The report was closed without comments or a fix, indicating abandonment.
70%