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

Simple bad peer removal logic for lightclients based on dial failures.
Additional fixes as per waku-org/go-waku#1244

May help improve scenarios such as status-im/status-mobile#21172

@status-im-auto
Copy link
Member

status-im-auto commented Oct 18, 2024

Jenkins Builds

Click to see older builds (62)
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
Commit #️⃣ Finished (UTC) Duration Platform Result
✖️ 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

Copy link

codecov bot commented Oct 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.80%. Comparing base (b329b15) to head (801db12).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #5964      +/-   ##
===========================================
- Coverage    60.88%   60.80%   -0.08%     
===========================================
  Files          811      811              
  Lines       108894   108894              
===========================================
- Hits         66303    66218      -85     
- Misses       34841    34893      +52     
- Partials      7750     7783      +33     
Flag Coverage Δ
functional 13.08% <ø> (+<0.01%) ⬆️
unit 60.16% <ø> (-0.09%) ⬇️

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

see 33 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 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.

3 participants