fix(persistence): use conversation type for group kinds [WPB-27024]#4286
Merged
Conversation
Contributor
Contributor
|
| Branch | ${GITHUB_HEAD_REF} |
| Testbed | ubuntu-latest |
⚠️ WARNING: No Threshold found!Without a Threshold, no Alerts will ever be generated.
Click here to create a new Threshold
For more information, see the Threshold documentation.
To only post results if a Threshold exists, set the--ci-only-thresholdsflag.
Click to view all benchmark results
| Benchmark | Latency | microseconds (µs) |
|---|---|---|
| com.wire.kalium.benchmarks.logic.CoreLogicBenchmark.createObjectInFiles | 📈 view plot | 907.91 µs |
| com.wire.kalium.benchmarks.logic.CoreLogicBenchmark.createObjectInMemory | 📈 view plot | 576,018.09 µs |
| com.wire.kalium.benchmarks.persistence.MessageReadBenchmark.inboxPagingDeepPageBenchmark | 📈 view plot | 134,293.24 µs |
| com.wire.kalium.benchmarks.persistence.MessageReadBenchmark.inboxPagingFirstPageBenchmark | 📈 view plot | 129,304.53 µs |
| com.wire.kalium.benchmarks.persistence.MessageReadBenchmark.localMarkAsReadBenchmark | 📈 view plot | 3,504.84 µs |
| com.wire.kalium.benchmarks.persistence.MessageReadBenchmark.messagePagingDeepPageBenchmark | 📈 view plot | 37,826.72 µs |
| com.wire.kalium.benchmarks.persistence.MessageReadBenchmark.messagePagingFirstPageBenchmark | 📈 view plot | 21,907.10 µs |
| com.wire.kalium.benchmarks.persistence.MessagesNoPragmaTuneBenchmark.messageInsertionBenchmark | 📈 view plot | 1,260,138.58 µs |
| com.wire.kalium.benchmarks.persistence.MessagesNoPragmaTuneBenchmark.queryMessagesBenchmark | 📈 view plot | 20,231.96 µs |
saleniuk
reviewed
Jul 10, 2026
|
saleniuk
approved these changes
Jul 13, 2026
yamilmedina
approved these changes
Jul 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



https://wearezeta.atlassian.net/browse/WPB-27024
Intent
the #4277 with the new group type column will cause the app to hand when parsing 1:1s since the gorup type is empty string and the app will fail to map it and throw
Use the existing persisted conversation type to distinguish regular groups, channels, and meetings instead of introducing a separate non-null
group_typecolumn.Changes
CHANNELandMEETINGCHANNELwhile 1:1, self, connection-pending, and regular group types are preservedRoot cause
The original migration replaced
is_channelwith a second discriminator and populated missing group subtype values with an empty string, including non-group conversations. This duplicated the existing conversation type and created invalid persisted state.