Skip to content

Trivial 3997 followups #4000

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 11, 2025

Conversation

TheBlueMatt
Copy link
Collaborator

@TheBlueMatt TheBlueMatt commented Aug 8, 2025

The second commit may break the linting CI job again, but its a clippy issue we shouldn't be working around it with bogus allows in the code.

@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Aug 8, 2025

I've assigned @joostjager 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.

Copy link

codecov bot commented Aug 8, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.95%. Comparing base (192618b) to head (7fba8fc).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4000      +/-   ##
==========================================
+ Coverage   88.93%   88.95%   +0.01%     
==========================================
  Files         174      174              
  Lines      124593   124562      -31     
  Branches   124593   124562      -31     
==========================================
- Hits       110813   110803      -10     
+ Misses      11283    11263      -20     
+ Partials     2497     2496       -1     
Flag Coverage Δ
fuzzing 22.18% <ø> (ø)
tests 88.78% <ø> (+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

@valentinewallace valentinewallace left a comment

Choose a reason for hiding this comment

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

CI is sad

The `Keys` struct is only used when building with
`ldk_test_vectors` and thus should be gated on it, rather than
being marked `#[allow(unused)]`.
This reverts commit 42ea2e9.

The commit spuriously concluded that the unused import warnings
were due to trait use in macros, but actually they were all used in
normal code, not in macros. This appears to simply be a clippy bug
where it treats `as _` as indication that an import is unused, even
though such imports are useful for importing traits that do not
need to be referenced by name.
@TheBlueMatt TheBlueMatt force-pushed the 2025-08-3997-followups branch from cf04c96 to 7fba8fc Compare August 9, 2025 21:04
@ldk-reviews-bot
Copy link

🔔 1st Reminder

Hey @joostjager! This PR has been waiting for your review.
Please take a look when you have a chance. If you're unable to review, please let us know so we can find another reviewer.

@TheBlueMatt
Copy link
Collaborator Author

Trivial-enough.

@TheBlueMatt TheBlueMatt merged commit c475db5 into lightningdevkit:main Aug 11, 2025
42 of 44 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.

4 participants