canonical / canonical/multipass

[snapshot][info] Snapshot size not provided

Open
#4,832 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
9.2k
Forks
828
Avg merge
3d 1h
Merged PRs (30d)
44

Description

**Describe the bug**
Snapshot size is not populated. The field is unused by the daemon.

**To Reproduce**
How, and what happened?
1. `multipass launch -n a`
2. ` multipass stop a`
3. `multipass snapshot a`
4. `multipass info --snapshots --format json`

**Expected behavior**
The field should either not be present or be populated.

**Additional info**
- OS: Ubuntu 24.04
- CPU architecture or model: amd64
- `multipass version`: 1.17.0-dev

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with `multipass launch -n a`, `multipass stop a`, `multipass snapshot a`, and `multipass info --snapshots --format json`, then trace where snapshot information is assembled. Confirm whether the snapshot size should be populated or omitted, and verify that the resulting JSON matches the selected behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.