Skip to content

Skip non-key entries in list_paginated#4456

Merged
TheBlueMatt merged 1 commit intolightningdevkit:mainfrom
benthecarman:paginated-follow-ups2
Mar 3, 2026
Merged

Skip non-key entries in list_paginated#4456
TheBlueMatt merged 1 commit intolightningdevkit:mainfrom
benthecarman:paginated-follow-ups2

Conversation

@benthecarman
Copy link
Contributor

Use dir_entry_is_key in list_paginated_impl to skip .tmp files, directories, and other non-key entries, to be the same as list_impl.

Claude added a test for this as well.

Closes #4455

@benthecarman benthecarman requested a review from tnull March 2, 2026 20:29
@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Mar 2, 2026

👋 Thanks for assigning @tnull 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.

Use dir_entry_is_key in list_paginated_impl to skip .tmp files,
directories, and other non-key entries, to be the same as list_impl.

Claude added a test for this as well.
@benthecarman benthecarman force-pushed the paginated-follow-ups2 branch from 0b085d2 to 1545ad5 Compare March 2, 2026 23:58
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.

easy enough, thanks. landing.

@TheBlueMatt TheBlueMatt merged commit 90b79e4 into lightningdevkit:main Mar 3, 2026
19 checks passed
@benthecarman benthecarman deleted the paginated-follow-ups2 branch March 3, 2026 01:39
@codecov
Copy link

codecov bot commented Mar 3, 2026

Codecov Report

❌ Patch coverage is 95.23810% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 85.96%. Comparing base (b1e2be0) to head (1545ad5).
⚠️ Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
lightning-persister/src/fs_store/v2.rs 95.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4456      +/-   ##
==========================================
+ Coverage   85.95%   85.96%   +0.01%     
==========================================
  Files         159      159              
  Lines      104694   104714      +20     
  Branches   104694   104714      +20     
==========================================
+ Hits        89987    90016      +29     
+ Misses      12204    12194      -10     
- Partials     2503     2504       +1     
Flag Coverage Δ
tests 85.96% <95.23%> (+0.01%) ⬆️

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.

Copy link
Contributor

@tnull tnull left a comment

Choose a reason for hiding this comment

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

Post-merge ACK

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.

Second round of follow-ups to #4347

4 participants