allow overriding the channel used when injection not possible
Metadata
Current evaluation
Added a Snapcraft channel override for build providers when host injection is unavailable; fixed by merged PR canonical/snapcraft#2265 in commit 6a3d2d3cd.
Resolution: closed resolved
Reason: Merged PR canonical/snapcraft#2265 implemented channel selection for non-injected build providers in commit 6a3d2d3cd. The maintainer linked that PR as the resolution.
Evaluated by: mr-cal-bot
No scores available.
Issue body
We do not have a clean way to enable early testing of new features when not running from the snapcraft snap like when on darwin.
This should be enabled through a feature flag SNAPCRAFT_BUILD_ENVIRONMENT_SNAPCRAFT_CHANNEL (leaving room to set channels for bases)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Added a Snapcraft channel override for build providers when host injection is unavailable; fixed by merged PR canonical/snapcraft#2265 in commit 6a3d2d3cd. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2265 (commit 6a3d2d3cd), adding a build-provider Snapcraft channel override when host injection is unavailable. | |
| stealth/space-bunny-alpha | — | closed resolved | Channel override support was added for non-injected build environments by merged PR #2265 (commit 6a3d2d3cd), enabling early Snapcraft channel testing outside the snap. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without discussion or implementation. The proposed environment variable flag was not adopted, indicating the request was abandoned or superseded by subsequent changes. | |
| qwen/qwen3.6-35b-a3b | — | — | Abandoned. The proposed feature flag for overriding the Snapcraft channel when injection fails was closed without implementation after eight years with no discussion or resolution. | |
| qwen/qwen3.6-35b-a3b | — | — | The feature flag request to override the snapcraft channel was closed without implementation. Zero comments and no resolution details indicate the request was abandoned. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without implementation. The proposed SNAPCRAFT_BUILD_ENVIRONMENT_SNAPCRAFT_CHANNEL environment variable was abandoned and never adopted. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
canonical/snapcraft#2265
(confidence 100%)
Merged PR implementing the requested build-provider Snapcraft channel override.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #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. | |
| #2265 build providers: allow snapcraft channel selection | snapcraft | merged | Merged build-provider Snapcraft channel selection for non-host-injected early testing, with a user warning, in commit 6a3d2d3cd (#2265). | |
| #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). |