Skip to content

Conversation

@TheBlueMatt
Copy link
Collaborator

proptest's transitive dependency tree has always been somewhat large, but one of them (rusty-fork's tempfile dependency) just went ahead with a bump of their rand dependency, breaking our MSRV yet again.

Because we don't actually use proptest for anything interesting, the simplest solution is to simply drop it, which we do here. Note that we'll likely transition the LSPS5 URL type to simply use the bitreq URL type over the next few days anyway, so there's not much reason to care about its continued test coverage.

@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Feb 10, 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.

@TheBlueMatt TheBlueMatt force-pushed the 2026-02-fix-msrv branch 2 times, most recently from db91d4e to bcd1a32 Compare February 10, 2026 01:15
`proptest`'s transitive dependency tree has always been somewhat
large, but one of them (`rusty-fork`'s `tempfile` dependency) just
went ahead with a bump of their `rand` dependency, breaking our
MSRV yet again.

Because we don't actually use `proptest` for anything interesting,
the simplest solution is to simply drop it, which we do here. Note
that we'll likely transition the LSPS5 URL type to simply use the
`bitreq` URL type over the next few days anyway, so there's not
much reason to care about its continued test coverage.

Further, in writing this commit it was discovered that our tests in
`lsps2/utils.rs` were actually broken on the vast majority of
inputs, but proptest wasn't testing with any interesting test cases
at all, causing it to be missed entirely!
5427b0d changed the
`lightning-types` API but we forgot to bump the crate version to
make semver tests pass.
@codecov
Copy link

codecov bot commented Feb 10, 2026

Codecov Report

❌ Patch coverage is 25.00000% with 27 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.03%. Comparing base (927edf1) to head (4deb2f7).
⚠️ Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
lightning-liquidity/src/lsps2/service.rs 22.85% 26 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4406      +/-   ##
==========================================
- Coverage   86.05%   86.03%   -0.02%     
==========================================
  Files         156      156              
  Lines      103188   103141      -47     
  Branches   103188   103141      -47     
==========================================
- Hits        88799    88739      -60     
- Misses      11878    11890      +12     
- Partials     2511     2512       +1     
Flag Coverage Δ
tests 86.03% <25.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.

@tnull tnull requested review from tnull and removed request for tankyleo February 10, 2026 10:15
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.

Okay, fine, I give you this one ;)

No, really, while I maintain that there are cases to choose proptests over fuzzing, this change looks reasonable to me. Going ahead landing this.

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

@tnull tnull merged commit c2eb68f into lightningdevkit:main Feb 10, 2026
20 of 21 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