Commit d01b7a1
Fix macOS containerd timeout on prune --all
- Fast-fail in containerd.New() with os.Stat check before lazy gRPC dial,
avoiding multi-second timeout when containerd socket is absent (e.g. macOS)
- Make runSystemPruneAll warn-and-skip on per-backend scan/prune failures
instead of returning an error, so unavailable backends don't abort the
whole prune operation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 7ae8c63 commit d01b7a1
File tree
2 files changed
+11
-3
lines changed- internal/cli
- runtime/containerd
2 files changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
| 189 | + | |
189 | 190 | | |
190 | 191 | | |
191 | 192 | | |
| |||
257 | 258 | | |
258 | 259 | | |
259 | 260 | | |
260 | | - | |
| 261 | + | |
261 | 262 | | |
262 | 263 | | |
263 | 264 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
33 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
34 | 41 | | |
35 | 42 | | |
36 | 43 | | |
| |||
0 commit comments