fix(remotebuild): require core20 snaps to use the legacy remote builder
Metadata
Current evaluation
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.
Resolution: closed resolved
Reason: PR #4895 was merged as commit d9c8781a1 and explicitly fixes #4886. It routes core20 snaps through the legacy remote builder to avoid the new builder's core20 YAML parsing failure.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `tox run -m lint`?
- [x] Have you successfully run `tox run -e test-py310`? (supported versions: `py39`, `py310`, `py311`, `py312`)
-----
Requires core20 snaps to use the legacy remote builder because the new remote builder cannot parse core20 `snapcraft.yaml` files (#4885).
Builds on #4892, so only the last commit is new.
Fixes #4886
(CRAFT-3071)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | 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. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in #4895 (commit d9c8781a1), requiring core20 snaps to use the legacy remote builder because the new builder cannot parse their snapcraft.yaml files. Fixes #4886. | |
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged PR enforcing legacy remote builder usage for core20 snaps due to parsing incompatibilities. Resolves #4886. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/snapcraft#4886
(confidence 100%)
Issue explicitly fixed by merged PR #4895.
-
Related To:
canonical/snapcraft#4892
(confidence 100%)
Prerequisite PR whose final commit was built upon by #4895.
-
Related To:
canonical/snapcraft#4885
(confidence 95%)
Underlying new-builder parsing failure that motivated the core20 fallback.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4886 Use legacy remote builder for core20 snaps | snapcraft | closed | 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. | |
| #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. | |
| #4498 fix(remote): fallback to legacy snapcraft if under shallow git clone | snapcraft | merged | Merged as 1e285148e: remote builds under shallow Git clones fall back to legacy Snapcraft on core20/core22; unsupported bases and devel report an error. | |
| #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. | |
| #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. | |
| #1992557 snapcraft remote-build snapcraft.yaml validation too strict | snapcraft (launchpad) | closed | Strict validation in snapcraft remote-build rejected empty LD_LIBRARY_PATH for core22 snaps. Resolved by the new remote builder, which fixes the legacy core18/20 implementation bug. | |
| #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). | |
| #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. | |
| #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. |