snapcraft 8.2.0.post3+gitc9ab9d1d from edge doesn't support refresh-mode: ignore-running
Metadata
Current evaluation
Snapcraft added refresh-mode: ignore-running via merged PR #4749 (a76f85a78), then backported it through PR #4800 (f6451b6cd).
Resolution: closed resolved
Reason: Merged PR canonical/snapcraft#4749 added the missing refresh-mode value in commit a76f85a78. PR #4800 subsequently backported the fix in commit f6451b6cd.
Evaluated by: mr-cal-bot
No scores available.
Issue body
### Bug Description
The documentation shows ignore-running as a valid option for refresh-mode
https://snapcraft.io/docs/snapcraft-app-and-service-metadata
However when building snapcraft reports:
```
unexpected value; permitted: 'endure', 'restart'
```
### To Reproduce
Add "refresh-mode: ignore-running" to the app
### Environment
snapcraft from edge with lxd
### snapcraft.yaml
```shell
+ refresh-mode: ignore-running
```
### Relevant log output
```shell
unexpected value; permitted: 'endure', 'restart'
```
### Additional context
_No response_
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Snapcraft added refresh-mode: ignore-running via merged PR #4749 (a76f85a78), then backported it through PR #4800 (f6451b6cd). | |
| stealth/space-bunny-alpha | — | closed resolved | Snapcraft added support for refresh-mode: ignore-running, resolving #4747 through merged PR #4749 (commit a76f85a78). The change was also carried by #4800 in commit f6451b6cd. | |
| qwen/qwen3.6-35b-a3b | — | — | Accepted. Maintainer confirmed ignore-running was never implemented and will update the validation models to support it. Issue closed pending the fix. | |
| qwen/qwen3.6-35b-a3b | — | — | The implementation and schema were updated to support ignore-running, resolving the validation error and aligning the code with the documentation. The issue was closed after the fix was applied. | |
| qwen/qwen3.6-35b-a3b | — | — | Documentation listed ignore-running as valid, but snapcraft rejected it. Maintainer confirmed the value should be supported and updated the models to allow it, resolving the issue. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Snapcraft rejected the documented refresh-mode: ignore-running option. The developer confirmed it was a validation oversight and committed to updating the models to allow it. The issue was closed after the fix was acknowledged. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/snapcraft#4749
(confidence 100%)
Merged commit a76f85a78 added support for refresh-mode: ignore-running.
-
Related To:
canonical/snapcraft#4800
(confidence 100%)
Backported the #4749 change in commit f6451b6cd.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3617 snap: do not refresh already installed snaps | snapcraft | merged | Merged PR #3617 via commit 22040ffc5, stopping Snapcraft from refreshing already installed snaps; implementation commit 9d4129398. |