Skip to content

fix: bind restores to previewed scope (#6670) - #6675

Merged
atomantic merged 3 commits into
mainfrom
claim/issue-6670
Sep 9, 2026
Merged

fix: bind restores to previewed scope (#6670)#6675
atomantic merged 3 commits into
mainfrom
claim/issue-6670

Conversation

@atomantic

Copy link
Copy Markdown
Owner

Summary

  • bind each accepted file-restore preview to the normalized snapshot and subdirectory request that produced it
  • invalidate preview results when the scope changes and ignore late responses from obsolete preview requests
  • submit live restores from the accepted preview identity and lock restore controls while the write is running

Tests

  • cd client && npm test -- BackupWidget.test.jsx (13 tests)
  • cd client && npm run lint
  • cd client && npm run build

Review

  • local code review: clean
  • optional Claude review: capped at the configured 1/1 round; both findings addressed and verified

Closes #6670

@atomantic
atomantic merged commit c08946a into main Sep 9, 2026
7 checks passed
@atomantic
atomantic deleted the claim/issue-6670 branch September 9, 2026 02:26
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.

[structural-drift-restore-preview-scope] Bind file restore to the scope that was previewed

1 participant