← Back to issue list

Progressive release stops showing metrics when set to 100% target

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1903046
Type
issue
State
open
Author
~noise
Labels
—
Created
Updated
Closed
—

Current evaluation

snapcraft status hides progressive-release metrics once a release hits 100% (store nullifies percentage). Store-side API now returns progressive.current-percentage for all releases; client still only renders it for in-progress progressive releases.

Suggested action: keep open

Reason: Still unfixed: snapcraft/store/channel_map.py get_mapped_channel() filters on `cm.progressive.percentage is not None`, and snapcraft/commands/status.py only builds a progress string for that 'progressive' mapped channel, falling back to `_HINTS.NO_PROGRESS` otherwise — so a 100% (nullified) release renders '-'. Maxiberta and suligap confirmed the store API change ('progressive.current-percentage' for all releases) shipped to production in June 2021, so the remaining work is entirely client-side and the fix location is pinpointed (mr-cal even linked the conditional at client.py#L374 / PR #3306). The issue is clearly triaged with maintainer acknowledgement, and the last exchange (suligap asking mr-cal 'Where do you think the problem is?') is unanswered, leaving only a minor display-design question about what a non-progressive release's progress column should show.

Evaluated by: mr-cal-bot

Impact: 38 Quick Win: 18 Complexity: 30 Confidence: 82 Actionability: 68

Issue body

When using a progressive release [1], if you have been moving your release along 20%, 50%, 80% and watching the real-time metrics as users are refreshed with `snapcraft status`, all is well. However, as soon as you punch it to 100% it becomes non-progressive and you lose the ability to see the metrics. Expected behavior: continue to show the metrics until 100% has been reached. 1. https://forum.snapcraft.io/t/progressive-releases/20913

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 38
Quick Win: 18
Complexity: 30
Confidence: 82
Actionability: 68
keep open snapcraft status hides progressive-release metrics once a release hits 100% (store nullifies percentage). Store-side API now returns progressive.current-percentage for all releases; client still only renders it for in-progress progressive releases.
stealth/space-bunny-alpha
Impact: 38
Quick Win: 16
Complexity: 40
Confidence: 82
Actionability: 72
keep open snapcraft status hides progressive-release metrics once target is 100%, because status.py only renders progress when progressive.percentage is non-null. Store already returns current-percentage for all releases since 2021; awaiting a CLI fix.
qwen/qwen3.6-35b-a3b
Impact: 30
Quick Win: 11
Complexity: 40
Confidence: 60
Actionability: 60
needs triage snapcraft status hides progressive release metrics at 100% target; issue is unlabelled, unassigned, with no maintainer comments after ~6 years
qwen/qwen3.8-27b
Impact: 25
Quick Win: 18
Staleness: 95
Complexity: 30
Confidence: 55
Support Request: 10
close stale snapcraft status stops showing progressive release metrics once target reaches 100%. Reported 5.8 years ago with zero maintainer interaction, no labels, and no comments. Progressive release feature has since evolved (PR #6189 merged).
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 30
Confidence: 85
Support Request: 10
close stale Progressive release metrics disappear when target reaches 100%. Reported over 5 years ago with no maintainer response or labels. Likely obsolete due to significant backend changes.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 30
Confidence: 90
Support Request: 15
close stale Progressive release metrics disappear when target reaches 100%. Open for over five years with no comments or maintainer response. Likely outdated given significant snapcraft evolution.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 30
Confidence: 90
Support Request: 20
close stale Progressive releases stop displaying real-time metrics once the target reaches 100%. The issue has been open for over 5 years with no maintainer response or comments.

Update history

Date Change
created

Related work

  • Related To: canonical/snapcraft#3306 (confidence 80%)

    PR cited by mr-cal as adding client handling for suligap's 2021 API changes; it did not remove the progressive-only conditional, which is the remaining blocker.

Related issues

Issue Project State Summary Similarity
#1932032 Progress shown in snapcraft status output is not accurate snapcraft (launchpad) open Progressive-release status still infers the non-progressive revision’s share as 100 minus the progressive share; it should use that release’s Store-provided current percentage.
76%
#6189 feat: show progressive percentage in release output snapcraft merged PR #6189 merged into snapcraft 9.0 as commit 02aea063d: `snapcraft release` now appends "for N% of users" to its output when --progressive is used (snapcraft/commands/manage.py, documented in release notes).
74%