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

refactor: remove network from registerToken #WPB-9476 #3051

Merged
merged 3 commits into from
Oct 8, 2024

Conversation

damian-kaczmarek
Copy link
Contributor

@damian-kaczmarek damian-kaczmarek commented Oct 4, 2024

TaskWPB-9476 Add a button in the debug settings screen to re-register the FCM push token with the backend

What's new in this PR?

Issues

removed Suppress and changed function so it doesn't expose network layer

Dependencies (Optional)

Same function is used here #3050
If this PR will be merged before those changes can be applied also there


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.

@damian-kaczmarek damian-kaczmarek self-assigned this Oct 4, 2024
@damian-kaczmarek damian-kaczmarek changed the title reafactor: remove network from registerToken #WPB-9476 refactor: remove network from registerToken #WPB-9476 Oct 4, 2024
Copy link
Contributor

github-actions bot commented Oct 4, 2024

Test Results

3 212 tests  ±0   3 106 ✅ ±0   4m 16s ⏱️ +6s
  551 suites ±0     106 💤 ±0 
  551 files   ±0       0 ❌ ±0 

Results for commit 66112f3. ± Comparison against base commit 8b65be7.

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented Oct 4, 2024

🐰 Bencher Report

Branchrefactor/registerToken
Testbedubuntu-latest

⚠️ WARNING: The following Measure does not have a Threshold. 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 CLI flag.

Click to view all benchmark results
BenchmarkLatencynanoseconds (ns)
com.wire.kalium.benchmarks.logic.CoreLogicBenchmark.createObjectInFiles📈 view plot
⚠️ NO THRESHOLD
707,432.24
com.wire.kalium.benchmarks.logic.CoreLogicBenchmark.createObjectInMemory📈 view plot
⚠️ NO THRESHOLD
379,218,250.75
com.wire.kalium.benchmarks.persistence.MessagesNoPragmaTuneBenchmark.messageInsertionBenchmark📈 view plot
⚠️ NO THRESHOLD
948,781,299.59
com.wire.kalium.benchmarks.persistence.MessagesNoPragmaTuneBenchmark.queryMessagesBenchmark📈 view plot
⚠️ NO THRESHOLD
21,650,974.55
🐰 View full continuous benchmarking report in Bencher

@codecov-commenter
Copy link

codecov-commenter commented Oct 4, 2024

Codecov Report

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

Project coverage is 52.50%. Comparing base (8b65be7) to head (66112f3).

Files with missing lines Patch % Lines
.../wire/kalium/logic/data/client/ClientRepository.kt 0.00% 9 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3051      +/-   ##
===========================================
- Coverage    52.50%   52.50%   -0.01%     
===========================================
  Files         1304     1304              
  Lines        50178    50182       +4     
  Branches      4679     4679              
===========================================
+ Hits         26348    26349       +1     
- Misses       21943    21947       +4     
+ Partials      1887     1886       -1     
Files with missing lines Coverage Δ
...ogic/feature/notificationToken/PushTokenUpdater.kt 94.11% <ø> (ø)
.../wire/kalium/logic/data/client/ClientRepository.kt 44.62% <0.00%> (-1.53%) ⬇️

... and 1 file 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 8b65be7...66112f3. Read the comment docs.

@datadog-wireapp
Copy link

datadog-wireapp bot commented Oct 4, 2024

Datadog Report

Branch report: refactor/registerToken
Commit report: e8131d5
Test service: kalium-jvm

✅ 0 Failed, 3106 Passed, 106 Skipped, 13.26s Total Time

@CLAassistant
Copy link

CLAassistant commented Oct 4, 2024

CLA assistant check
All committers have signed the CLA.

Copy link

sonarcloud bot commented Oct 4, 2024

Copy link
Contributor

@yamilmedina yamilmedina left a comment

Choose a reason for hiding this comment

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

Thanks for taking care of some house cleaning 👏

@damian-kaczmarek damian-kaczmarek added this pull request to the merge queue Oct 8, 2024
Merged via the queue into develop with commit 8e0f4a6 Oct 8, 2024
22 checks passed
@damian-kaczmarek damian-kaczmarek deleted the refactor/registerToken branch October 8, 2024 07:37
MohamadJaara pushed a commit that referenced this pull request Oct 18, 2024
* refactor: remove network from registerToken #WPB-9476

* cheeky commit singing test

* Revert "cheeky commit singing test"

This reverts commit 44cd4fc.
@echoes-hq echoes-hq bot added the echoes: technical-roadmap/technical-debt More specific category, to highlight Technical Debt being tackled. label Nov 5, 2024
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.

6 participants