Skip to content

test: add integration tests for event processing order [WPB-24696]#4040

Open
MohamadJaara wants to merge 1 commit intodevelopfrom
mo/test/add-integration-tests-for-Event-reository
Open

test: add integration tests for event processing order [WPB-24696]#4040
MohamadJaara wants to merge 1 commit intodevelopfrom
mo/test/add-integration-tests-for-Event-reository

Conversation

@MohamadJaara
Copy link
Copy Markdown
Member

@MohamadJaara MohamadJaara commented Apr 10, 2026

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


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

the Event repository is an important part of the app and and even tho it is covered with unit tests using mocks it does not tell the full story, so here is a bunch of integration tests to make sure the order or event processing is unchanged and always correct

@sonarqubecloud
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 10, 2026

Test Results

0 tests   - 4 743   0 ✅  - 4 626   0s ⏱️ - 2m 52s
0 suites  -   782   0 💤  -   117 
0 files    -   782   0 ❌ ±    0 

Results for commit 0504497. ± Comparison against base commit 0dd9ca5.

♻️ This comment has been updated with latest results.

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.85%. Comparing base (0dd9ca5) to head (0504497).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #4040      +/-   ##
===========================================
+ Coverage    59.75%   59.85%   +0.09%     
===========================================
  Files         2030     2030              
  Lines        65703    65703              
  Branches      7178     7178              
===========================================
+ Hits         39263    39325      +62     
+ Misses       23216    23160      -56     
+ Partials      3224     3218       -6     

see 7 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 0dd9ca5...0504497. 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.

@github-actions
Copy link
Copy Markdown
Contributor

🐰 Bencher Report

Branchmo/test/add-integration-tests-for-Event-reository
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
932.53 µs
com.wire.kalium.benchmarks.logic.CoreLogicBenchmark.createObjectInMemory📈 view plot
⚠️ NO THRESHOLD
587,826.67 µs
com.wire.kalium.benchmarks.persistence.MessageReadBenchmark.inboxPagingDeepPageBenchmark📈 view plot
⚠️ NO THRESHOLD
133,544.70 µs
com.wire.kalium.benchmarks.persistence.MessageReadBenchmark.inboxPagingFirstPageBenchmark📈 view plot
⚠️ NO THRESHOLD
126,928.87 µs
com.wire.kalium.benchmarks.persistence.MessageReadBenchmark.localMarkAsReadBenchmark📈 view plot
⚠️ NO THRESHOLD
3,511.15 µs
com.wire.kalium.benchmarks.persistence.MessageReadBenchmark.messagePagingDeepPageBenchmark📈 view plot
⚠️ NO THRESHOLD
26,490.95 µs
com.wire.kalium.benchmarks.persistence.MessageReadBenchmark.messagePagingFirstPageBenchmark📈 view plot
⚠️ NO THRESHOLD
11,336.63 µs
com.wire.kalium.benchmarks.persistence.MessagesNoPragmaTuneBenchmark.messageInsertionBenchmark📈 view plot
⚠️ NO THRESHOLD
1,338,446.76 µs
com.wire.kalium.benchmarks.persistence.MessagesNoPragmaTuneBenchmark.queryMessagesBenchmark📈 view plot
⚠️ NO THRESHOLD
21,259.70 µs
🐰 View full continuous benchmarking report in Bencher

@MohamadJaara MohamadJaara changed the title test: add integration tests for event processing order test: add integration tests for event processing order [WPB-24696] Apr 13, 2026
@MohamadJaara MohamadJaara enabled auto-merge April 17, 2026 10:17
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.

3 participants