Repository navigation
mobile: sync saved computers across devices; faster reconnect - #400
Merged
Merged
Conversation
- Saved Kittylitter and direct-URL computers sync through iCloud KVS. The merge is a last-write-wins element set in Rust (cloud_sync::computers), so concurrent adds survive and removals do not come back. Local Studio, SSH and ChatGPT-connected computers stay on the device. - Kittylitter tokens for synced computers move to iCloud Keychain; every other token stays device-only. Token reads are cached in memory instead of hitting (and rewriting) the Keychain on every reconnect. - Reconnect: concurrent triggers wait for the in-flight pass instead of returning empty, and foreground account probes run detached with a 10s deadline so they no longer hold up the reconnect result. - Remove the add-server first-run hint on iOS and Android. - Build: cap the shared Cargo target (default 60GB) before Rust builds and keep host dev builds to line-table debug info. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
0xSero
force-pushed
the
mobile/computer-sync-fast-reconnect
branch
from
September 29, 2026 17:26
926c1e7 to
4114871
Compare
This was referenced Sep 29, 2026
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.
Purpose
Make the "machines" experience work like T3 Connect: a computer paired on one device shows up on the user's other Apple devices, and reconnecting after launch or foreground is faster.
Key changes
cloud_sync::computers): a last-write-wins element set, so concurrent adds on two devices both survive and removals propagate instead of being resurrected. 8 unit tests.SavedServerStoreTests.host.rsvalidate_token). All other tokens stayThisDeviceOnly, which is now the store default. Token reads are cached in memory instead of reading and rewriting the Keychain on every reconnect.LITTER_RUST_TARGET_MAX_GB) before Rust builds; host dev profile uses line-table debug info. The target had grown to 243 GB.apps/ios/Resources/fssymlink that broke Xcode builds on fresh checkouts.Verification
cargo test -p codex-mobile-client --lib cloud_sync→ 16 passed;--lib reconnect→ 53 passed.make ios-sim-fast→ BUILD SUCCEEDED;xcodebuild test -only-testing:LitterTests/SavedServerStoreTests→ passed.Platform notes
Computer sync is iOS-only: Android has no iCloud. Follow-up for Android would need Google Block Store or Drive app data. Reconnect fixes and the coachmark removal apply to both.
🤖 Generated with Claude Code