← Back to issue list

build providers: allow snapcraft channel selection

View original Github issue

Metadata

Project
snapcraft
Number
#2265
Type
pull request
State
merged
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Merged build-provider Snapcraft channel selection for non-host-injected early testing, with a user warning, in commit 6a3d2d3cd (#2265).

Resolution: closed resolved

Reason: PR #2265 was merged as commit 6a3d2d3cd, adding channel selection for non-host-injected Snapcraft while warning users about its early-testing use.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Enabled for early testing when snapcraft is not injected from the host. Warn the user when this is done. LP: #1792185 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] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)? - [x] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)? - [x] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged build-provider Snapcraft channel selection for non-host-injected early testing, with a user warning, in commit 6a3d2d3cd (#2265).
stealth/space-bunny-alpha — closed resolved Merged as snapcraft commit 6a3d2d3cd: build providers can select a snapcraft channel for early testing when snapcraft is not injected from the host, warning the user. Addresses LP #1792185.
stealth/space-bunny-alpha — closed resolved Merged in snapcraft commit 6a3d2d3cd, enabling build-provider Snapcraft channel selection for early testing when Snapcraft is not host-injected, with a user warning. Addresses LP #1792185.
qwen/qwen3.6-35b-a3b — — 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.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Enables snapcraft channel selection for build providers during early testing when not injected from the host, including a user warning. Accepted despite skipped unit tests caused by a known bionic LXD environment issue.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#2507 build providers: improve handling in snap logic snapcraft merged Merged snapcraft#2507 as commit 841b41fa3, improving build-provider snap logic, removing unnecessary sudo calls, and silencing refresh-hold noise.
74%
#3146 build providers: snap sw to channels if injecting snapcraft merged Merged PR #3146 as commit c15f0623d, preventing revision-asserted injected snaps from being switched to latest/stable and preserving their intended tracking channels.
74%
#2174 build_providers: inject snaps when running from a snap snapcraft merged Merged PR #2174 (commit 283ab0bb8) to inject host Snapcraft and base snaps when running from the snapcraft snap, while non-snap runs install them from the store.
73%
#1779137 build provider support to inject snaps on the host snapcraft (launchpad) closed Build providers gained host-snap injection when Snapcraft runs from a snap; fixed by merged snapcore/snapcraft#2174 (commit 283ab0bb8).
73%
#1792185 allow overriding the channel used when injection not possible snapcraft (launchpad) closed Added a Snapcraft channel override for build providers when host injection is unavailable; fixed by merged PR canonical/snapcraft#2265 in commit 6a3d2d3cd.
72%
#6384 remote-build: set snapcraft's channel in the build recipe snapcraft open Remote-builder should pin Snapcraft's own channel in the Launchpad recipe (e.g. 8.x/stable) and expose an env var override; triaged as enhancement with internal ticket SNAPCRAFT-1397, pending upstream craft-application support.
72%
#2938 remote build: default to snapcraft's stable channel snapcraft merged Merged #2938 in commit 534ee1c1f, adding coverage that snap.requestBuilds() defaults to Snapcraft's stable channel.
71%
#344 remote build: provide a way to set application snap channel craft-application open Triaged enhancement remains open: Launchpad remote builds lack user-facing application snap channel selection, and downstream Snapcraft and Charmcraft work depends on this plumbing.
71%
#3600 remote build: use channel defaults (CRAFT-568) snapcraft merged Merged #3600, removing hardcoded snapcraft/core18 channel overrides so Launchpad can select remote-build channel defaults (implementation c095b34fe; merge 638239855).
71%
#2933 remote-build: introduce --launchpad-snapcraft-channel option snapcraft closed Closed unmerged; PR #2938 superseded the CLI-toggle approach by making remote builds default to Snapcraft's stable channel, merged as 534ee1c1f.
70%