Skip to content

Correct post-update action comment on claims from closed chans #3985

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

TheBlueMatt
Copy link
Collaborator

Before e938ed7 and 41f703c, when we had a payment preimage for a claim which needed to go to a closed channel, we'd always run the post-ChannelMonitorUpdate completion action immediately as we didn't actually track async
ChannelMonitorUpdates to closed channels. Since those commits we do, but the comment noting the completion action processing was not updated.

Thus, here we update the comment, for the easiest close on a major feature issue ever.

Fixes #2355.

Before e938ed7 and
41f703c, when we had a payment
preimage for a claim which needed to go to a closed channel, we'd
always run the post-`ChannelMonitorUpdate` completion action
immediately as we didn't actually track async
`ChannelMonitorUpdate`s to closed channels. Since those commits we
do, but the comment noting the completion action processing was not
updated.

Thus, here we update the comment, for the easiest close on a major
feature issue ever.

Fixes lightningdevkit#2355.
@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Aug 2, 2025

I've assigned @valentinewallace 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 2, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.93%. Comparing base (61e5819) to head (a18b2c9).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3985      +/-   ##
==========================================
- Coverage   88.94%   88.93%   -0.02%     
==========================================
  Files         174      174              
  Lines      124201   124201              
  Branches   124201   124201              
==========================================
- Hits       110472   110459      -13     
- Misses      11251    11261      +10     
- Partials     2478     2481       +3     
Flag Coverage Δ
fuzzing 22.63% <ø> (ø)
tests 88.76% <ø> (-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.

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.

Stop completing monitor udpate completion actions when claiming on a closed channel
2 participants