Skip to content

PaginatedKVStore follow ups#4447

Merged
TheBlueMatt merged 2 commits intolightningdevkit:mainfrom
benthecarman:paginated-follow-ups
Feb 26, 2026
Merged

PaginatedKVStore follow ups#4447
TheBlueMatt merged 2 commits intolightningdevkit:mainfrom
benthecarman:paginated-follow-ups

Conversation

@benthecarman
Copy link
Contributor

@benthecarman benthecarman commented Feb 25, 2026

Previously, all fs::metadata errors were silently ignored via .ok(), which could hide permission or I/O errors. Now errors are properly handled.

Also removes unnecessary clones that were done for constructing the page token

@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Feb 25, 2026

👋 Thanks for assigning @TheBlueMatt as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

Previously, all fs::metadata errors were silently ignored via .ok(),
which could hide permission or I/O errors. Now error are properly
handled.
Copy link
Collaborator

@TheBlueMatt TheBlueMatt left a comment

Choose a reason for hiding this comment

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

trivial, thanks.

@ldk-reviews-bot
Copy link

👋 The first review has been submitted!

Do you think this PR is ready for a second reviewer? If so, click here to assign a second reviewer.

@codecov
Copy link

codecov bot commented Feb 25, 2026

Codecov Report

❌ Patch coverage is 60.00000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.96%. Comparing base (14e522f) to head (0723ffd).
⚠️ Report is 10 commits behind head on main.

Files with missing lines Patch % Lines
lightning-persister/src/fs_store/common.rs 50.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4447      +/-   ##
==========================================
+ Coverage   85.94%   85.96%   +0.02%     
==========================================
  Files         159      159              
  Lines      104644   104647       +3     
  Branches   104644   104647       +3     
==========================================
+ Hits        89934    89958      +24     
+ Misses      12204    12181      -23     
- Partials     2506     2508       +2     
Flag Coverage Δ
tests 85.96% <60.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

@TheBlueMatt TheBlueMatt merged commit ec03159 into lightningdevkit:main Feb 26, 2026
22 checks passed
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