Skip to content

feat(users): migrate UsersDao, UsersRepository and UserManager to coroutines - #6644

Draft
mahibi wants to merge 1 commit into
masterfrom
migrateUserManagerToCoroutines
Draft

feat(users): migrate UsersDao, UsersRepository and UserManager to coroutines#6644
mahibi wants to merge 1 commit into
masterfrom
migrateUserManagerToCoroutines

Conversation

@mahibi

@mahibi mahibi commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

WIP

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not needed
  • 🔖 Capability is checked or not needed
  • 🔙 Backport requests are created or not needed: /backport to stable-xx.x
  • 📅 Milestone is set
  • 🌸 PR title is meaningful (if it should be in the changelog: is it meaningful to users?)

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

…outines

Convert the user data layer (UsersDao, UsersRepository/Impl) from RxJava2
to suspend fun/Flow, mirroring the ConversationsDao pattern already used
elsewhere. UserManager gains suspend counterparts for every method
alongside its existing RxJava-typed API, which is now deprecated and
bridges to the suspend implementation via kotlinx-coroutines-rx2, so the
~50 existing call sites keep compiling unchanged. Follow-up PRs will
migrate those callers in batches and then remove the deprecated methods.

Assisted-by: Claude Code:claude-sonnet-5

Signed-off-by: Marcel Hibbe <[email protected]>
@mahibi mahibi self-assigned this Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant