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

chore_: remove waku api wrappers #6245

Merged
merged 1 commit into from
Jan 21, 2025
Merged

Conversation

osmaczko
Copy link
Contributor

@osmaczko osmaczko commented Jan 10, 2025

Removed waku api wrappers and duplicated types, also cleaned up unused code.

closes #6302

@status-im-auto
Copy link
Member

status-im-auto commented Jan 10, 2025

Jenkins Builds

Click to see older builds (39)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 5fbcea7 #1 2025-01-10 10:02:22 ~4 min macos 📦zip
✔️ 5fbcea7 #1 2025-01-10 10:03:06 ~4 min ios 📦zip
✔️ 5fbcea7 #1 2025-01-10 10:03:39 ~5 min macos 📦zip
✔️ 5fbcea7 #1 2025-01-10 10:03:41 ~5 min linux 📦zip
✔️ 5fbcea7 #1 2025-01-10 10:03:46 ~5 min android 📦aar
✔️ 5fbcea7 #1 2025-01-10 10:03:59 ~5 min windows 📦zip
✔️ 5fbcea7 #1 2025-01-10 10:04:47 ~6 min tests-rpc 📄log
✖️ 5fbcea7 #1 2025-01-10 10:28:49 ~30 min tests 📄log
✖️ 08823a4 #2 2025-01-10 13:09:29 ~2 min tests 📄log
✔️ 08823a4 #2 2025-01-10 13:10:44 ~4 min macos 📦zip
✔️ 08823a4 #2 2025-01-10 13:10:52 ~4 min windows 📦zip
✔️ 08823a4 #2 2025-01-10 13:11:41 ~5 min ios 📦zip
✔️ 08823a4 #2 2025-01-10 13:11:55 ~5 min linux 📦zip
✔️ 08823a4 #2 2025-01-10 13:12:08 ~5 min android 📦aar
✔️ 08823a4 #2 2025-01-10 13:12:14 ~5 min macos 📦zip
✔️ 08823a4 #2 2025-01-10 13:12:45 ~6 min tests-rpc 📄log
✖️ 32ad247 #3 2025-01-10 13:20:46 ~3 min tests 📄log
✔️ 32ad247 #3 2025-01-10 13:20:54 ~4 min macos 📦zip
✔️ 32ad247 #3 2025-01-10 13:20:58 ~4 min windows 📦zip
✔️ 32ad247 #3 2025-01-10 13:21:14 ~4 min ios 📦zip
✔️ 32ad247 #3 2025-01-10 13:22:15 ~5 min linux 📦zip
✔️ 32ad247 #3 2025-01-10 13:22:34 ~5 min android 📦aar
✔️ 32ad247 #3 2025-01-10 13:23:05 ~6 min tests-rpc 📄log
✔️ 32ad247 #3 2025-01-10 13:23:06 ~6 min macos 📦zip
✔️ fc6813b #4 2025-01-10 14:20:48 ~4 min macos 📦zip
✔️ fc6813b #4 2025-01-10 14:20:59 ~4 min windows 📦zip
✔️ fc6813b #4 2025-01-10 14:22:04 ~5 min linux 📦zip
✔️ fc6813b #4 2025-01-10 14:22:19 ~5 min macos 📦zip
✔️ fc6813b #4 2025-01-10 14:22:29 ~5 min android 📦aar
✔️ fc6813b #4 2025-01-10 14:22:59 ~6 min tests-rpc 📄log
✔️ fc6813b #4 2025-01-10 14:23:34 ~6 min ios 📦zip
✔️ fc6813b #4 2025-01-10 14:46:18 ~29 min tests 📄log
✔️ fc6813b #5 2025-01-17 09:19:06 ~3 min macos 📦zip
✔️ fc6813b #5 2025-01-17 09:19:49 ~4 min windows 📦zip
✔️ fc6813b #5 2025-01-17 09:20:24 ~5 min linux 📦zip
✔️ fc6813b #5 2025-01-17 09:20:32 ~5 min android 📦aar
✔️ fc6813b #5 2025-01-17 09:20:35 ~5 min macos 📦zip
✔️ fc6813b #5 2025-01-17 09:21:12 ~5 min tests-rpc 📄log
✔️ fc6813b #5 2025-01-17 09:50:39 ~35 min tests 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 432039a #6 2025-01-17 10:21:20 ~4 min macos 📦zip
✔️ 432039a #6 2025-01-17 10:22:27 ~5 min windows 📦zip
✔️ 432039a #6 2025-01-17 10:22:34 ~5 min macos 📦zip
✔️ 432039a #6 2025-01-17 10:22:47 ~5 min linux 📦zip
✔️ 432039a #6 2025-01-17 10:23:12 ~6 min android 📦aar
✖️ 432039a #6 2025-01-17 10:24:09 ~6 min tests-rpc 📄log
✔️ 432039a #7 2025-01-17 10:25:34 ~4 min macos 📦zip
✔️ 432039a #7 2025-01-17 10:28:20 ~5 min linux 📦zip
✔️ 432039a #7 2025-01-17 10:29:25 ~6 min android 📦aar
✖️ 432039a #6 2025-01-17 10:49:25 ~32 min tests 📄log
✔️ 432039a #7 2025-01-17 15:55:53 ~6 min tests-rpc 📄log
✔️ 432039a #7 2025-01-17 16:17:10 ~28 min tests 📄log
✔️ 432039a #7 2025-01-21 07:23:55 ~3 min windows 📦zip
✔️ 432039a #8 2025-01-21 07:24:24 ~3 min macos 📦zip
✔️ 432039a #7 2025-01-21 07:26:08 ~5 min macos 📦zip
✔️ 432039a #8 2025-01-21 07:26:09 ~5 min linux 📦zip
✔️ 432039a #8 2025-01-21 07:26:37 ~6 min android 📦aar
✔️ 432039a #8 2025-01-21 07:26:40 ~6 min tests-rpc 📄log
✔️ 432039a #8 2025-01-21 07:51:07 ~30 min tests 📄log
✔️ f56eb37 #8 2025-01-21 07:27:01 ~3 min windows 📦zip
✔️ f56eb37 #9 2025-01-21 07:27:59 ~3 min macos 📦zip
✔️ f56eb37 #8 2025-01-21 07:31:35 ~5 min macos 📦zip
✔️ f56eb37 #9 2025-01-21 07:31:48 ~5 min linux 📦zip
✔️ f56eb37 #9 2025-01-21 07:32:49 ~5 min tests-rpc 📄log
✔️ f56eb37 #9 2025-01-21 07:32:57 ~6 min android 📦aar
✔️ f56eb37 #9 2025-01-21 08:22:01 ~30 min tests 📄log
✔️ f56eb37 #7 2025-01-21 12:27:35 ~3 min ios 📦zip

Copy link
Collaborator

@igor-sirotin igor-sirotin left a comment

Choose a reason for hiding this comment

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

We certainly need an approval from @richard-ramos for this

@osmaczko osmaczko force-pushed the chore/remove-waku-api-wrappers branch 3 times, most recently from 32ad247 to fc6813b Compare January 10, 2025 14:16
Copy link

codecov bot commented Jan 10, 2025

Codecov Report

Attention: Patch coverage is 66.66667% with 2 lines in your changes missing coverage. Please review.

Project coverage is 61.77%. Comparing base (b2bb680) to head (f56eb37).
Report is 27 commits behind head on develop.

Files with missing lines Patch % Lines
wakuv1/api.go 50.00% 1 Missing ⚠️
wakuv2/api.go 50.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #6245      +/-   ##
===========================================
+ Coverage    61.74%   61.77%   +0.03%     
===========================================
  Files          845      843       -2     
  Lines       111323   111285      -38     
===========================================
+ Hits         68739    68750      +11     
+ Misses       34612    34575      -37     
+ Partials      7972     7960      -12     
Flag Coverage Δ
functional 21.46% <33.33%> (+<0.01%) ⬆️
unit 60.33% <66.66%> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
waku/bridge/waku.go 44.30% <100.00%> (ø)
waku/bridge/wakuv2.go 68.00% <100.00%> (ø)
wakuv1/api.go 36.29% <50.00%> (ø)
wakuv2/api.go 39.56% <50.00%> (-0.87%) ⬇️

... and 35 files with indirect coverage changes

@richard-ramos
Copy link
Member

cc: @chaitanyaprem

wakuv2/api.go Outdated
Timestamp: message.Sent,
Hash: message.Hash().Bytes(),
PubsubTopic: message.PubsubTopic,
Topic: types.TopicType(message.ContentTopic),
Copy link
Member

Choose a reason for hiding this comment

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

Why Topic instead of ContentTopic?

Copy link
Member

Choose a reason for hiding this comment

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

nvm, I just saw that we're reusing the ReceivedMessage, and renamed it to Message. Probably a good moment to rename that property to ContentTopic, as it is easier to know what kind of topic are we dealing with!

Copy link
Contributor

@chaitanyaprem chaitanyaprem left a comment

Choose a reason for hiding this comment

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

LGTM

@osmaczko osmaczko force-pushed the chore/whisper-cleanup branch from 6dc3ce7 to 572bc4f Compare January 16, 2025 22:45
Base automatically changed from chore/whisper-cleanup to develop January 17, 2025 09:14
@osmaczko osmaczko force-pushed the chore/remove-waku-api-wrappers branch from fc6813b to 432039a Compare January 17, 2025 10:16
@osmaczko osmaczko changed the base branch from develop to chore/remove-waku-duplicates January 17, 2025 10:16
Base automatically changed from chore/remove-waku-duplicates to develop January 21, 2025 07:20
@osmaczko osmaczko force-pushed the chore/remove-waku-api-wrappers branch from 432039a to f56eb37 Compare January 21, 2025 07:21
@osmaczko osmaczko self-assigned this Jan 21, 2025
@jakubgs
Copy link
Member

jakubgs commented Jan 21, 2025

You will need to rebase your branch on develop in order for the CI job to run using new Nix interpreter:

@osmaczko osmaczko merged commit 69855f2 into develop Jan 21, 2025
19 checks passed
@osmaczko osmaczko deleted the chore/remove-waku-api-wrappers branch January 21, 2025 13:31
@iurimatias iurimatias added this to the 2.33.0 Beta milestone Jan 30, 2025
@iurimatias iurimatias removed this from the 2.33.0 Beta milestone Jan 30, 2025
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.

remove waku api wrappers
8 participants