Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
718 B
718 B
FAIL
.work/R4.11/lib.ps1:39— [P2] Restore-Data deletes its backup even when restoring an originally absent file fails. The removal branch at line 37 suppresses every deletion error with-ErrorAction SilentlyContinue. Back up withsettings.jsonabsent, create that file during the run, and hold it open without delete sharing: Restore-Data returns normally, leaves the generated settings in place, and deletes the backup. Reproduced with the unchanged functions and disposable directories; evidence:.work/R4.11-r2/restore-errors.log. Propagate deletion failures other than an already absent file, retain the backup until every file is restored successfully, and add this failure case to the regression.