Repository navigation
refactor: create Kalium read consumers with ViewModels - #5426
Draft
MohamadJaara wants to merge 24 commits into
Draft
MohamadJaara wants to merge 24 commits into
MohamadJaara wants to merge 24 commits into
Conversation
MohamadJaara
marked this pull request as ready for review
October 21, 2026 15:49
MohamadJaara
requested review from
Garzas and
yamilmedina
and removed request for
a team
October 21, 2026 15:49
Ups 🫰🟨This PR is too big. Please try to break it up into smaller PRs. |
Contributor
Test Results 356 files ±0 356 suites ±0 1m 45s ⏱️ -2s Results for commit 10a7b0f. ± Comparison against base commit 4dcd1e1. This pull request removes 1 and adds 1 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
Contributor
|
APKs built during tests are available here. Scroll down to Artifacts! |
Contributor
|
APKs built during tests are available here. Scroll down to Artifacts! |
MohamadJaara
marked this pull request as draft
October 22, 2026 07:59
This branch has not been deployed
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.
Creates one Kalium read consumer when the existing factory constructs a new ViewModel, preserving its
ViewModelStoreOwneracross retention. All 22 binding groups remain. Captured-generation session observers, one-shot notification subscription ordering, typed navigation restoration and cleanup behavior remain as in the reviewed implementation. Depends on wireapp/kalium#4576 and pins its implementation commitf73efaa.Review order: this implementation → #5429. The 75 newly added test methods and dedicated persistence test dependency/substitution moved to the stacked test PR. This base retains the fixture/API adaptations required by pre-existing tests and the release-note static-mock cleanup. Production code and generated stability metadata are unchanged from the previously reviewed
5141bea. No generated API reference diffs are added.Split verification: all 2,278 app unit tests passed independently in this base. The restored stacked layer also passed all 2,355 app tests; its final one-line preservation of an old event-count assertion passed all nine focused class tests. Fresh reviewers checked test conservation, dependency placement and unchanged production trees. Prior complete technical CI belongs to
5141bea; new-head CI remains separately visible. No Jira issue exists.Size: +3,620/−3,045 total, including the existing stability metadata refresh; the test layer is separate (+2,983/−8 across 23 files). This is the approved three-read slice, with full ADR 0017 migration and performance measurements still future work. No merge or deployment is included.