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: bump status-go with filter improvements #15061

Closed
wants to merge 6 commits into from

Conversation

chaitanyaprem
Copy link
Collaborator

@chaitanyaprem chaitanyaprem commented Jun 5, 2024

What does the PR do

Improved lightClient functionality especially fixing issues around Waku-Filter protocol usage and optimizing how filter subscriptions are managed and Filter ping occurs with service node.
Still some optimizations and additional work is pending wrt light client reliability, but this PR brings Filter to a hopefully decent stage(without any major issues) before proceeding with further changes.

Note that if you are subscribed to status community, there would be a lot of filter subscriptions. This still needs optimization which is pending. Anyways, number of subscriptions would help test nwaku node as well to handle soo may :)

Note that to reduce issues with lightClient(by not connecting to other desktop instances), this build only uses fleet nodes and does not do any discovery via peerExchange.

Relevant status-go PR status-im/status-go#4665

Affected areas

LightMode functionality

How to test

Note to enable debug logs while testing.

  • Enable lightMode is desktop from Advanced Settings
  • Login normally, and make sure you got some peers connected in the node management tab
  • Run tests by being part of community , 1:1 chats, private group chats etc
  • Disconnect your machine from the internet, wait until the peer count goes to 0. You should see following log in geth.log
going offline, removing all filter subscriptions
  • Connect to the internet, you should see the following log line in geth.log:
  • You should reconnect to some peers.
  • Test reception of messages on 1:1 chat, groups and community
  • Leave it running, let your machine go to sleep and wake-up etc and ensure no issues in send/receive messages

In case of any issue please report along with debug logs via DM or as a comment in this PR itself.

@status-im-auto
Copy link
Member

status-im-auto commented Jun 5, 2024

Jenkins Builds

Click to see older builds (20)
Commit #️⃣ Finished (UTC) Duration Platform Result
2e29d74 #1 2024-06-05 14:27:12 ~5 min macos/x86_64 📄log
✔️ 2e29d74 #1 2024-06-05 14:28:25 ~6 min tests/nim 📄log
✔️ 2e29d74 #1 2024-06-05 14:29:29 ~7 min macos/aarch64 🍎dmg
✔️ 2e29d74 #1 2024-06-05 14:33:46 ~12 min tests/ui 📄log
✔️ 2e29d74 #1 2024-06-05 14:37:16 ~15 min linux/x86_64 📦tgz
✔️ 2e29d74 #1 2024-06-05 14:55:53 ~34 min windows/x86_64 💿exe
0cb3e76 #2 2024-06-05 15:08:03 ~1 min macos/aarch64 📄log
0cb3e76 #2 2024-06-05 15:11:09 ~4 min linux/x86_64 📄log
f018044 #3 2024-06-05 15:17:38 ~6 min linux/x86_64 📄log
✔️ f018044 #3 2024-06-05 15:17:57 ~6 min tests/nim 📄log
✔️ f018044 #3 2024-06-05 15:20:26 ~8 min macos/aarch64 🍎dmg
✔️ f018044 #3 2024-06-05 15:22:37 ~11 min macos/x86_64 🍎dmg
✔️ f018044 #3 2024-06-05 15:25:08 ~13 min tests/ui 📄log
✔️ f018044 #3 2024-06-05 15:36:10 ~24 min windows/x86_64 💿exe
8f6d92b #4 2024-06-07 11:43:25 ~4 min linux/x86_64 📄log
✔️ 8f6d92b #4 2024-06-07 11:43:47 ~5 min macos/aarch64 🍎dmg
✔️ 8f6d92b #4 2024-06-07 11:46:01 ~7 min tests/nim 📄log
✔️ 8f6d92b #4 2024-06-07 11:47:18 ~8 min macos/x86_64 🍎dmg
✔️ 8f6d92b #4 2024-06-07 11:51:06 ~12 min tests/ui 📄log
8f6d92b #4 2024-06-07 11:51:26 ~12 min windows/x86_64 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
2293594 #5 2024-06-07 12:16:00 ~3 min macos/aarch64 📄log
2293594 #5 2024-06-07 12:16:13 ~3 min linux/x86_64 📄log
✔️ 6467f23 #6 2024-06-07 12:25:52 ~6 min macos/aarch64 🍎dmg
✔️ 6467f23 #6 2024-06-07 12:26:51 ~7 min tests/nim 📄log
✔️ 6467f23 #6 2024-06-07 12:33:21 ~14 min tests/ui 📄log
✔️ 6467f23 #6 2024-06-07 12:34:23 ~15 min macos/x86_64 🍎dmg
✔️ 6467f23 #6 2024-06-07 12:35:07 ~16 min linux/x86_64 📦tgz
✔️ 6467f23 #6 2024-06-07 12:53:22 ~34 min windows/x86_64 💿exe

@chaitanyaprem chaitanyaprem marked this pull request as ready for review June 5, 2024 15:07
@chaitanyaprem
Copy link
Collaborator Author

Closing this PR as it is only meant as dogfooding for filter which is complete (using only fleet nodes) and linked status-go PR status-im/status-go#4665 is merged.
Dogfooding of lightClient by trying to connect to other peers is pending and will be tracked separately.

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.

2 participants