Use legacy remote builder for core20 snaps
Metadata
Current evaluation
Fixed by merged PR #4895 (commit d9c8781a1), routing core20 snaps to the legacy remote builder because the new builder could not parse architectures with run-on.
Resolution: closed resolved
Reason: PR #4895 merged as commit d9c8781a1 and implemented the requested legacy-builder fallback for core20 remote builds, resolving #4886.
Evaluated by: mr-cal-bot
No scores available.
Issue body
### What needs to get done
If the base is `core20`, then use the legacy remote builder.
### Why it needs to get done
Core20 snaps cannot be built with the new remote builder because it fails to parse the `architectures` keyword with `run-on`. This requires #4885 to be completed first. In the meantime, snapcraft will use the remote builder.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Fixed by merged PR #4895 (commit d9c8781a1), routing core20 snaps to the legacy remote builder because the new builder could not parse architectures with run-on. | |
| stealth/space-bunny-alpha | — | closed resolved | Implemented in merged PR #4895 (commit d9c8781a1): snapcraft now routes core20 snaps to the legacy remote builder, since the new builder cannot parse 'architectures' with 'run-on'. Legacy builder later removed in #5994. | |
| stealth/space-bunny-alpha | — | closed resolved | PR #4895 merged as commit d9c8781a1, requiring core20 snaps to use the legacy remote builder because the new builder cannot parse their snapcraft.yaml files. | |
| qwen/qwen3.6-35b-a3b | — | — | Superseded and closed pending dependency #4885. The legacy remote builder fallback for core20 snaps was deferred, with tracking moved to internal ticket CRAFT-3071. | |
| qwen/qwen3.6-35b-a3b | — | — | Legacy remote builder support for core20 snaps was closed without implementation. The change was abandoned pending referenced issue #4885, with no fix or further activity provided since closure. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation. Deferred pending issue #4885. An internal Jira ticket (CRAFT-3071) tracks using the legacy remote builder for core20 snaps, as the new builder fails to parse the architectures keyword. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without implementation. The fix depends on #4885, leaving the issue superseded or abandoned pending upstream resolution. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/snapcraft#4895
(confidence 100%)
Merged PR implementing the core20 fallback and explicitly fixing #4886.
-
Related To:
canonical/snapcraft#4885
(confidence 100%)
Identified in #4886 as a prerequisite for broader remote-builder support.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4895 fix(remotebuild): require core20 snaps to use the legacy remote builder | snapcraft | merged | Merged in #4895 (d9c8781a1), requiring core20 remote builds to use the legacy builder because the new builder could not parse core20 snapcraft.yaml files; fixes #4886. | |
| #4144 remote build: legacy builder cannot parse core22 snapcraft.yaml syntax | snapcraft | closed | Marked won't fix: legacy-builder schema support was descoped in favor of the new remote builder, which accepts build-for; legacy support was removed by PR #5994 in Snapcraft 9. | |
| #4365 remote-build: legacy builder complains about the wrong part name | snapcraft | closed | Core22 snaps hit a bogus schema error in the legacy remote-build fallback. Closed as "won't fix" by mr-cal on 2026-01-27; the legacy remote builder was removed in #5994 and #6010 for Snapcraft 9. | |
| #2720 remote build: switch from core to core18 | snapcraft | merged | Merged PR #2720 switched remote builds from core to core18, aligning them with Snapcraft edge; landed as commit d2b36b2f4. | |
| #5427 Add a deprecation notice for building core22 snaps with the legacy remote builder | snapcraft | closed | Added the core22 legacy remote-builder deprecation warning in Snapcraft 8.10 via merged PR #5523 (commit 1d8e87486). | |
| #300 Remote-build: use craft-application for core22 | craft-application | closed | Core22 remote builds moved to craft-application in merged Snapcraft PR #4724 (commit 9905f2831), removing the legacy core22 build path. | |
| #6090 feat(remote-build/legacy): improve error when building with --build-for | snapcraft | merged | Merged PR #6090 improved legacy remote-builder errors for core20, clarifying that --build-for requires shorthand architectures because of Launchpad limitations. It addresses #5817 and supersedes #5819. | |
| #4318 remote-build: add control logic for snap base | snapcraft | closed | Base-aware remote-build routing was merged in PR #4343 (commit 128e0acb2), using legacy code for core20/core22 and the new path for devel/core24 and newer. | |
| #5676 remote build: remove legacy remote builder | snapcraft | closed | Fixed in merged PR #5994 (commit b08f1a66e) for Snapcraft 9.0 by removing the legacy remote builder, selection logic, strategy env var, and legacy credential support. | |
| #4479 remote-build broken with shallow clones | snapcraft | closed | Fixed in Snapcraft 8.0.1 by PR #4498 (commit 1e285148e), which falls back to the legacy remote builder for shallow Git clones on core20/core22. |