Skip to content

chore: update kotlin [WPB-20393]#3846

Open
MohamadJaara wants to merge 18 commits intodevelopfrom
mo/chore/update-kotliun
Open

chore: update kotlin [WPB-20393]#3846
MohamadJaara wants to merge 18 commits intodevelopfrom
mo/chore/update-kotliun

Conversation

@MohamadJaara
Copy link
Member

@MohamadJaara MohamadJaara commented Feb 6, 2026

https://wearezeta.atlassian.net/browse/WPB-20393


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

update kotlin to 2.3.0 and related libs

Needs releases with:

  • GitHub link to other pull request

Testing

Test Coverage (Optional)

  • I have added automated test to this contribution

How to Test

Briefly describe how this change was tested and if applicable the exact steps taken to verify that it works as expected.

Notes (Optional)

Specify here any other facts that you think are important for this issue.

Attachments (Optional)

Attachments like images, videos, etc. (drag and drop in the text box)


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.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2026

Test Results

0 tests   - 4 308   0 ✅  - 4 191   0s ⏱️ - 4m 50s
0 suites  -   724   0 💤  -   117 
0 files    -   724   0 ❌ ±    0 

Results for commit 8fde412. ± Comparison against base commit 635f23d.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2026

🐰 Bencher Report

Branchmo/chore/update-kotliun
Testbedubuntu-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-thresholds flag.

Click to view all benchmark results
BenchmarkLatencymicroseconds (µs)
com.wire.kalium.benchmarks.logic.CoreLogicBenchmark.createObjectInFiles📈 view plot
⚠️ NO THRESHOLD
717.79 µs
com.wire.kalium.benchmarks.logic.CoreLogicBenchmark.createObjectInMemory📈 view plot
⚠️ NO THRESHOLD
354,081.66 µs
com.wire.kalium.benchmarks.persistence.MessagesNoPragmaTuneBenchmark.messageInsertionBenchmark📈 view plot
⚠️ NO THRESHOLD
1,348,036.51 µs
com.wire.kalium.benchmarks.persistence.MessagesNoPragmaTuneBenchmark.queryMessagesBenchmark📈 view plot
⚠️ NO THRESHOLD
21,207.60 µs
🐰 View full continuous benchmarking report in Bencher

@MohamadJaara MohamadJaara changed the title chore: update kotliun chore: update kotlin Feb 6, 2026
@codecov-commenter
Copy link

codecov-commenter commented Feb 8, 2026

Codecov Report

❌ Patch coverage is 28.57143% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 59.58%. Comparing base (635f23d) to head (8fde412).
⚠️ Report is 4 commits behind head on develop.

Files with missing lines Patch % Lines
...kotlin/com/wire/kalium/persistence/util/IsDebug.kt 0.00% 2 Missing ⚠️
...in/kotlin/com/wire/kalium/logic/CoreLogicCommon.kt 0.00% 2 Missing ⚠️
...alium/persistence/db/DriverConfigurationBuilder.kt 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #3846   +/-   ##
========================================
  Coverage    59.58%   59.58%           
========================================
  Files         1899     1900    +1     
  Lines        59332    59343   +11     
  Branches      6429     6426    -3     
========================================
+ Hits         35352    35361    +9     
- Misses       21019    21023    +4     
+ Partials      2961     2959    -2     
Files with missing lines Coverage Δ
...om/wire/kalium/logic/featureFlags/KaliumConfigs.kt 100.00% <100.00%> (ø)
...alium/persistence/db/DriverConfigurationBuilder.kt 75.00% <0.00%> (-25.00%) ⬇️
...kotlin/com/wire/kalium/persistence/util/IsDebug.kt 0.00% <0.00%> (ø)
...in/kotlin/com/wire/kalium/logic/CoreLogicCommon.kt 0.00% <0.00%> (ø)

... and 10 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 635f23d...8fde412. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@MohamadJaara MohamadJaara changed the title chore: update kotlin chore: update kotlin [WPB-20393] Feb 8, 2026
@MohamadJaara MohamadJaara added breaking change This PR has changes that will most-definitely break apps using Kalium DO NOT MERGE labels Feb 8, 2026
Comment on lines +49 to +60
val affectedModules = readAffectedModules()
val missingAffectedModulesData = affectedModules == null
val runAllTests = hasToRunAllTests() || missingAffectedModulesData

if (!hasToRunAllTests() && (affectedModules.isEmpty() || affectedModules.first().isEmpty())) {
if (!runAllTests && affectedModules.orEmpty().isEmpty()) {
println("\uD83E\uDD8B It is not necessary to run any test, ending here to free up some resources.")
return
}

executeTask(affectedModules)
executeTask(
affectedModules = affectedModules.orEmpty(),
runAllTests = runAllTests,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the dag-command is not supported by Gradle 9 so here is a task that does more or less the same

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 9, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change This PR has changes that will most-definitely break apps using Kalium 👕 size: XL type: chore 🧹

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants