Skip to content

feat: design and scaffold backfilling plugin#109

Merged
georgi-l95 merged 10 commits intomainfrom
70-design-and-scaffold-backfilling-plugin1
Aug 26, 2025
Merged

feat: design and scaffold backfilling plugin#109
georgi-l95 merged 10 commits intomainfrom
70-design-and-scaffold-backfilling-plugin1

Conversation

@georgi-l95
Copy link
Copy Markdown
Contributor

@georgi-l95 georgi-l95 commented Aug 18, 2025

Description

This PR adds new backfill plugin, which works in two main configurations: Backfill or Continuous.

  • Backfill means that it works as a secondary source of blocks with main purpose to fill gaps
  • Continuous is a mode, which will be mainly used by Tier 2 operators, because this way, it rock-node will consume blocks mainly from a list of other block-nodes.

Related Issues

Reviewer Checklist

  • The code follows the project's coding standards.
  • New and existing unit tests pass locally with my changes.
  • I have added necessary documentation (if applicable).
  • I have confirmed that this change does not introduce any new security vulnerabilities.

Signed-off-by: georgi-l95 <glazarov95@gmail.com>
Signed-off-by: georgi-l95 <glazarov95@gmail.com>
Signed-off-by: georgi-l95 <glazarov95@gmail.com>
@georgi-l95 georgi-l95 added this to the 0.2.0 milestone Aug 18, 2025
@georgi-l95 georgi-l95 self-assigned this Aug 18, 2025
@georgi-l95 georgi-l95 added the plugin: backfill Related to Backfill Plugin label Aug 18, 2025
@georgi-l95 georgi-l95 linked an issue Aug 18, 2025 that may be closed by this pull request
Signed-off-by: georgi-l95 <glazarov95@gmail.com>
Signed-off-by: georgi-l95 <glazarov95@gmail.com>
@codecov
Copy link
Copy Markdown

codecov bot commented Aug 18, 2025

Codecov Report

❌ Patch coverage is 89.63039% with 101 lines in your changes missing coverage. Please review.
✅ Project coverage is 68.02%. Comparing base (50fd815) to head (144dd54).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
crates/rock-node-backfill-plugin/src/worker.rs 84.49% 58 Missing ⚠️
crates/rock-node-backfill-plugin/src/lib.rs 89.43% 26 Missing ⚠️
crates/rock-node-persistence-plugin/src/service.rs 81.48% 15 Missing ⚠️
app/rock-node/src/main.rs 0.00% 1 Missing ⚠️
crates/rock-node-persistence-plugin/src/lib.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #109      +/-   ##
==========================================
+ Coverage   64.80%   68.02%   +3.22%     
==========================================
  Files          47       50       +3     
  Lines        6444     7350     +906     
==========================================
+ Hits         4176     5000     +824     
- Misses       2268     2350      +82     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Signed-off-by: georgi-l95 <glazarov95@gmail.com>
Signed-off-by: georgi-l95 <glazarov95@gmail.com>
Signed-off-by: georgi-l95 <glazarov95@gmail.com>
Signed-off-by: georgi-l95 <glazarov95@gmail.com>
Signed-off-by: georgi-l95 <glazarov95@gmail.com>
@georgi-l95 georgi-l95 marked this pull request as ready for review August 26, 2025 10:05
@georgi-l95 georgi-l95 merged commit c111309 into main Aug 26, 2025
5 checks passed
@georgi-l95 georgi-l95 deleted the 70-design-and-scaffold-backfilling-plugin1 branch August 26, 2025 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

plugin: backfill Related to Backfill Plugin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Design and Scaffold Backfilling Plugin

1 participant