remote build: legacy builder cannot parse core22 snapcraft.yaml syntax
Metadata
Current evaluation
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.
Suggested action: —
No scores available.
Issue body
### What needs to get done
Add `architectures.build-for` field to the [JSON schema](https://github.com/snapcore/snapcraft/blob/main/schema/snapcraft.json).
### Why it needs to get done
VS Code + [YAML](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml):

Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen/qwen3.6-35b-a3b | — | — | Marked won't fix. Legacy remote builder support for core22 syntax was descoped in favor of the new remote builder. The legacy builder will be removed in Snapcraft 9, rendering this enhancement unnecessary. | |
| qwen/qwen3.6-35b-a3b | — | — | Marked won't fix. Development on the legacy remote builder was descoped in favor of the new builder, which already supports core22 syntax. The legacy builder will be removed in Snapcraft 9, rendering this enhancement unnecessary. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Legacy remote builder cannot parse core22 build-for syntax. Work was descoped in favor of the new remote builder and marked won't fix. The legacy builder will be removed in Snapcraft 9. Use the new builder via SNAPCRAFT_REMOTE_BUILD_STRATEGY=disable-fallback. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed as won't fix. Legacy builder support was descoped in favor of the new remote builder, which already handles core22 syntax. The legacy builder will be removed in Snapcraft 9, rendering this enhancement unnecessary. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4365 remote-build: legacy builder complains about the wrong part name | snapcraft | closed | Marked won't fix. The legacy remote builder causing misleading validation errors for core22 snaps will be removed in Snapcraft 9, rendering the issue obsolete. No code changes were implemented. | |
| #4886 Use legacy remote builder for core20 snaps | snapcraft | closed | Superseded and closed pending dependency #4885. The legacy remote builder fallback for core20 snaps was deferred, with tracking moved to internal ticket CRAFT-3071. | |
| #4895 fix(remotebuild): require core20 snaps to use the legacy remote builder | snapcraft | merged | Merged. Requires core20 snaps to use the legacy remote builder since the new builder cannot parse core20 snapcraft.yaml files. Resolves #4886. Approved and passed CI. | |
| #5676 remote build: remove legacy remote builder | snapcraft | closed | Superseded by a merged pull request that removed the legacy remote builder and related configuration, completing the deprecation cleanup for Snapcraft 9. | |
| #5427 Add a deprecation notice for building core22 snaps with the legacy remote builder | snapcraft | closed | Closed without implementation. The requested deprecation warning for the legacy remote builder with core22 snaps was not added, and the issue appears abandoned. | |
| #5712 remote build: legacy builder should give a friendly error when passing `--project` | snapcraft | closed | Marked as won't fix. The legacy remote builder is being removed in Snapcraft 9, making the requested error message enhancement unnecessary. |