fix: Store event queue DB outside Documents and exclude from backup - #810
Conversation
PR SummaryMedium Risk Overview On init, the SDK runs Documents → Application Support migration for Schema migration ( Unit tests cover path selection, directory migration edge cases, backup exclusion, Documents-only schema migration, and SessionNumber cleanup. Reviewed by Cursor Bugbot for commit 5ee5965. Bugbot is set up for automated code reviews on this repo. Configure here. |
📦 SDK Size Impact ReportMeasures how much the SDK adds to an app's size (with-SDK minus without-SDK).
➡️ SDK size impact change is minimal. Raw measurementsTarget branch (main): {"baseline_app_size_kb":84,"baseline_executable_size_bytes":75464,"with_sdk_app_size_kb":1920,"with_sdk_executable_size_bytes":76312,"sdk_impact_kb":1836,"sdk_executable_impact_bytes":848,"xcframework_size_kb":6636}This PR: {"baseline_app_size_kb":84,"baseline_executable_size_bytes":75464,"with_sdk_app_size_kb":1920,"with_sdk_executable_size_bytes":76312,"sdk_impact_kb":1836,"sdk_executable_impact_bytes":848,"xcframework_size_kb":6644} |
c24648c to
720d536
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 720d536. Configure here.
Move the iOS SQLite queue to Application Support (with Documents migration), set NSURLIsExcludedFromBackupKey, and remove leftover SessionNumber files.
720d536 to
5ee5965
Compare

Move the iOS SQLite queue to Application Support (with Documents migration), set NSURLIsExcludedFromBackupKey, and remove leftover SessionNumber files.
Background
What Has Changed
Checklist
Reference Issue (For employees only. Ignore if you are an outside contributor)