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: lite-protocol-tester receiver exit check #3187

Merged
merged 8 commits into from
Dec 7, 2024

Conversation

NagyZoltanPeter
Copy link
Contributor

Description

After deployment liteprotocoltester into infra and see running for some days it turned out that in some cases receiver side cannot detect end of test and keeps waiting for more messages.
This PR fixes it with introducing a max time after last message arrived to consider exiting from test loop.

Also valuable information is added to logging and metrics, tested peers and service node failures now distinguished by agent string also. This way dashboard and provide information of node types and versions of erroneous peers.

Copy link

github-actions bot commented Nov 29, 2024

You can find the image built from this PR at

quay.io/wakuorg/nwaku-pr:3187

Built from d8614b7

@gabrielmer gabrielmer self-requested a review November 29, 2024 16:01
Copy link
Contributor

@gabrielmer gabrielmer left a comment

Choose a reason for hiding this comment

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

LGTM, thanks so much! 🤩

Copy link
Collaborator

@Ivansete-status Ivansete-status left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for it! 💯
I just added a couple of nitpick comments:)

Copy link
Contributor

@gabrielmer gabrielmer left a comment

Choose a reason for hiding this comment

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

Thank you!

…ional Moment instead of result - better explains what is happening.
@NagyZoltanPeter NagyZoltanPeter merged commit beb21c7 into master Dec 7, 2024
8 checks passed
@NagyZoltanPeter NagyZoltanPeter deleted the fix-lpt-receiver-exit-check branch December 7, 2024 00:22
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