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
{{ message }}
Repository navigation
refactor(vault): Atomic bulk move via single Room transaction #46
MoveItemsToVaultUseCase rewraps and persists items one-at-a-time. If item K fails mid-loop, items 0..K-1 are already moved — partial-success state.
Cleaner approach: collect all rewrapped Passwords first, then a single database.withTransaction { ... } upsert. Eliminates the partial-failure window. Requires either a new PasswordRepository.bulkUpsert(passwords: List) API, or wrapping the loop in a higher-level transaction.
Out of scope for the initial PR because the partial-failure case is rare (crypto failures don't normally occur after vault validation has passed) and the bulk-transactional path is a meaningful refactor.
Activity
fix(create-access): persist account before vault to avoid orphans
OffRange commentedon May 5, 2026
#44 got merged