Warmup is not resilient to snapd restarting
Metadata
Current evaluation
Warmup fails when snapd restarts because 'snap watch' errors with 'daemon is stopping'. Issue is triaged, valid, and likely fixed by retry logic in PR #899 (commit e0f6bc7).
Suggested action: close stale
Reason: The issue is likely fixed by PR #899 (commit e0f6bc7), which added retry logic to the 'snap watch' command to handle transient snapd restarts. The code now uses retry_until_timeout to handle the 'daemon is stopping' error, making the warmup resilient to snapd restarts.
Impact:
60
Quick Win:
42.0
Staleness:
20
Complexity:
30
Confidence:
85
Support Request:
0
Issue body
### Bug Description
If there's an update to snapd, the checks can fail because snapd is busy restarting.
### To Reproduce
ehehheh good luck
### part yaml
```shell
```
### Relevant log output
```shell
2025-09-16T15:19:35.0943600Z Failed to wait for snap refreshes to complete.
2025-09-16T15:19:35.0945779Z * Command that failed: "lxc --project rockcraft exec local:base-instance-rockcraft-buildd-base-v71--3afc873fc929ffb5bb37 -- env CRAFT_MANAGED_MODE=1 ROCKCRAFT_DEBUG=False ROCKCRAFT_LXD_REMOTE=local ROCKCRAFT_LAUNCHPAD_INSTANCE=production DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical snap watch '--last=auto-refresh?'"
2025-09-16T15:19:35.0947900Z * Command exit code: 1
2025-09-16T15:19:35.0948677Z * Command standard error output: b'error: daemon is stopping to wait for socket activation\n'
```
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen3.6-35b-a3b-mtp-q6 |
Impact:
60
Quick Win:
42.0
Staleness:
20
Complexity:
30
Confidence:
85
Support Request:
0
|
close stale | Warmup fails when snapd restarts because 'snap watch' errors with 'daemon is stopping'. Issue is triaged, valid, and likely fixed by retry logic in PR #899 (commit e0f6bc7). | |
| qwen/qwen3.6-35b-a3b |
Staleness:
80
Complexity:
40
Confidence:
85
Support Request:
10
|
keep open | Bug report stating snapd warmup checks fail during snapd restarts due to socket activation delays. Triaged but inactive for 10 months with no maintainer follow-up. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
85
Complexity:
50
Confidence:
80
Support Request:
10
|
keep open | Bug where warmup checks fail when snapd restarts during an update, returning a socket activation error. Triaged but inactive for 299 days with no maintainer follow-up. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
85
Complexity:
35
Confidence:
65
Support Request:
5
|
keep open | Warmup checks fail when snapd restarts after an update, returning a socket activation error. The bug is triaged but has been inactive for 283 days with no maintainer follow-up. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
craft-providers#899
(confidence 85%)
PR #899 (commit e0f6bc7) added retry logic to 'snap watch' to handle transient errors like 'daemon is stopping'.
Related issues
No related issues found above the similarity threshold.