fix: retry 'snap watch'
Metadata
Current evaluation
Merged #899 as commit e0f6bc7, adding retries for snap watch to work around snapd LP#2104066 and fix intermittent socket timeouts in #898.
Resolution: closed resolved
Reason: PR #899 was merged with commit e0f6bc7, implementing the snap watch retry workaround. Downstream testing in canonical/snapcraft#6014 confirmed that it solved the issue.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [x] Have you followed the guidelines for contributing?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `make lint && make test`?
---
Retries the `snap watch` command to workaround a snapd bug. The bug ([LP#2104066](https://bugs.launchpad.net/snapd/+bug/2104066)) was thought to be fixed in snapd 2.71, but we are still seeing the issue. The snapd team is investigating in [SNAPDENG-36387](https://warthogs.atlassian.net/browse/SNAPDENG-36387) and https://github.com/canonical/snapd/pull/16544.
Fixes #898
(SNAPCRAFT-4997)
[SNAPDENG-36387]: https://warthogs.atlassian.net/browse/SNAPDENG-36387?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged #899 as commit e0f6bc7, adding retries for snap watch to work around snapd LP#2104066 and fix intermittent socket timeouts in #898. | |
| qwen/qwen3.6-35b-a3b | — | closed resolved | Merged PR retrying 'snap watch' to workaround snapd bug LP#2104066, fixing #898. Validated downstream in snapcraft#6014. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Related To:
canonical/craft-providers#898
(confidence 100%)
Intermittent snapd socket-timeout issue fixed by this PR.
-
Related To:
snapd#16544
(confidence 95%)
Upstream snapd investigation into the underlying bug.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #898 Intermitent snapd socket timeout | craft-providers | closed | Intermittent snapd socket-activation timeout was fixed by retrying `snap watch` in merged PR #899 (commit e0f6bc7), released in craft-providers 3.3.0. |