Headless sync recovery implementation#7941
Merged
Conversation
5 tasks
Member
Author
18 tasks
1ceb7b9 to
9fd5859
Compare
Base automatically changed from
feature/craig/sync-auto-recovery-onboarding-key-detection
to
develop
March 11, 2026 16:17
9fd5859 to
10a0d20
Compare
This was referenced Mar 12, 2026
CrisBarreiro
approved these changes
Mar 13, 2026
This was referenced Mar 13, 2026
This was referenced Mar 14, 2026
19e1f13 to
62f6080
Compare
17 tasks
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
62f6080 to
7dbbbcd
Compare
Member
Author
Merge activity
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Task/Issue URL: https://app.asana.com/1/137249556945/project/72649045549333/task/1211766481496464?focus=true
Description
Adds in the headless sync setup using the persisted sync recovery key.
This is still gated by the
syncAutoRestorefeature flag which remains disabled for now (you'll need to update this manually for some of the tests)Steps to test this PR
Notes
Sync-Recovery|Sync-AutoRestoreScenario 1: Feature flag OFF (default) — no restore offered regardless of stored key
Scenario 2: Feature flag ON, no recovery key — no restore offered
syncAutoRestoreto be enabled, and installScenario 3: Feature flag ON, recovery key present — user accepts restore
Copy codebuttonWritebutton to persist itScenario 4: Feature flag ON, recovery key present — user skips restore
Got it! I'll skip other tipsdialogScenario 5: Invalid code persisted
Sync Dev Settingsto write an invalid recovery code (e.g., a few random characters)Restore My Stuff. Verify the UX continues normally and in logs you seeSync-Recovery: restore failedPatch to enable FF for
syncAutoRestore