Skip to content

Preserve bootstrap fetch during initial sign-in - #11

Merged
backslash-f merged 1 commit into
mainfrom
codex/initial-account-reconciliation
Sep 14, 2026
Merged

backslash-f merged 1 commit into
mainfrom
codex/initial-account-reconciliation

Conversation

@backslash-f

Copy link
Copy Markdown
Contributor

Summary

  • distinguish the initial matching sign-in of a nil-state CKSyncEngine from later account transitions
  • preserve the explicit fetch lifecycle only for that one bootstrap event
  • keep full lifecycle invalidation for restored engines and every later sign-in, sign-out, or account switch
  • document and test the lifecycle classification

Validation

  • swift test (52 tests)
  • swift build --triple arm64-apple-ios26.0-simulator
  • xcrun swift-format lint --strict --recursive --configuration .swift-format Sources Tests
  • swift AgentGuidelines/Scripts/validate_consumer_setup.swift --consumer-root . --require-swift-format

Draft pending exact-head ChatGPT review and CI.

@backslash-f
backslash-f marked this pull request as ready for review September 14, 2026 16:30
@backslash-f
backslash-f merged commit 45bf2db into main Sep 14, 2026
2 checks passed
@backslash-f
backslash-f deleted the codex/initial-account-reconciliation branch September 14, 2026 16:30
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