fix index backfill start epoch - #7480
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
🔗 Linked repositories identifiedCodeRabbit considers these linked repositories for cross-repo context during reviews:
WalkthroughThe offline server backfill now requests one additional tipset so the chain head does not count toward ChangesOffline index backfill
Estimated code review effort: 1 (Trivial) | ~5 minutes Mergeability Score: ⚪ Minimal · up to This localized change corrects the requested number of epochs backfilled below the chain head, with no actionable merge-blocking risk remaining beyond normal checks and review. Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
✨ Simplify code
Comment |
5d5f6d5 to
ec13a64
Compare
ec13a64 to
52684e6
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files
... and 11 files with indirect coverage changes Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
LesnyRumcajs
left a comment
There was a problem hiding this comment.
No existing scripts need to be updated?
No |
Why? Is this feature not used anywhere? |
We use In the test @EclesioMeloJunior is working on, where the backfilled epoch count is exactly what's being tested, he had to compensate with |
So, it this wasteful? Do we need all 200 in practice? |
I'll check whether we need all 200 in practice. We can limit the backfill to what is needed. |
It was increased from |
Summary of changes
Changes introduced in this pull request:
forest-tool api serve --index-backfill-epochs Nnow backfills N epochs below the chain head. Previously the chain head consumed one of the requested epochs, so only N-1 were indexed.Reference issue to close (if applicable)
Closes
Other information and links
Change checklist
Outside contributions
Summary by CodeRabbit
Bug Fixes
Documentation