Repository navigation
feat(sync): store profile links, kept batches and profile names - #1630
Merged
2 commits merged intoNov 1, 2026
Merged
2 commits merged into
2 commits merged into
Conversation
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.
Summary
LinkedDatabase5 to 6 as an AutoMigration: profile links (one profile per link), batches kept for profiles that aren't active (their content in files underlinked_store/kept, as a batch can be larger than a row can be read back), theprofilescollection's names, and per-link read positions.Related issue
Part of #1039 (Phase 6 of FLOW-SYNC/2).
Change type
Validation
All Gradle runs used
--offline -Dorg.gradle.jvmargs="-Xmx4096m -XX:MaxMetaspaceSize=1024m -Dfile.encoding=UTF-8 -Djava.net.preferIPv6Addresses=true"../gradlew :app:assembleGithubDebug: not run on this branch; the top of the stack builds it../gradlew :app:testGithubDebugUnitTest: 4722 tests, 0 failures, 46 skipped, includingLinkedDatabaseMigrationTest, which opens a version 5 file built from the exported schema.testFossDebugUnitTest4679 tests, 0 failures, 46 skipped;ktlintCheck,spotlessCheckandlintGithubReleasepass;assembleFossReleasebuilds, FOSS arm64-v8a APK 21,787,356 B (budget 29,500,000 B).Test device and Android version:
Risk and compatibility
LinkedDatabaseonly (the main Room schema is untouched): version 6 with an AutoMigration and schema6.json. Thesenttable is rebuilt withlinkin its primary key.