-
Notifications
You must be signed in to change notification settings - Fork 927
PM-27846: Move DispatcherManager to core module #6124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Claude finished @david-livefront's task —— View job PR Review: Move DispatcherManager to core moduleTasks
SummaryThis PR successfully moves Key Changes✅ Module Structure
✅ Build Configuration
✅ Import Updates
✅ No Regressions
Architecture AssessmentThis move is architecturally appropriate for several reasons:
Code Quality
Previous Review StatusThe critical issue identified in the previous review has been resolved:
RecommendationAPPROVED ✅ This is a well-executed refactoring that improves the codebase structure by moving a foundational utility to its proper architectural location. The changes are mechanical, consistent, and complete. No issues found. Ready to merge once CI passes. |
app/src/main/kotlin/com/x8bit/bitwarden/data/auth/manager/KdfManagerImpl.kt
Show resolved
Hide resolved
...c/test/kotlin/com/x8bit/bitwarden/data/vault/repository/util/VaultSdkCipherExtensionsTest.kt
Show resolved
Hide resolved
core/src/main/kotlin/com/bitwarden/core/data/manager/dispatcher/DispatcherManager.kt
Show resolved
Hide resolved
|
Great job! No new security vulnerabilities introduced in this pull request |
eec55b8 to
ae82bf6
Compare
|
|
||
| import app.cash.turbine.test | ||
| import com.bitwarden.core.data.util.asSuccess | ||
| import com.bitwarden.data.datasource.disk.base.FakeDispatcherManager |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ Incorrect import path for FakeDispatcherManager
This import is still referencing the old path in the data module. It should be updated to use the new path in the core module:
| import com.bitwarden.data.datasource.disk.base.FakeDispatcherManager | |
| import com.bitwarden.core.data.manager.dispatcher.FakeDispatcherManager |
Since FakeDispatcherManager has been moved to core/src/testFixtures/kotlin/com/bitwarden/core/data/manager/dispatcher/FakeDispatcherManager.kt, this import needs to be updated to match the new package structure.
ae82bf6 to
3a22dff
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6124 +/- ##
=======================================
Coverage 84.96% 84.96%
=======================================
Files 724 724
Lines 52758 52758
Branches 7659 7659
=======================================
Hits 44826 44826
Misses 5249 5249
Partials 2683 2683 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Thanks @SaintPatrck |

🎟️ Tracking
PM-27846
📔 Objective
This PR moves the
DispatcherManagerfrom thedatamodule to thecoremodule.⏰ Reminders before review
🦮 Reviewer guidelines
:+1:) or similar for great changes:memo:) or ℹ️ (:information_source:) for notes or general info:question:) for questions:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:) for suggestions / improvements:x:) or:warning:) for more significant problems or concerns needing attention:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt:pick:) for minor or nitpick changes