Skip to content

Conversation

@TheBlueMatt
Copy link
Collaborator

LSPS5ServiceEvent::SendWebhookNotification's docs say to send the WebhookNotification as the HTTP request body "as JSON", which is great, but it leaves the dev to figure out how to do that. Its nice to have a helper to do that, which is trivial so we provide it here.

@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Jan 1, 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.

@tnull tnull requested review from tnull and removed request for joostjager January 1, 2026 18:32
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, one nit.

@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 Jan 1, 2026

Codecov Report

❌ Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.55%. Comparing base (62c5849) to head (c06aa96).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
lightning-liquidity/src/lsps5/msgs.rs 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4295      +/-   ##
==========================================
- Coverage   89.38%   86.55%   -2.83%     
==========================================
  Files         180      158      -22     
  Lines      139834   101824   -38010     
  Branches   139834   101824   -38010     
==========================================
- Hits       124985    88130   -36855     
+ Misses      12262    11275     -987     
+ Partials     2587     2419     -168     
Flag Coverage Δ
fuzzing 36.18% <0.00%> (+0.97%) ⬆️
tests 85.85% <0.00%> (-2.87%) ⬇️

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.

`LSPS5ServiceEvent::SendWebhookNotification`'s docs say to send the
`WebhookNotification` as the HTTP request body "as JSON", which is
great, but it leaves the dev to figure out how to do that. Its nice
to have a helper to do that, which is trivial so we provide it
here.
@TheBlueMatt TheBlueMatt force-pushed the 2025-12-lsps5-auto-serialize branch from 9c1fa43 to c06aa96 Compare January 5, 2026 16:53
@TheBlueMatt TheBlueMatt requested a review from tnull January 5, 2026 16:53
@tnull tnull merged commit f036788 into lightningdevkit:main Jan 5, 2026
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