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

feat(eventsyncing): health calls check last seen block distance #1978

Merged
merged 21 commits into from
Jan 14, 2025

Conversation

anatolie-ssv
Copy link
Contributor

@anatolie-ssv anatolie-ssv commented Jan 9, 2025

Enhance event syncer component to verify the distance between lastProceessedBlock time against a staleness threshold during Health checks.

@anatolie-ssv anatolie-ssv changed the base branch from main to stage January 9, 2025 17:11
anatolie-ssv and others added 3 commits January 10, 2025 11:19
Co-authored-by: Matus Kysel <MatusKysel@users.noreply.github.com>
Copy link

codecov bot commented Jan 10, 2025

Codecov Report

Attention: Patch coverage is 56.66667% with 13 lines in your changes missing coverage. Please review.

Project coverage is 46.7%. Comparing base (7d19f37) to head (1cb824e).
Report is 3 commits behind head on stage.

Files with missing lines Patch % Lines
eth/executionclient/execution_client.go 47.0% 9 Missing ⚠️
eth/eventsyncer/event_syncer.go 69.2% 3 Missing and 1 partial ⚠️
Additional details and impacted files

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

anatolie-ssv and others added 4 commits January 10, 2025 09:46
Co-authored-by: Matus Kysel <MatusKysel@users.noreply.github.com>
Co-authored-by: Matus Kysel <MatusKysel@users.noreply.github.com>
Copy link
Contributor

@MatusKysel MatusKysel left a comment

Choose a reason for hiding this comment

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

👍

@anatolie-ssv anatolie-ssv force-pushed the feat/eventsyncing-health branch from a58d2c9 to b3c18d3 Compare January 13, 2025 12:33
@y0sher
Copy link
Contributor

y0sher commented Jan 13, 2025

Please add some description 🙏

eth/executionclient/logs.go Outdated Show resolved Hide resolved
Copy link
Contributor

@y0sher y0sher left a comment

Choose a reason for hiding this comment

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

small comments

Copy link
Contributor

@moshe-blox moshe-blox left a comment

Choose a reason for hiding this comment

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

LGTM, well done! 💪

@anatolie-ssv Let's make sure to sync @andrew-blox and @Roy-blox on what to look for when testing this, for example: syncing a cluster from scratch.

@anatolie-ssv anatolie-ssv merged commit 1d90a85 into stage Jan 14, 2025
7 checks passed
@anatolie-ssv anatolie-ssv deleted the feat/eventsyncing-health branch January 14, 2025 09:31
oleg-ssvlabs pushed a commit that referenced this pull request Jan 20, 2025
Co-authored-by: Matus Kysel <matus@ssvlabs.io>
Co-authored-by: rehs0y <lyosher@gmail.com>
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.

4 participants