← Back to issue list

feat: recommend Snapcraft 9.x for core22, core24, and core26 bases

View original Github issue

Metadata

Project
snapcraft
Number
#6240
Type
pull request
State
open
Author
rizqiamad
Labels
—
Created
Updated
Closed
—

Current evaluation

Adds a warning recommending Snapcraft 9.x when building core22/core24/core26 snaps (+26/-0, 2 files). Approved by 1 reviewer but 5 unresolved review comments, 4 failing CI checks, no activity for 147 days.

Suggested action: needs review

Reason: The change is small (+26/-0, 2 files) and has an approval, and mr-cal already answered the author's open question in the 2026-05-07 thread — 'we can merge the commit but either undo it with a new commit or undo as part of the merge-commit itself. I like undoing as part of the merge-commit' — so the target-branch question is resolved. However, 5 review comments remain unresolved and CI is red (integration-spread-tests on ubuntu-22.04/24.04-64, Security scan / OSV-scanner, test / Slow tests), and there has been no activity for 147 days; the warning is still absent from snapcraft/application.py, so this is not obsolete and a maintainer must resolve the threads and decide the merge target. Confidence is moderate because the spread/slow-test failures are not attributed to a specific cause in the data available.

Evaluated by: mr-cal-bot

Impact: 32 Quick Win: 10 Complexity: 14 Confidence: 72 Actionability: 38

Issue body

## Description Add a warning message recommending Snapcraft 9.x when building snaps with core22, core24, or core26 bases. Closes #4958 - [x] I've followed the [contribution guidelines](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md). - [x] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/). - [x] I've successfully run `make lint && make test`. - [ ] I've added or updated any relevant documentation. - [ ] In documents I changed, I [added a meta description](https://canonical-starflow.readthedocs-hosted.com/how-to/add-a-page-meta-description/) if one was missing. - [ ] I've updated the relevant release notes.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 32
Quick Win: 10
Complexity: 14
Confidence: 72
Actionability: 38
needs review Adds a warning recommending Snapcraft 9.x when building core22/core24/core26 snaps (+26/-0, 2 files). Approved by 1 reviewer but 5 unresolved review comments, 4 failing CI checks, no activity for 147 days.
qwen/qwen3.6-35b-a3b
Impact: 35
Quick Win: 12
Complexity: 15
Confidence: 75
Actionability: 40
needs review Adds warning recommending Snapcraft 9.x for core22/core24/core26 bases; has 1 approval but 5 unresolved review comments and failing CI checks
qwen/qwen3.8-27b
Impact: 35
Quick Win: 30
Staleness: 55
Complexity: 15
Confidence: 65
needs review Adds a warning recommending Snapcraft 9.x for core22/core24/core26 bases. Approved by 1 reviewer but has 5 unresolved review comments and 4 failing CI checks. No activity for ~4 months. Closes #4958.
qwen/qwen3.6-35b-a3b
Staleness: 65
Complexity: 15
Confidence: 60
needs review Adds a warning recommending Snapcraft 9.x for core22/24/26 bases. Currently approved by one reviewer but has five unresolved comments, failing CI checks, and ~2.5 months of inactivity pending maintainer follow-up.
qwen3.6-35b-a3b-mtp-q6
Staleness: 45
Complexity: 15
Confidence: 85
needs review Adds a warning recommending Snapcraft 9.x for core22, core24, and core26 bases. Approved by a maintainer, awaiting merge strategy clarification for a temporary change.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft#4958 (confidence 95%)

    Enhancement issue the PR explicitly closes ('Closes #4958'); maintainer scoped it to recommending 8.x→9.x for core22/core24/core26.

  • Related To: snapcraft#6338 (confidence 88%)

    Merged two-line docs change (docs/reference/bases.rst) making Snapcraft 9 the latest supported track for core22/core24/core26; covers the documentation half of the same recommendation intent, but does not add the runtime warning.

Related issues

Issue Project State Summary Similarity
#4958 Recommend using newer versions of snapcraft snapcraft open Enhancement to emit a warning recommending a newer Snapcraft for older bases; rescoped by maintainer to 8.x recommending 9.x for core22/core24/core26, contributor assigned, open PR #6240 stalled with failing CI.
81%
#1862256 snapcraft should complain loudly when building base: core20 snap on i386 snapcraft (launchpad) closed Closed as superseded: improved architecture parsing rejects unsupported core20/i386 builds, making a dedicated check unnecessary; snapcraft#4392 improved this handling.
73%
#4693 feat: core24 using Craft Application and core22 components snapcraft merged Merged as commit ab1c86df3: snaps with base core24 are now built using Craft Application and core22 components, a large change (284 files, +10487/-1939) in snapcraft.
72%
#4186 snap: migrate to core22 snapcraft merged PR #4186 merged, moving the Snapcraft snap's own build environment to base core22 (8 files, +71/-70), landing as commit 60033305b and closing the core22 migration issue #4166.
72%
#5767 feat: add support for core26 (#5677) snapcraft merged Merged core26 support into Snapcraft, adding base recognition and unit-test coverage; core26 initially required build-base: devel.
72%
#6338 docs: update supported bases snapcraft merged Merged PR #6338 (commit 2a6aadac6), updating the docs to identify Snapcraft 9 as preferred for core22, core24, and core26.
71%
#1835532 snapcraft behavior for type: base snapcraft (launchpad) closed Implemented build-base support for base snaps; the proposed branch successfully built core20 using core18 before the issue was closed.
71%
#118 feat: pack snapcraft 9 for core26 snapcraft-rocks open Maintainer cmatsuoka adds an experimental rockcraft.yaml plus CI/workflow changes (+179/-3, 3 files) so the build rock can pack with Snapcraft 9 against core26. Open 13 days, unreviewed (0 reviewers), CLA passing, build-rock check still pending.
70%
#6450 fix(test): error for core22 snaps snapcraft closed PR #6450 proposed an early core22 error for snapcraft test, but was closed unmerged with review pending; #5479 remains open.
70%
#1978844 snapcraft try not available for core22-based snap snapcraft (launchpad) closed Core22 support for snapcraft try was merged in canonical/snapcraft#3981 (commit 2691262b8) and released on the edge channel.
70%