Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: incorrect sender & receiver ID on generated events [WPB-11075] #3005

Merged
merged 2 commits into from
Sep 16, 2024

Conversation

typfel
Copy link
Member

@typfel typfel commented Sep 12, 2024

TaskWPB-11075 Add debug tool for importing events from an external file


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

  1. The sender and receiver IDs shouldn't be qualified on the conversation.new-otr-message event.
  2. The same ID was set for both sender and receiver

The IOS client discards event because of this.


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.

@typfel typfel force-pushed the fix/sender-receiver-id branch from cf66dff to 549f4e5 Compare September 12, 2024 13:49
Copy link
Contributor

github-actions bot commented Sep 12, 2024

Test Results

3 197 tests  ±0   3 092 ✔️ ±0   3m 43s ⏱️ +12s
   550 suites ±0      105 💤 ±0 
   550 files   ±0          0 ±0 

Results for commit 29632eb. ± Comparison against base commit 7f991e6.

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented Sep 12, 2024

🐰Bencher

ReportFri, September 13, 2024 at 09:15:44 UTC
Projectkalium
Branchfix/sender-receiver-id
Testbedubuntu-latest

⚠️ WARNING: The following Measure does not have a Threshold. Without a Threshold, no Alerts will ever be generated!

  • Latency (latency)

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 CLI flag.

Click to view all benchmark results
BenchmarkLatencyLatency Results
nanoseconds (ns)
com.wire.kalium.benchmarks.logic.CoreLogicBenchmark.createObjectInFiles➖ (view plot)695,663.95
com.wire.kalium.benchmarks.logic.CoreLogicBenchmark.createObjectInMemory➖ (view plot)602,117,795.31
com.wire.kalium.benchmarks.persistence.MessagesNoPragmaTuneBenchmark.messageInsertionBenchmark➖ (view plot)923,655,525.13
com.wire.kalium.benchmarks.persistence.MessagesNoPragmaTuneBenchmark.queryMessagesBenchmark➖ (view plot)21,763,751.27

Bencher - Continuous Benchmarking
View Public Perf Page
Docs | Repo | Chat | Help

@typfel typfel enabled auto-merge September 12, 2024 14:08
@codecov-commenter
Copy link

codecov-commenter commented Sep 12, 2024

Codecov Report

Attention: Patch coverage is 0% with 12 lines in your changes missing coverage. Please review.

Project coverage is 52.51%. Comparing base (7f991e6) to head (29632eb).

Files with missing lines Patch % Lines
...com/wire/kalium/logic/data/event/EventGenerator.kt 0.00% 12 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3005      +/-   ##
===========================================
- Coverage    52.52%   52.51%   -0.02%     
===========================================
  Files         1299     1299              
  Lines        49953    49958       +5     
  Branches      4655     4655              
===========================================
- Hits         26238    26233       -5     
- Misses       21835    21845      +10     
  Partials      1880     1880              
Files with missing lines Coverage Δ
...com/wire/kalium/logic/data/event/EventGenerator.kt 0.00% <0.00%> (ø)

... and 3 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 7f991e6...29632eb. Read the comment docs.

@datadog-wireapp
Copy link

datadog-wireapp bot commented Sep 12, 2024

Datadog Report

Branch report: fix/sender-receiver-id
Commit report: 95a049e
Test service: kalium-jvm

✅ 0 Failed, 3092 Passed, 105 Skipped, 11.64s Total Time

Copy link
Member

@MohamadJaara MohamadJaara left a comment

Choose a reason for hiding this comment

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

lgtm, only formatting nitpick

@typfel typfel requested a review from vitorhugods September 13, 2024 08:23
@typfel typfel force-pushed the fix/sender-receiver-id branch from 6af222e to 29632eb Compare September 13, 2024 08:59
Copy link

@typfel typfel added this pull request to the merge queue Sep 16, 2024
Merged via the queue into develop with commit c833b41 Sep 16, 2024
22 checks passed
@typfel typfel deleted the fix/sender-receiver-id branch September 16, 2024 07:40
@echoes-hq echoes-hq bot added the echoes: technical-roadmap/throughput More specific category, to highlight task aiming at improving the development velocity and effici... label Sep 20, 2024
MohamadJaara pushed a commit that referenced this pull request Oct 18, 2024
…3005)

* fix: incorrect sender & receiver ID on generated events

* chore: formatting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
echoes: technical-roadmap/throughput More specific category, to highlight task aiming at improving the development velocity and effici... 🚨 Potential breaking changes 👕 size: S type: bug / fix 🐞
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants