← Back to issue list

Wrong error when trying to release a devmode snap to stable

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1602799
Type
issue
State
open
Author
~elopio
Labels
store ux
Created
Updated
Closed

Current evaluation

Snapcraft displays a technical error ('Revision 2 (devmode) cannot target a stable channel') instead of the UX-specified friendly message ('Cannot release a devmode snap in the stable channel. Try --beta or --edge') when a devmode snap is released to stable. No comments, no labels beyond store/ux, no maintainer response in ~9.5 years.

Suggested action: close stale

Reason: The issue is 3701 days old (~10 years) with zero comments, no maintainer acknowledgement, and no linked PRs. The error message it references ('Revision 2 (devmode) cannot target a stable channel') is a store-side validation message that has since been superseded by the newer snapcraft store client (snapcraft/store/ in the current codebase), which handles release errors differently. The UX document referenced may also have been updated. Without any activity or confirmation that the old message still appears in current versions, the issue is no longer actionable in its original form.

Impact: 20 Quick Win: 17.0 Staleness: 95 Complexity: 15 Confidence: 55 Support Request: 0

Issue body

From the snapcraft UX document, the error to display should be: Cannot release a devmode snap in the stable channel. Try --beta or --edge See https://snapcraft.io/doc/confinement/ to make your package safe. The error we are displaying is: Revision 2 (devmode) cannot target a stable channel (stable)

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 20
Quick Win: 17.0
Staleness: 95
Complexity: 15
Confidence: 55
Support Request: 0
close stale Snapcraft displays a technical error ('Revision 2 (devmode) cannot target a stable channel') instead of the UX-specified friendly message ('Cannot release a devmode snap in the stable channel. Try --beta or --edge') when a devmode snap is released to stable. No comments, no labels beyond store/ux, no maintainer response in ~9.5 years.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 15
Confidence: 95
Support Request: 5
close stale Reports incorrect error message when releasing a devmode snap to stable channel. Expected a user-friendly message directing to beta/edge, but shows a technical revision error. Unaddressed for over 9 years.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 15
Confidence: 90
Support Request: 5
close stale Incorrect error message when releasing a devmode snap to stable channel. Unaddressed for over 9 years with no maintainer comments.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 10
Confidence: 85
Support Request: 5
close stale Incorrect error message when releasing a devmode snap to stable channel. Issue is over 9 years old with no maintainer response or activity.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 15
Confidence: 85
Support Request: 0
close stale Incorrect error message when releasing a devmode snap to stable. Shows technical revision details instead of the expected UX message suggesting beta or edge channels. Open, unassigned, awaiting triage.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.