fix: track and report file restore failures #22

Open
clawbot wants to merge 1 commits from fix/restore-error-handling into main
Collaborator

Restore previously logged errors for individual files but returned success even if files failed. Now tracks failed files in RestoreResult, reports them in the summary output, and returns an error if any files failed to restore.

Fixes #21

Restore previously logged errors for individual files but returned success even if files failed. Now tracks failed files in RestoreResult, reports them in the summary output, and returns an error if any files failed to restore. Fixes #21
clawbot added 1 commit 2026-02-08 17:34:25 +01:00
Restore previously logged errors for individual files but returned
success even if files failed. Now tracks failed files in RestoreResult,
reports them in the summary output, and returns an error if any files
failed to restore.

Fixes #21
Author
Collaborator

Ran tests via nix-shell. All packages pass except internal/vaultik which has a pre-existing build failure on mainFetchBlob and FetchAndDecryptBlob methods are referenced in restore.go and verify.go but not defined anywhere. This is unrelated to this PR. My changes introduce no new test failures.

Ran tests via nix-shell. All packages pass except `internal/vaultik` which has a pre-existing build failure on `main` — `FetchBlob` and `FetchAndDecryptBlob` methods are referenced in `restore.go` and `verify.go` but not defined anywhere. This is unrelated to this PR. My changes introduce no new test failures.
This pull request can be merged automatically.
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix/restore-error-handling:fix/restore-error-handling
git checkout fix/restore-error-handling
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sneak/vaultik#22
No description provided.