fix: show metrics for snaps with no data
Metadata
Current evaluation
Merged PR #6217 (commit fe038f0f1) fixed a typo from #6207, restoring metrics display for snaps with no data.
Resolution: closed resolved
Reason: PR #6217 was merged as commit fe038f0f1. It corrected the metrics typo introduced by #6207 after store tests exposed the failure.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Fixes a typo from #6207. I missed it during local testing because I didn't test on a snap without metrics.
This was [caught by the store tests](https://github.com/canonical/snapcraft/actions/runs/25003757177/job/73221983107#step:5:1839) (I missed the failure when merging).
---
- [x] I've followed the [contribution guidelines](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md).
- [x] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/).
- [x] I've successfully run `make lint && make test`.
- [ ] I've added or updated any relevant documentation.
- [ ] In documents I changed, I [added a meta description](https://canonical-starflow.readthedocs-hosted.com/how-to/add-a-page-meta-description/) if one was missing.
- [ ] I've updated the relevant release notes.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #6217 (commit fe038f0f1) fixed a typo from #6207, restoring metrics display for snaps with no data. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #6217 (commit fe038f0f1) fixed a typo introduced in #6207, restoring metrics display for snaps with no data. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in PR #6217, fixing a typo from #6207 so metrics display for snaps with no data. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in canonical/snapcraft#6217 via fe038f0f1, fixing a typo from #6207 so metrics display for snaps with no data. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged a fix for a typo that prevented metrics from displaying on snaps with no data. Corrects an oversight from PR #6207, approved by two reviewers, and merged 85 days ago after passing CI checks. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a fix for a typo that broke metrics display for snaps with no data. The oversight from PR #6207 was caught by store tests and resolved. |
Update history
No update history recorded yet.
Related work
-
Caused By:
canonical/snapcraft#6207
(confidence 99%)
Its metrics-command refactor introduced the typo corrected by #6217.
Related issues
No related issues found above the similarity threshold.