Skip to content

Repair Assisted Server Backup vault registration metadata - #7038

Draft
antuz123 wants to merge 1 commit into
codex/r3-backup-verificationfrom
codex/r4-vault-registration-metadata
Draft

antuz123 wants to merge 1 commit into
codex/r3-backup-verificationfrom
codex/r4-vault-registration-metadata

Conversation

@antuz123

@antuz123 antuz123 commented Oct 8, 2026 •

Copy link
Copy Markdown
Collaborator

Scope

Implements live Backlog row 259 for R4 / 2.6.4. Treat registeredVaults as repairable vault metadata while retaining it in encrypted recovery content. Capture the persisted VaultSigner registration list and propagate it to every vault using the key. Key, derivation, network, script, and policy identity still conflict when changed.

A read-only check reports a difference without uploading. Explicit repair uploads and verifies readback before reporting success. No production accounts, backups, keys, credentials, or Mongo records were changed.

Verification

  • The vault-registration fixture covers two vaults sharing a signer, failed incremental registration upload, read-only check, explicit repair, incomplete readback, and genuine key/policy conflicts. Focused tests passed 56/56 after the final code change; 76/76 passed before its one-line persisted-read narrowing.
  • On the current stacked [R4] Bind Assisted Server Backup to account consent and origin #7040 head 81bc417cb, the full recovery suite passes 261/261, including two additional account-switch timing cases around registration upload and readback. git diff --check passes.
  • The isolated R4: bring the shipped 2.6.3 baseline into sprint #7031 baseline merge rehearsal passes 273/273 recovery tests and 19/19 release checks, with six conflicts resolved locally and no PR branch altered.

Review and release dependency

This draft is stacked on #7027 to keep its diff focused; #7040 follows this draft. Review encrypted recovery compatibility and live native Realm behavior before merge. Native A→B/vault repair acceptance remains open because this checkout lacks matching iOS Pods and a seeded disposable two-account app/Relay setup. Repository-wide TypeScript errors predate this patch; ESLint cannot load the current jest/globals config in this checkout.

SonarCloud on this head failed before code analysis because the scanner could not retrieve PR key 7038; rerun when that service is healthy.

This branch has not been deployed

No deployments
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.

1 participant