Skip to content

fix(ios): reconcile refreshed sessions into device directory - #3633

Merged
wgqqqqq merged 1 commit into
mainfrom
wgq/fix-ios-session-directory-sync
Oct 30, 2026
Merged

wgqqqqq merged 1 commit into
mainfrom
wgq/fix-ios-session-directory-sync

Conversation

@wgqqqqq

@wgqqqqq wgqqqqq commented Oct 30, 2026

Copy link
Copy Markdown
Collaborator

Problem

The iOS active session store refreshed successfully, but the multi-device directory kept its previous cached snapshot. A desktop session created or refreshed after the directory loaded could therefore be missing from the iOS device list.

Changes

  • Reconcile every settled, unfiltered active session snapshot into the matching account device and workspace.
  • Preserve sessions belonging to other workspaces and keep directory persistence in sync, including pagination state.
  • Add a regression test covering directory projection and cache updates.

Validation

  • :core-feature:jvmTest --tests '*DeviceDirectoryStoreTest*'
  • :app:assembleDebug
  • compileKotlinIosSimulatorArm64
  • Xcode Debug build for iOS Simulator and connected iPhone
  • iOS pure Swift focused tests

Android uses the shared API without the iOS adapter bridge; Android compilation and app assembly passed.

@wgqqqqq
wgqqqqq merged commit 11e2bd6 into main Oct 30, 2026
9 checks 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.

1 participant