Skip to content

fix: preflight and fail closed on restore apply errors (#535)#1

Open
thedancingdeveloper wants to merge 1 commit into
mainfrom
fix/535-restore-fail-closed
Open

fix: preflight and fail closed on restore apply errors (#535)#1
thedancingdeveloper wants to merge 1 commit into
mainfrom
fix/535-restore-fail-closed

Conversation

@thedancingdeveloper

Copy link
Copy Markdown
Owner

Summary

  • validate the complete restore target before destructive table clears
  • propagate apply failures instead of reporting success after partial mutation
  • use rollback-aware application for restore/import/static-route paths
  • add regression coverage for failed and invalid restores

Closes ZerosAndOnesLLC#535

Validation

  • cargo fmt --all -- --check
  • cargo clippy -p aifw-api --all-targets -- -D warnings
  • cargo test -p aifw-api (171 passed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Backup/restore: fail instead of reporting success after partial apply

2 participants