storeapi: add support for reporting status of progressive releases
Metadata
Current evaluation
Merged PR #3306 as ed010d426, adding Store API current-percentage parsing and progressive-release progress to snapcraft status output.
Resolution: closed resolved
Reason: PR #3306 was merged into Snapcraft as commit ed010d426. The change reports the current and target rollout percentages for progressive releases in CLI status output.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Parse the [`"current-percentage"` Snap Store API field](https://dashboard.staging.snapcraft.io/docs/api/snap.html#about-progressive-releases) and show the current status of progressive releases on CLI.
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `./runtests.sh static`?
- `shellcheck` throws a bunch of warnings, but I believe these are not related with this at all.
- [x] Have you successfully run `./runtests.sh tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #3306 as ed010d426, adding Store API current-percentage parsing and progressive-release progress to snapcraft status output. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in snapcore/snapcraft#3306 (ed010d426), adding Store API current-percentage parsing and progressive rollout percentages to snapcraft status output. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged. Adds CLI reporting for progressive release status by parsing the Snap Store API current-percentage field. Reviewers approved changes and dismissed unrelated CI failures. Enables tracking rollout percentages in snapcraft status output. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Implements CLI reporting for progressive release status by parsing the Snap Store API current-percentage field. Maintainer confirmed unrelated test failures prior to merge. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2868 cli: implement progressive releases | snapcraft | merged | Merged as commit c1835a839: 'snapcraft release' gained a --progressive option to trigger progressive releases. Store support was later reverted (#2946) and re-added (#3010, e74da030b); #3306 added status reporting. | |
| #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). | |
| #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. |