fix(remotebuild): require core20 snaps to use the legacy remote builder
Metadata
Current evaluation
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.
Suggested action: —
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 |
|---|---|---|---|---|
| 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Enforces legacy remote builder usage for core20 snaps, as the new builder cannot parse core20 snapcraft.yaml files. Resolves #4886 and builds on #4892. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #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. | |
| #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. | |
| #2720 remote build: switch from core to core18 | snapcraft | merged | Merged change switches remote build base from core to core18, aligning with snapcraft edge. Approved, passed CI, and modified one file. | |
| #4498 fix(remote): fallback to legacy snapcraft if under shallow git clone | snapcraft | merged | Merged a fix falling back to legacy remote builds for shallow git clones, which cannot be pushed by design. Supports only core20 and core22 bases. Approved by two reviewers, passed CI, and modified 8 files. | |
| #4724 feat(remote)!: use craft-application remote build for core22 | snapcraft | merged | Replaced deprecated remote build code with craft-application for core22. Core20 support enabled via environment variable. The --build-on flag was removed. Fixes #4710. Merged after approval and passing CI checks. | |
| #4353 feat(remote-build): check SNAPCRAFT_REMOTE_BUILD_STRATEGY envvar | snapcraft | merged | Merged implementation of SNAPCRAFT_REMOTE_BUILD_STRATEGY environment variable to control remote build fallback for core22 and older bases. Approved by two reviewers, passed CI, and achieved 100% diff coverage. Resolves #4319. | |
| #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. | |
| #5523 chore: add deprecation warning for legacy remote builder | snapcraft | merged | Merged changes adding a deprecation warning for core22 snaps using the legacy remote builder. Approved by three reviewers with passing CI checks. Resolves issue #5427. | |
| #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. | |
| #3600 remote build: use channel defaults (CRAFT-568) | snapcraft | merged | Merged changes remove hardcoded channel forcing for snapcraft and core18 in remote builds, aligning with snapcraft's core20 transition. Approved and merged with a minimal diff. Launchpad now auto-selects the correct build-base. |