← Back to issue list

remote build: default to snapcraft's stable channel

View original Github issue

Metadata

Project
snapcraft
Number
#2938
Type
pull request
State
merged
Author
cjp256
Labels
Created
Updated
Closed

Current evaluation

Merged following reviewer approval and passing CI. Adds a test confirming snap.requestBuilds() defaults to snapcraft's stable channel. Resolved with minimal changes.

Suggested action:

No scores available.

Issue body

Add a test to cover the default options to snap.requestBuilds(). Signed-off-by: Chris Patterson <chris.patterson@canonical.com> - [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged following reviewer approval and passing CI. Adds a test confirming snap.requestBuilds() defaults to snapcraft's stable channel. Resolved with minimal changes.
qwen3.6-35b-a3b-mtp-q6 Merged. Introduces a test for snap.requestBuilds() default options, configuring remote builds to use snapcraft's stable channel by default.
qwen3.6-35b-a3b-mtp-q6 Merged changes adding a unit test for snap.requestBuilds() default options, ensuring remote builds default to snapcraft's stable channel. Integrated by maintainer cjp256.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#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.
79%
#3036 travis: use stable channel for building snapcraft snap snapcraft merged Merged a Travis CI config change to build the snapcraft snap from the stable channel. Approved by one reviewer, this update bootstraps the build process to prevent future PRs from breaking snapcraft's CI pipeline.
78%
#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.
78%
#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.
75%
#389 Update snapcraft test to stable in CI tests fetch-service open Request to use Snapcraft from the stable channel in CI tests. Unlabelled, no maintainer comments, 487 days old. Related work snapcraft-rocks#85 was merged addressing the same concern.
75%
#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.
74%
#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.
73%
#3146 build providers: snap sw to channels if injecting snapcraft merged Merged fix that prevents automatic channel switching to latest/stable when injecting snaps with revision assertions during build provider setup. Approved by reviewer, passed CI, and integrated.
71%
#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.
70%
#2104274 Snapcraft has unclear behavior when providing same build-snap from different channels snapcraft (launchpad) open Bug report: snapcraft resolves build-snap from wrong channel (stable vs candidate). Untriaged, no maintainer response in 527 days.
70%