Error when validating the model if a `snapcraftctl` command is used
Metadata
Current evaluation
snapcraftctl is now rejected during project-model validation for core26 override scripts by PR #5983; despite the issue remaining open, the requested behavior has shipped.
Suggested action: close resolved
Reason: Commit eaadefa01 (PR #5983), “feat!: error on snapcraftctl for core26,” implements the requested validation error, and the Snapcraft 9 release notes document snapcraftctl removal for core26. The open state is therefore stale tracker state.
Evaluated by: mr-cal-bot
Impact:
42
Quick Win:
32
Complexity:
18
Confidence:
97
Actionability:
92
Issue body
### What needs to get done
As a follow up to https://github.com/canonical/snapcraft/issues/5754
When validating the project model, error if an override script uses the `snapcraftctl` command, linking the user to a migration doc at https://documentation.ubuntu.com/snapcraft/stable/how-to/change-bases/change-from-core20-to-core22/
### Why it needs to get done
Better UX for the removal of snapcraftctl
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha |
Impact:
42
Quick Win:
32
Complexity:
18
Confidence:
97
Actionability:
92
|
close resolved | snapcraftctl is now rejected during project-model validation for core26 override scripts by PR #5983; despite the issue remaining open, the requested behavior has shipped. | |
| qwen/qwen3.6-35b-a3b |
Impact:
70
Quick Win:
39
Complexity:
30
Confidence:
90
Actionability:
80
|
close resolved | Validation error for snapcraftctl usage in override scripts. Resolved by PR #5983 which introduced breaking error for core26+. | |
| qwen/qwen3.8-27b |
Impact:
35
Quick Win:
24
Staleness:
78
Complexity:
30
Confidence:
72
Support Request:
5
|
close stale | Request to add a model validation error when override scripts use snapcraftctl, linking to migration docs. Parent issue #5754 (removing the wrapper) was closed/abandoned; core26-specific error was already implemented in PR #5983. Issue is 347 days old with no further activity. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
80
Complexity:
35
Confidence:
85
Support Request:
10
|
keep open | Add validation to error when snapcraftctl is used in override scripts, linking to a migration guide. Currently triaged but inactive for ~10 months with no assignee or implementation progress. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
70
Complexity:
20
Confidence:
80
Support Request:
5
|
keep open | Follow-up to #5754 to add validation that errors when override scripts use snapcraftctl, linking to a migration doc. Triaged but inactive for ~9.5 months with no maintainer response. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/snapcraft#5754
(confidence 100%)
The issue explicitly identifies #5754 as its predecessor; that attempt retained the wrapper for core22 and core24 compatibility.
-
Likely Fixed By:
canonical/snapcraft#5983
(confidence 98%)
Commit eaadefa01 adds the core26 snapcraftctl validation error corresponding to this request.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #6336 Snapcraft 9: snapcraftctl errors in core22 snaps | snapcraft | closed | Fixed a validator bug preventing core22/core24 snaps without a `base` key from using `snapcraftctl`. Merged as #6499, resolving #6336. | |
| #5983 feat!: error on snapcraftctl | snapcraft | merged | Merged #5983 as eaadefa01: snapcraftctl now errors in core26+ override scripts, and related references were renamed to craftctl. |