Repository navigation
Commit f68f20c
Remove delta apps on full restore even if earlier stages failed (#7323)
During a full restore, removing apps that are not part of the backup was
written as `success = success and await backup.remove_delta_apps()`.
The short-circuit meant that if an earlier stage such as the folder
restore had already failed, remove_delta_apps was never awaited and
apps not in the backup stayed installed.
Always run remove_delta_apps and combine its result afterwards.
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>1 parent 2837599 commit f68f20c
2 files changed
Lines changed: 32 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
744 | 744 | | |
745 | 745 | | |
746 | 746 | | |
747 | | - | |
| 747 | + | |
| 748 | + | |
748 | 749 | | |
749 | 750 | | |
750 | 751 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
290 | 320 | | |
291 | 321 | | |
292 | 322 | | |
| |||
0 commit comments