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_: bad peer check logic for lightmode and some fixes #5964

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

chaitanyaprem
Copy link
Contributor

@chaitanyaprem chaitanyaprem commented Oct 18, 2024

@status-im-auto
Copy link
Member

status-im-auto commented Oct 18, 2024

Jenkins Builds

Click to see older builds (175)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ fa1a552 #1 2024-10-18 11:01:30 ~4 min linux 📦zip
✔️ fa1a552 #1 2024-10-18 11:01:33 ~4 min ios 📦zip
✔️ fa1a552 #1 2024-10-18 11:02:14 ~5 min android 📦aar
✔️ fa1a552 #1 2024-10-18 11:02:24 ~5 min tests-rpc 📄log
✔️ fa1a552 #1 2024-10-18 11:30:21 ~33 min tests 📄log
✔️ a855120 #2 2024-10-23 11:37:07 ~3 min ios 📦zip
✔️ a855120 #2 2024-10-23 11:39:24 ~5 min linux 📦zip
✖️ a855120 #2 2024-10-23 11:39:44 ~5 min tests-rpc 📄log
✔️ a855120 #2 2024-10-23 11:40:34 ~6 min android 📦aar
✔️ a855120 #2 2024-10-23 12:08:31 ~34 min tests 📄log
✔️ b7fa5a5 #3 2024-10-24 09:47:39 ~3 min ios 📦zip
✔️ b7fa5a5 #3 2024-10-24 09:49:22 ~4 min linux 📦zip
✔️ b7fa5a5 #3 2024-10-24 09:49:57 ~5 min android 📦aar
✖️ b7fa5a5 #3 2024-10-24 09:50:26 ~5 min tests-rpc 📄log
✔️ b7fa5a5 #3 2024-10-24 10:16:52 ~32 min tests 📄log
✔️ 1ff9e98 #4 2024-10-24 10:00:38 ~2 min android 📦aar
✔️ 1ff9e98 #4 2024-10-24 10:00:47 ~2 min linux 📦zip
✔️ 1ff9e98 #4 2024-10-24 10:01:28 ~3 min ios 📦zip
✖️ 1ff9e98 #4 2024-10-24 10:03:44 ~5 min tests-rpc 📄log
✔️ 9576201 #5 2024-10-24 10:17:22 ~2 min ios 📦zip
✔️ 9576201 #5 2024-10-24 10:17:36 ~3 min linux 📦zip
✖️ 9576201 #5 2024-10-24 10:19:54 ~5 min tests-rpc 📄log
✔️ 9576201 #5 2024-10-24 10:20:31 ~6 min android 📦aar
✔️ 9576201 #4 2024-10-24 10:51:10 ~34 min tests 📄log
✔️ eb75669 #6 2024-10-29 10:51:22 ~3 min android 📦aar
✔️ eb75669 #6 2024-10-29 10:51:32 ~3 min linux 📦zip
✔️ eb75669 #6 2024-10-29 10:52:50 ~4 min tests-rpc 📄log
✔️ eb75669 #1 2024-10-29 10:52:55 ~4 min macos 📦zip
✔️ eb75669 #6 2024-10-29 10:53:31 ~5 min ios 📦zip
✔️ eb75669 #1 2024-10-29 10:53:35 ~5 min macos 📦zip
✖️ eb75669 #1 2024-10-29 10:59:09 ~10 min windows 📦zip
✔️ eb75669 #5 2024-10-29 11:22:27 ~34 min tests 📄log
✔️ 801db12 #7 2024-11-05 17:56:21 ~4 min tests-rpc 📄log
✔️ 801db12 #7 2024-11-05 17:56:28 ~4 min ios 📦zip
✔️ 801db12 #2 2024-11-05 17:56:38 ~4 min macos 📦zip
✔️ 801db12 #2 2024-11-05 17:56:55 ~5 min macos 📦zip
✔️ 801db12 #7 2024-11-05 17:57:19 ~5 min linux 📦zip
✔️ 801db12 #2 2024-11-05 17:57:27 ~5 min windows 📦zip
✔️ 801db12 #7 2024-11-05 17:57:29 ~5 min android 📦aar
✔️ 801db12 #6 2024-11-05 18:26:21 ~34 min tests 📄log
✔️ adc66bb #8 2024-11-09 10:38:03 ~4 min tests-rpc 📄log
✔️ adc66bb #3 2024-11-09 10:38:03 ~4 min windows 📦zip
✔️ adc66bb #3 2024-11-09 10:38:54 ~5 min macos 📦zip
✔️ adc66bb #8 2024-11-09 10:39:03 ~5 min linux 📦zip
✔️ adc66bb #8 2024-11-09 10:39:37 ~6 min android 📦aar
✔️ adc66bb #3 2024-11-09 10:40:40 ~7 min macos 📦zip
✔️ adc66bb #8 2024-11-09 10:43:29 ~9 min ios 📦zip
✖️ adc66bb #7 2024-11-09 11:06:44 ~33 min tests 📄log
✖️ 892ef0b #9 2024-11-29 04:03:32 ~4 min tests-rpc 📄log
✔️ 892ef0b #9 2024-11-29 04:04:29 ~5 min ios 📦zip
✔️ 892ef0b #4 2024-11-29 04:08:36 ~9 min macos 📦zip
✔️ 892ef0b #9 2024-11-29 04:09:37 ~10 min linux 📦zip
✔️ 892ef0b #4 2024-11-29 04:10:19 ~10 min windows 📦zip
✔️ 892ef0b #4 2024-11-29 04:11:53 ~12 min macos 📦zip
✖️ 892ef0b #8 2024-11-29 04:13:27 ~14 min tests 📄log
✖️ c04fe5f #10 2024-11-29 04:07:54 ~4 min tests-rpc 📄log
✔️ c04fe5f #10 2024-11-29 04:09:21 ~4 min ios 📦zip
✔️ c04fe5f #5 2024-11-29 04:18:26 ~9 min macos 📦zip
✔️ c04fe5f #10 2024-11-29 04:18:54 ~9 min linux 📦zip
✔️ c04fe5f #5 2024-11-29 04:19:34 ~9 min windows 📦zip
✔️ c04fe5f #5 2024-11-29 04:22:34 ~10 min macos 📦zip
✖️ c04fe5f #9 2024-11-29 04:26:45 ~13 min tests 📄log
✖️ 18469e9 #11 2024-11-29 05:13:51 ~3 min tests-rpc 📄log
✔️ 18469e9 #11 2024-11-29 05:15:05 ~5 min ios 📦zip
✔️ 18469e9 #6 2024-11-29 05:19:26 ~9 min macos 📦zip
✔️ 18469e9 #6 2024-11-29 05:19:29 ~9 min windows 📦zip
✔️ 18469e9 #6 2024-11-29 05:20:10 ~10 min macos 📦zip
✔️ 18469e9 #11 2024-11-29 05:20:33 ~10 min linux 📦zip
✖️ 18469e9 #10 2024-11-29 05:22:48 ~12 min tests 📄log
✖️ 18469e9 #11 2024-11-29 12:52:34 ~12 min tests 📄log
✖️ a4a54ca #12 2024-12-03 08:51:53 ~4 min tests-rpc 📄log
✔️ a4a54ca #12 2024-12-03 08:52:16 ~4 min ios 📦zip
✔️ a4a54ca #7 2024-12-03 08:52:17 ~4 min macos 📦zip
✔️ a4a54ca #7 2024-12-03 08:52:54 ~5 min macos 📦zip
✔️ a4a54ca #7 2024-12-03 08:53:49 ~6 min windows 📦zip
✔️ a4a54ca #12 2024-12-03 08:54:39 ~7 min android 📦aar
✔️ a4a54ca #12 2024-12-03 08:54:43 ~7 min linux 📦zip
✖️ a4a54ca #12 2024-12-03 08:59:45 ~12 min tests 📄log
✖️ 8a65c5c #13 2024-12-05 03:10:23 ~4 min tests-rpc 📄log
✔️ 8a65c5c #8 2024-12-05 03:10:36 ~4 min windows 📦zip
✔️ 8a65c5c #13 2024-12-05 03:10:49 ~4 min linux 📦zip
✔️ 8a65c5c #8 2024-12-05 03:10:51 ~4 min macos 📦zip
✔️ 8a65c5c #13 2024-12-05 03:10:58 ~4 min ios 📦zip
✔️ 8a65c5c #8 2024-12-05 03:11:38 ~5 min macos 📦zip
✖️ 8a65c5c #13 2024-12-05 03:18:11 ~11 min tests 📄log
✔️ 9d4d3d2 #9 2024-12-05 04:05:50 ~4 min windows 📦zip
✖️ 9d4d3d2 #14 2024-12-05 04:05:55 ~4 min tests-rpc 📄log
✔️ 9d4d3d2 #14 2024-12-05 04:06:44 ~5 min ios 📦zip
✔️ 9d4d3d2 #14 2024-12-05 04:08:30 ~7 min linux 📦zip
✔️ 9d4d3d2 #14 2024-12-05 04:08:39 ~7 min android 📦aar
✔️ 9d4d3d2 #9 2024-12-05 04:10:00 ~8 min macos 📦zip
✔️ 9d4d3d2 #9 2024-12-05 04:10:33 ~9 min macos 📦zip
✖️ 9d4d3d2 #14 2024-12-05 04:15:11 ~13 min tests 📄log
✖️ bfc565c #15 2024-12-09 11:31:04 ~3 min tests-rpc 📄log
✔️ bfc565c #15 2024-12-09 11:31:22 ~4 min ios 📦zip
✔️ bfc565c #10 2024-12-09 11:31:25 ~4 min windows 📦zip
✔️ bfc565c #15 2024-12-09 11:32:07 ~5 min linux 📦zip
✔️ bfc565c #10 2024-12-09 11:32:24 ~5 min macos 📦zip
✔️ bfc565c #15 2024-12-09 11:34:16 ~7 min android 📦aar
✔️ bfc565c #10 2024-12-09 11:38:32 ~11 min macos 📦zip
✖️ bfc565c #15 2024-12-09 11:38:54 ~11 min tests 📄log
✔️ 584d810 #11 2024-12-12 08:55:55 ~4 min windows 📦zip
✔️ 584d810 #11 2024-12-12 08:56:04 ~4 min macos 📦zip
✔️ 584d810 #16 2024-12-12 08:56:07 ~4 min ios 📦zip
✔️ 584d810 #16 2024-12-12 08:56:41 ~5 min linux 📦zip
✔️ 584d810 #11 2024-12-12 08:56:51 ~5 min macos 📦zip
✔️ 584d810 #16 2024-12-12 08:57:12 ~5 min android 📦aar
✔️ 584d810 #16 2024-12-12 08:57:48 ~6 min tests-rpc 📄log
✖️ 584d810 #16 2024-12-12 09:22:20 ~30 min tests 📄log
✖️ 584d810 #17 2024-12-12 10:07:14 ~30 min tests 📄log
✔️ c4e9180 #12 2024-12-16 15:52:41 ~4 min windows 📦zip
✔️ c4e9180 #12 2024-12-16 15:52:50 ~4 min macos 📦zip
✔️ c4e9180 #17 2024-12-16 15:52:59 ~4 min ios 📦zip
✔️ c4e9180 #17 2024-12-16 15:53:13 ~5 min linux 📦zip
✔️ c4e9180 #12 2024-12-16 15:53:31 ~5 min macos 📦zip
✖️ c4e9180 #17 2024-12-16 15:53:46 ~5 min tests-rpc 📄log
✔️ c4e9180 #17 2024-12-16 15:54:52 ~6 min android 📦aar
✖️ c4e9180 #18 2024-12-16 16:19:24 ~31 min tests 📄log
✔️ e869b07 #13 2024-12-17 05:21:07 ~4 min windows 📦zip
✔️ e869b07 #13 2024-12-17 05:21:17 ~4 min macos 📦zip
✔️ e869b07 #18 2024-12-17 05:21:26 ~4 min ios 📦zip
✔️ e869b07 #13 2024-12-17 05:21:58 ~5 min macos 📦zip
✔️ e869b07 #18 2024-12-17 05:22:01 ~5 min linux 📦zip
✔️ e869b07 #18 2024-12-17 05:22:11 ~5 min android 📦aar
✔️ e869b07 #18 2024-12-17 05:22:34 ~5 min tests-rpc 📄log
✖️ e869b07 #19 2024-12-17 05:46:24 ~29 min tests 📄log
✖️ e869b07 #20 2024-12-18 05:33:42 ~28 min tests 📄log
✔️ f130859 #14 2024-12-18 05:13:48 ~4 min macos 📦zip
✔️ f130859 #19 2024-12-18 05:14:07 ~4 min ios 📦zip
✔️ f130859 #19 2024-12-18 05:14:13 ~5 min linux 📦zip
✔️ f130859 #14 2024-12-18 05:14:29 ~5 min windows 📦zip
✔️ f130859 #19 2024-12-18 05:14:31 ~5 min android 📦aar
✔️ f130859 #14 2024-12-18 05:14:37 ~5 min macos 📦zip
✔️ f130859 #19 2024-12-18 05:14:49 ~5 min tests-rpc 📄log
✖️ f130859 #21 2024-12-18 06:03:54 ~30 min tests 📄log
✔️ 84be201 #15 2024-12-18 06:35:33 ~4 min windows 📦zip
✔️ 84be201 #15 2024-12-18 06:35:51 ~4 min macos 📦zip
✔️ 84be201 #20 2024-12-18 06:36:07 ~4 min ios 📦zip
✔️ 84be201 #20 2024-12-18 06:36:23 ~5 min linux 📦zip
✔️ 84be201 #15 2024-12-18 06:36:31 ~5 min macos 📦zip
✔️ 84be201 #20 2024-12-18 06:36:42 ~5 min android 📦aar
✔️ 84be201 #20 2024-12-18 06:36:54 ~5 min tests-rpc 📄log
✖️ 84be201 #22 2024-12-18 07:00:36 ~29 min tests 📄log
✔️ b1faa0e #16 2024-12-18 10:23:42 ~4 min windows 📦zip
✔️ b1faa0e #16 2024-12-18 10:24:04 ~4 min macos 📦zip
✔️ b1faa0e #21 2024-12-18 10:24:11 ~4 min ios 📦zip
✔️ b1faa0e #16 2024-12-18 10:24:48 ~5 min macos 📦zip
✔️ b1faa0e #21 2024-12-18 10:24:49 ~5 min linux 📦zip
✔️ b1faa0e #21 2024-12-18 10:25:01 ~5 min android 📦aar
✔️ b1faa0e #21 2024-12-18 10:25:24 ~5 min tests-rpc 📄log
✖️ b1faa0e #23 2024-12-18 10:48:47 ~29 min tests 📄log
✖️ c0dcd67 #24 2024-12-18 12:39:46 ~1 min tests 📄log
✔️ c0dcd67 #17 2024-12-18 12:42:34 ~4 min windows 📦zip
✔️ c0dcd67 #17 2024-12-18 12:42:52 ~4 min macos 📦zip
✔️ c0dcd67 #22 2024-12-18 12:43:03 ~4 min ios 📦zip
✔️ c0dcd67 #22 2024-12-18 12:43:36 ~5 min linux 📦zip
✔️ c0dcd67 #17 2024-12-18 12:43:40 ~5 min macos 📦zip
✔️ c0dcd67 #22 2024-12-18 12:43:49 ~5 min android 📦aar
✔️ c0dcd67 #22 2024-12-18 12:44:04 ~5 min tests-rpc 📄log
✖️ 78ca7d5 #25 2024-12-19 09:55:58 ~1 min tests 📄log
✔️ 78ca7d5 #18 2024-12-19 09:58:11 ~3 min macos 📦zip
✔️ 78ca7d5 #23 2024-12-19 09:58:29 ~4 min ios 📦zip
✔️ 78ca7d5 #18 2024-12-19 09:58:35 ~4 min windows 📦zip
✔️ 78ca7d5 #23 2024-12-19 09:58:48 ~4 min linux 📦zip
✔️ 78ca7d5 #18 2024-12-19 09:59:35 ~5 min macos 📦zip
✔️ 78ca7d5 #23 2024-12-19 09:59:45 ~5 min android 📦aar
✔️ 78ca7d5 #23 2024-12-19 10:00:15 ~5 min tests-rpc 📄log
✔️ 8acd482 #19 2024-12-19 10:40:27 ~4 min windows 📦zip
✔️ 8acd482 #19 2024-12-19 10:40:38 ~4 min macos 📦zip
✔️ 8acd482 #24 2024-12-19 10:41:26 ~5 min linux 📦zip
✔️ 8acd482 #19 2024-12-19 10:41:31 ~5 min macos 📦zip
✔️ 8acd482 #24 2024-12-19 10:41:41 ~5 min ios 📦zip
✔️ 8acd482 #24 2024-12-19 10:41:41 ~5 min android 📦aar
✔️ 8acd482 #24 2024-12-19 10:42:02 ~5 min tests-rpc 📄log
✖️ 8acd482 #26 2024-12-19 11:05:41 ~29 min tests 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 12fda16 #20 2024-12-19 16:18:10 ~4 min windows 📦zip
✔️ 12fda16 #20 2024-12-19 16:18:32 ~4 min macos 📦zip
✔️ 12fda16 #25 2024-12-19 16:18:46 ~4 min ios 📦zip
✔️ 12fda16 #25 2024-12-19 16:19:10 ~5 min linux 📦zip
✔️ 12fda16 #20 2024-12-19 16:19:19 ~5 min macos 📦zip
✔️ 12fda16 #25 2024-12-19 16:19:30 ~5 min android 📦aar
✔️ 12fda16 #25 2024-12-19 16:19:41 ~5 min tests-rpc 📄log
✖️ 12fda16 #27 2024-12-19 16:43:48 ~29 min tests 📄log
✔️ d17dcc1 #21 2024-12-20 01:53:17 ~3 min windows 📦zip
✔️ d17dcc1 #26 2024-12-20 01:53:30 ~4 min ios 📦zip
✔️ d17dcc1 #21 2024-12-20 01:53:43 ~4 min macos 📦zip
✔️ d17dcc1 #26 2024-12-20 01:54:23 ~5 min linux 📦zip
✔️ d17dcc1 #21 2024-12-20 01:54:47 ~5 min macos 📦zip
✔️ d17dcc1 #26 2024-12-20 01:54:47 ~5 min android 📦aar
✔️ d17dcc1 #26 2024-12-20 01:55:23 ~6 min tests-rpc 📄log
✔️ d17dcc1 #28 2024-12-20 02:18:34 ~29 min tests 📄log

Copy link

codecov bot commented Oct 18, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 4 lines in your changes missing coverage. Please review.

Project coverage is 61.39%. Comparing base (d291204) to head (d17dcc1).
Report is 2 commits behind head on develop.

Files with missing lines Patch % Lines
wakuv2/waku.go 50.00% 2 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #5964      +/-   ##
===========================================
- Coverage    61.44%   61.39%   -0.06%     
===========================================
  Files          834      834              
  Lines       109919   109925       +6     
===========================================
- Hits         67543    67487      -56     
- Misses       34490    34540      +50     
- Partials      7886     7898      +12     
Flag Coverage Δ
functional 20.67% <50.00%> (-0.02%) ⬇️
unit 59.97% <50.00%> (-0.10%) ⬇️

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

Files with missing lines Coverage Δ
wakuv2/waku.go 68.98% <50.00%> (-0.47%) ⬇️

... and 30 files with indirect coverage changes

@chaitanyaprem chaitanyaprem force-pushed the test/filter-bad-peers branch 3 times, most recently from 1ff9e98 to 9576201 Compare October 24, 2024 10:14
@chaitanyaprem chaitanyaprem force-pushed the test/filter-bad-peers branch 3 times, most recently from c04fe5f to 18469e9 Compare November 29, 2024 05:09
@chaitanyaprem chaitanyaprem requested review from richard-ramos, kaichaosun and igor-sirotin and removed request for richard-ramos November 29, 2024 05:12
@chaitanyaprem chaitanyaprem changed the title fix_: simple bad peer check logic for lightmode fix_: bad peer check logic for lightmode and some fixes Nov 29, 2024
Copy link
Member

@richard-ramos richard-ramos left a comment

Choose a reason for hiding this comment

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

Looks like a good improvement.

@chaitanyaprem chaitanyaprem marked this pull request as ready for review November 30, 2024 03:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants