remote-build doesn't support shorthand architecture format
Metadata
Current evaluation
Remote-build now handles shorthand architectures consistently; PR #4793 fixed the underlying bug in commit 53ec55cef.
Resolution: closed resolved
Reason: The shorthand architecture bug was fixed by snapcore/snapcraft PR #4793, merged as commit 53ec55cef. PR #4436 had previously removed shorthand syntax from the documentation as an interim workaround, not as the final resolution.
Evaluated by: mr-cal-bot
No scores available.
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 |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Remote-build now handles shorthand architectures consistently; PR #4793 fixed the underlying bug in commit 53ec55cef. | |
| qwen/qwen3.8-27b | — | closed resolved | remote-build ignored shorthand architecture format. PR #4436 removed shorthand from docs as interim measure; the underlying remote-build bug was fixed in PR #4793 (commit 53ec55cef). | |
| stealth/space-bunny-alpha |
Impact:
32
Quick Win:
15
Complexity:
25
Confidence:
82
Actionability:
62
|
needs triage | Confirmed core22 shorthand architectures are parsed but ignored by remote-build; PR #4436 only removed the documented shorthand syntax and did not resolve the inconsistency. | |
| stealth/space-bunny-alpha |
Impact:
48
Quick Win:
10
Complexity:
62
Confidence:
77
Actionability:
53
|
needs triage | remote-build 7.5.3 ignored shorthand architectures, preventing the documented --build-on override; later core24 work added shorthand platform support with --build-for, but core22 support needs triage. | |
| qwen3.6-35b-a3b-mtp-q6 |
Impact:
50
Quick Win:
30
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. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
snapcore/snapcraft#4793
(confidence 100%)
Fixes remote-build handling for architecture definitions, including shorthand syntax.
-
Related To:
snapcore/snapcraft#4436
(confidence 100%)
Earlier interim change removed shorthand syntax from documentation while the behavior mismatch remained.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4780 remote build: fails with some architecture definitions | snapcraft | closed | Remote-build architecture handling was fixed by merged PR canonical/snapcraft#4793 (commit 53ec55cef), with companion support in canonical/craft-application#343. | |
| #4516 regression: remote-build doesn't accept comma-seperated architectures | snapcraft | closed | Comma-separated remote-build architectures were fixed by merged PR #4543 (b8eed87c0); a later regression was superseded by #4990 and fixed by merged PR #5028 (189edf429). | |
| #2774 remote-build: architecture handling | snapcraft | merged | Merged PR #2774 via commit 8300281d6, cleaning up and fixing remote-build architecture handling. Missing CLI unit tests were acknowledged as follow-up work. | |
| #4495 remote build: odd errors for certain `architectures:` setups | snapcraft | closed | Remote-build architecture handling was improved; #4994 (5cd480725) fixed CLI validation and #5005 (ad3b54bbd) rejected unsupported duplicate build-on artifacts. | |
| #1870730 Architectures keyword incorrectly interpreted by remote-build | snapcraft (launchpad) | closed | Remote-build treated the combined build-on list as alternatives; maintainers acknowledged an artifact-detection bug, but no fix or closing reference was recorded before #1870730 went stale. | |
| #4995 remote build: error if multiple artefacts can be built on the same architecture | snapcraft | closed | Fixed by merged PR #5005 (commit ad3b54bbd): remote builds now fail early when multiple artifacts share a build-on architecture. |