Commit 9ad595a
fix(kit): DMG mount-leak and release-loading robustness (#487)
* fix(scanner): unmount system DMG when cryptex mount fails
The system DMG was only unmounted on the success path. If mounting the
cryptex DMG threw, the system volume stayed mounted while the subsequent
work-directory cleanup deleted its backing file, leaving a zombie mount
that needs a manual `hdiutil detach`. Wrap the post-mount work so the
system DMG is unmounted on every exit path.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Patrick Linnane <patrick@linnane.io>
* fix(kit): error when no indexed releases can be loaded
fetchAllReleases mapped every per-release fetch failure to nil, so a
fully-failed load returned an empty array indistinguishable from a
legitimately empty catalog. Throw DataProviderError.allReleasesFailed
when the index is non-empty but nothing loaded, so the UI can surface the
failure instead of showing an empty list. Also use Release.displayName in
the per-release success log so Xcode releases aren't mislabeled as macOS.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Patrick Linnane <patrick@linnane.io>
* docs: bump Claude commit trailer to Opus 4.8
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Patrick Linnane <patrick@linnane.io>
---------
Signed-off-by: Patrick Linnane <patrick@linnane.io>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 1a08f7b commit 9ad595a
3 files changed
Lines changed: 40 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
| 205 | + | |
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
91 | 97 | | |
92 | 98 | | |
93 | 99 | | |
| |||
118 | 124 | | |
119 | 125 | | |
120 | 126 | | |
| 127 | + | |
121 | 128 | | |
122 | 129 | | |
123 | 130 | | |
124 | 131 | | |
125 | 132 | | |
| 133 | + | |
| 134 | + | |
126 | 135 | | |
127 | 136 | | |
128 | 137 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
| 215 | + | |
215 | 216 | | |
216 | 217 | | |
| 218 | + | |
217 | 219 | | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
232 | 236 | | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
| 237 | + | |
241 | 238 | | |
| 239 | + | |
242 | 240 | | |
243 | 241 | | |
| 242 | + | |
244 | 243 | | |
245 | 244 | | |
246 | 245 | | |
| |||
455 | 454 | | |
456 | 455 | | |
457 | 456 | | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
458 | 464 | | |
459 | 465 | | |
460 | 466 | | |
| |||
0 commit comments