Skip to content

Conversation

saleniuk
Copy link
Contributor

@saleniuk saleniuk commented Apr 15, 2025

BugWPB-17161 [Android] Excessive frequency of fetching MLS public keys


PR Submission Checklist for internal contributors

  • The PR Title

    • conforms to the style of semantic commits messages¹ supported in Wire's Github Workflow²
    • contains a reference JIRA issue number like SQPIT-764
    • answers the question: If merged, this PR will: ... ³
  • The PR Description

    • is free of optional paragraphs and you have filled the relevant parts to the best of your ability

What's new in this PR?

Issues

Fetching MLS public keys should be treated the same way as feature-configs.
https://wearezeta.atlassian.net/wiki/spaces/ENGINEERIN/pages/160858877/Feature+flags+and+feature+configuration#Periodic-fetch-of-configuration

Solutions

Add fetching MLS public keys to the AppSyncViewModel. Update kalium version to the one with MLS public keys changes to be able to use MLSPublicKeysSyncWorker (it executes fetch every 24h as well).

Update: use ForegroundActionsUseCase instead - solution implemented in this PR: wireapp/kalium#3527

Dependencies (Optional)

Needs releases with:

Testing

Test Coverage (Optional)

  • I have added automated test to this contribution

PR Post Submission Checklist for internal contributors (Optional)

  • Wire's Github Workflow has automatically linked the PR to a JIRA issue

PR Post Merge Checklist for internal contributors

  • If any soft of configuration variable was introduced by this PR, it has been added to the relevant documents and the CI jobs have been updated.

References
  1. https://sparkbox.com/foundry/semantic_commit_messages
  2. https://github.com/wireapp/.github#usage
  3. E.g. feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764.

MohamadJaara and others added 30 commits March 13, 2025 15:44
Copy link
Contributor

Built wire-android-staging-compat-pr-3991.apk is available for download

Copy link
Contributor

Built wire-android-dev-debug-pr-3991.apk is available for download

Copy link
Contributor

Built wire-android-staging-compat-pr-3991.apk is available for download

Copy link
Contributor

Built wire-android-dev-debug-pr-3991.apk is available for download

@saleniuk saleniuk requested a review from vitorhugods July 15, 2025 12:47
Copy link
Contributor

@saleniuk looks like you are rolling back kalium to a previous commitish.

This means that the PR's target branch (develop) is using a newer version of Kalium, and the changes in this PR will rollback Kalium to an older version.

develop This PR
bbf3c87c6319309441466844df96f2463310c5db f2e3db432ccda367dde9e817cb74fbaec4ce3c9a

Is this intentional?

Copy link
Contributor

@saleniuk looks like you are rolling back kalium to a previous commitish.

This means that the PR's target branch (develop) is using a newer version of Kalium, and the changes in this PR will rollback Kalium to an older version.

develop This PR
bbf3c87c6319309441466844df96f2463310c5db 41a98896313c998d6638a1d4c9654a71ac6fbb7d

Is this intentional?

Copy link
Contributor

Built wire-android-staging-compat-pr-3991.apk is available for download

Copy link
Contributor

Built wire-android-dev-debug-pr-3991.apk is available for download

Copy link

Copy link
Contributor

Built wire-android-staging-compat-pr-3991.apk is available for download

Copy link
Contributor

Built wire-android-dev-debug-pr-3991.apk is available for download

@saleniuk saleniuk added this pull request to the merge queue Jul 17, 2025
Merged via the queue into develop with commit d9a4950 Jul 17, 2025
17 of 19 checks passed
@saleniuk saleniuk deleted the fix/fetch-mls-public-keys-on-foreground branch July 17, 2025 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants