remote build: use channel defaults (CRAFT-568)
Metadata
Current evaluation
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.
Suggested action: —
No scores available.
Issue body
Remove the forcing of a specific channel for snapcraft and
core18 (which is no longer relevant as snapcraft moved to core20).
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
-------
- [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 `./runtests.sh static`?
- [x] Have you successfully run `./runtests.sh tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged removal of hardcoded snapcraft and core18 channel forcing in remote builds. The change enables channel defaults, allowing Launchpad to automatically select the correct build-base. Resolves CRAFT-568. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Removed hardcoded channel forcing for snapcraft and core18, allowing Launchpad remote builds to auto-select the correct build-base. This resolves CRAFT-568 and eliminates manual channel configuration for newer snapcraft versions. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #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. | |
| #6384 remote-build: set snapcraft's channel in the build recipe | snapcraft | open | Enhancement to set Snapcraft's channel in remote build recipes and expose an environment variable for channel selection. Triaged, from maintainer, 23 days old. | |
| #2938 remote build: default to snapcraft's stable channel | snapcraft | merged | Merged following reviewer approval and passing CI. Adds a test confirming snap.requestBuilds() defaults to snapcraft's stable channel. Resolved with minimal changes. | |
| #2761 Core20 base | snapcraft | merged | Merged. Implements Core20 base support in Snapcraft. Reviewers clarified channel defaults and runtime base installation, confirming stable remains default while devel targets pre-release. | |
| #2061517 `remote-build` lacks support for selecting Snapcraft channel | snapcraft (launchpad) | open | Feature request to expose Launchpad's snapcraft channel selection API in remote-build, defaulting to the local channel. Untriaged, no maintainer engagement in 871 days. | |
| #2933 remote-build: introduce --launchpad-snapcraft-channel option | snapcraft | closed | Closed without merging. Reviewers requested changing the default channel to stable and replacing the CLI flag with an environment variable for developer use. The author agreed to implement the environment variable approach in a new PR. | |
| #2265 build providers: allow snapcraft channel selection | snapcraft | merged | Merged: Enables snapcraft channel selection for build providers when snapcraft is not injected from the host. Adds a user warning, passes CI, and received approval. Resolves LP #1792185. | |
| #3648 cli: reintroduce remote-build and promote to snapcraft help | snapcraft | merged | Merged the reintroduction of the remote-build CLI command and promoted it to snapcraft help. Approved by one reviewer, passed CI checks, and resolved Launchpad bug #1943244 via a single-file, four-line deletion. | |
| #417 fix: allow using a snap from the snap store | craft-application | merged | Merged a fix defaulting to the stable channel for snap store snaps, enabling channel overrides via the CRAFT_SNAP_CHANNEL environment variable. Approved by reviewers, passed CI, and modified two files. | |
| #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. |