Skip to content

Drop unnecessary strict feature from lightning-invoice #3183

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 1 commit into from
Jul 16, 2024

Conversation

TheBlueMatt
Copy link
Collaborator

99aa6e2 detected that we had an undefined feature in lightning-invoice called strict, which was used to turn on deny(warnings). It resolved that by adding the feature to the Cargo.toml, but we actually don't need it - our CI already builds with -Dwarnings, so any warnings should be rejected during CI and there's not a lot of value in having a (public) feature to do the same.

99aa6e2 detected that we had an
undefined feature in `lightning-invoice` called `strict`, which was
used to turn on `deny(warnings)`. It resolved that by adding the
feature to the `Cargo.toml`, but we actually don't need it - our CI
already builds with `-Dwarnings`, so any warnings should be
rejected during CI and there's not a lot of value in having a
(public) feature to do the same.
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.78%. Comparing base (ddb40bd) to head (e0f7974).
Report is 2 commits behind head on main.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3183      +/-   ##
==========================================
+ Coverage   89.76%   89.78%   +0.01%     
==========================================
  Files         121      121              
  Lines      100402   100402              
  Branches   100402   100402              
==========================================
+ Hits        90128    90148      +20     
+ Misses       7591     7575      -16     
+ Partials     2683     2679       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

LGTM, will land as it seems trivial.

@tnull
Copy link
Contributor

tnull commented Jul 16, 2024

Turns out I can't land this as the check_release job didn't pass.

@TheBlueMatt
Copy link
Collaborator Author

Looks like CI had failed to start, which was considered a "failure" even though it didn't even try it...Kicked it and it passed

@TheBlueMatt TheBlueMatt merged commit 6e73c37 into lightningdevkit:main Jul 16, 2024
16 of 17 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