← Back to issue list

`snapcraft try` for `core24`

View original Github issue

Metadata

Project
snapcraft
Number
#5604
Type
issue
State
open
Author
PsikoBlock
Labels
Status: Triaged Type: Enhancement
Created
Updated
Closed
—

Current evaluation

Core24 `snapcraft try` support remains unimplemented; current code explicitly raises FeatureNotImplemented. Maintainers confirmed it is now feasible after Craft Application 5.0 refactoring.

Suggested action: keep open

Reason: The current TryCommand still raises FeatureNotImplemented for core24 and core26, its unit and spread tests assert that failure, and the migration guide lists the limitation. Maintainer @mr-cal explicitly called the feature valuable, said it is now implementable after Craft Application 5.0 refactoring, and linked it to SNAPCRAFT-1185.

Evaluated by: mr-cal-bot

Impact: 48 Quick Win: 17 Complexity: 57 Confidence: 96 Actionability: 80

Issue body

### What needs to get done Please implement `snapcraft try` for `core24`-based snaps. This is a known issue noted in the migration guide to core24. ### Why it needs to get done `snap try` is a valuable tool for development in our Ubuntu Core-based system, it shortens the time between tweaking the code and seeing a result. Our current workaround to use it is to unpack the snap after it was built, but this wastes time on the initial build of a project and complicates our build scripts.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 48
Quick Win: 17
Complexity: 57
Confidence: 96
Actionability: 80
keep open Core24 `snapcraft try` support remains unimplemented; current code explicitly raises FeatureNotImplemented. Maintainers confirmed it is now feasible after Craft Application 5.0 refactoring.
qwen/qwen3.6-35b-a3b
Impact: 55
Quick Win: 23
Complexity: 45
Confidence: 85
Actionability: 75
keep open Feature request to implement snapcraft try for core24-based snaps. Currently raises FeatureNotImplemented. Triaged and acknowledged by maintainer @mr-cal.
qwen/qwen3.8-27b
Impact: 45
Quick Win: 16
Staleness: 65
Complexity: 65
Confidence: 80
Support Request: 10
keep open Implement `snapcraft try` for core24 snaps, a known core24 migration gap. Triaged (Jira SNAPCRAFT-1185); a maintainer noted in July 2025 it's now implementable after Craft Application 5.0 refactoring, but the command still raises FeatureNotImplemented.
qwen/qwen3.6-35b-a3b
Staleness: 45
Complexity: 50
Confidence: 90
Support Request: 10
keep open Request to implement snapcraft try for core24-based snaps to streamline development. Triaged as an enhancement, acknowledged by maintainers as feasible, but inactive for approximately one year.
qwen3.6-35b-a3b-mtp-q6
Staleness: 75
Complexity: 55
Confidence: 85
Support Request: 10
keep open Feature request to implement snapcraft try for core24-based snaps to improve development workflows. Triaged and acknowledged by maintainers as feasible post-upstream refactoring, but inactive for over a year.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft#6186 (confidence 99%)

    PR #6193 fixed only the outdated error message and retained the FeatureNotImplemented behavior.

  • Related To: snapcraft#3981 (confidence 96%)

    Merged PR #3981 added the existing core22 implementation, which provides a behavior and test precedent.

Related issues

Issue Project State Summary Similarity
#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.
78%
#6186 `snapcraft try` error is outdated snapcraft closed Fixed by merged PR #6193 (commit bcae1c3ed): snapcraft try now reports the effective project base, with core24 and core26 test coverage.
76%
#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.
74%
#4692 feat: core24 using Craft Application and core22 components snapcraft closed Closed unmerged and superseded by canonical/snapcraft#4693 (merge commit ab1c86df3), which landed the same core24 Craft Application / core22 components work; branch was protected.
71%
#3981 commands, lifecycle: provide snapcraft try for core22 snapcraft merged Merged in snapcore/snapcraft#3981 (commit 2691262b8), adding snapcraft try for core22 by mounting the host prime directory into the build instance and priming without packing.
70%
#1996508 snapcraft try with core22 doesn't support lxd snapcraft (launchpad) closed Core22 support for snapcraft try --use-lxd was added by merged PR snapcore/snapcraft#3981 (commit 2691262b8) and released on edge.
70%