You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow-up to #(see linked PR) — the rest of docs/TEST_COVERAGE_PRD.md Phase 7's original six targets.
Remaining scope
CreateVaultScreenKt (167 missed, 0%) — not started. Security-adjacent per the original PRD note ("do after the pattern is settled").
EpubReaderScreenKt (149 missed, 0%) — not started. Already flagged in the original scoping as "heaviest state machine; may warrant logic extraction first".
PdfReaderScreenKt (146 missed, 0%) — not started.
ReaderScreenKt's top-level composable — its epubViewModel/markdownViewModel are obtained via sibling hiltViewModel() calls specifically so their instances are shared with the ViewModelStoreOwnerEpubReaderScreen/MarkdownReaderScreen use downstream. A mechanical wrapper/pure-content split risks silently breaking that sharing (Read Aloud's chapter-walk coordination depends on it). Needs a deliberate design pass, not the same mechanical treatment as SettingsScreenKt/PlayerScreenKt.
Before starting EpubReaderScreenKt/PdfReaderScreenKt, check whether they have the same sibling-hiltViewModel()-sharing shape ReaderScreenKt turned out to have — do not assume the PlayerScreen template applies without checking.
See docs/TEST_COVERAGE_PRD.md §1b for the full writeup of what was tried and why ReaderScreenKt was re-scoped rather than forced through.
Pipeline is at capacity (3/3 active runs) — skipping this run. Re-apply status:ready-for-dev once activity settles, or re-trigger manually via workflow_dispatch.
Triaged and partially implemented. This issue bundles four separate targets (CreateVaultScreenKt, EpubReaderScreenKt, PdfReaderScreenKt, and a ReaderScreenKt design pass), each of which the issue itself says needs its own investigation before assuming the wrapper/pure-content template applies — Epub/Pdf need the sibling-hiltViewModel()-sharing check, and ReaderScreenKt explicitly needs a deliberate design pass rather than mechanical treatment.
Doing all four in one PR would mean either rushing that investigation or shipping one very large diff spanning unrelated screens/modules, including one flagged security-adjacent (CreateVaultScreenKt). Scoping this down instead:
CreateVaultScreenKt — done.refactor(vault): split CreateVaultScreenKt into thin wrapper + pure content #599 (draft → ready). Checked first for the ReaderScreenKt sibling-hiltViewModel()-sharing shape — CreateVaultScreen only takes a single viewModel: CreateVaultViewModel = hiltViewModel(), no sharing, so the mechanical split applies cleanly. Thin wrapper + pure CreateVaultContent(state, actions), 17 new Robolectric tests, 3 new Roborazzi baselines (first for feature:vault).
PdfReaderScreenKt — checked, no sibling-sharing issue either (single viewModel: PdfReaderViewModel = hiltViewModel()), but it's a heavy native-PdfRenderer/bitmap/coroutine state machine that's a materially different, harder investigation (Robolectric's PdfRenderer support, if any, needs checking before assuming Roborazzi baselines are even feasible there) — not done here.
EpubReaderScreenKt and the ReaderScreenKt design pass — not investigated in this pass. Both were already flagged as the hardest of the four in the issue itself.
Recommend splitting the remaining three (EpubReaderScreenKt, PdfReaderScreenKt, ReaderScreenKt design pass) into their own follow-up issues, one per target, so each gets its own confidently-scoped PR rather than being force-fit into this one — matching how the original Phase 7 scoping in docs/TEST_COVERAGE_PRD.md treated it as 6 separate PRs for 6 targets. Leaving this issue open and re-labeling status:ready-for-dev isn't appropriate since a human should decide the split; leaving as-is with this comment for now.
CreateVaultScreenKt is already covered by #599 (pending human merge). Closing this issue as split — all four original targets now have dedicated tracking.
Activity
github-actions commentedon Aug 24, 2026
Pipeline is at capacity (3/3 active runs) — skipping this run. Re-apply status:ready-for-dev once activity settles, or re-trigger manually via workflow_dispatch.
github-actions commentedon Aug 25, 2026
Triaged and partially implemented. This issue bundles four separate targets (
CreateVaultScreenKt,EpubReaderScreenKt,PdfReaderScreenKt, and aReaderScreenKtdesign pass), each of which the issue itself says needs its own investigation before assuming the wrapper/pure-content template applies — Epub/Pdf need the sibling-hiltViewModel()-sharing check, andReaderScreenKtexplicitly needs a deliberate design pass rather than mechanical treatment.Doing all four in one PR would mean either rushing that investigation or shipping one very large diff spanning unrelated screens/modules, including one flagged security-adjacent (
CreateVaultScreenKt). Scoping this down instead:CreateVaultScreenKt— done. refactor(vault): split CreateVaultScreenKt into thin wrapper + pure content #599 (draft → ready). Checked first for theReaderScreenKtsibling-hiltViewModel()-sharing shape —CreateVaultScreenonly takes a singleviewModel: CreateVaultViewModel = hiltViewModel(), no sharing, so the mechanical split applies cleanly. Thin wrapper + pureCreateVaultContent(state, actions), 17 new Robolectric tests, 3 new Roborazzi baselines (first forfeature:vault).PdfReaderScreenKt— checked, no sibling-sharing issue either (singleviewModel: PdfReaderViewModel = hiltViewModel()), but it's a heavy native-PdfRenderer/bitmap/coroutine state machine that's a materially different, harder investigation (Robolectric'sPdfRenderersupport, if any, needs checking before assuming Roborazzi baselines are even feasible there) — not done here.EpubReaderScreenKtand theReaderScreenKtdesign pass — not investigated in this pass. Both were already flagged as the hardest of the four in the issue itself.Recommend splitting the remaining three (
EpubReaderScreenKt,PdfReaderScreenKt,ReaderScreenKtdesign pass) into their own follow-up issues, one per target, so each gets its own confidently-scoped PR rather than being force-fit into this one — matching how the original Phase 7 scoping indocs/TEST_COVERAGE_PRD.mdtreated it as 6 separate PRs for 6 targets. Leaving this issue open and re-labelingstatus:ready-for-devisn't appropriate since a human should decide the split; leaving as-is with this comment for now.libravault-xyz commentedon Aug 25, 2026
Splitting the remaining three targets into their own follow-up issues per the recommendation above, one per target:
EpubReaderScreenKt→ Test coverage: EpubReaderScreenKt (Phase 7 split from #521) #605PdfReaderScreenKt→ Test coverage: PdfReaderScreenKt (Phase 7 split from #521) #606ReaderScreenKtdesign pass → Test coverage: ReaderScreenKt design pass (Phase 7 split from #521) #607CreateVaultScreenKtis already covered by #599 (pending human merge). Closing this issue as split — all four original targets now have dedicated tracking.