Skip to content

Conversation

@TheBlueMatt
Copy link
Collaborator

We expect callers of handle_post_event_actions to hold a read lock on total_consistency_lock, and found that we forgot it in process_pending_events until recently. Here we add a relevant assertion to avoid such issues in the future.

@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Jan 21, 2026

👋 I see @joostjager was un-assigned.
If you'd like another reviewer assignment, please click here.

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.

Needs rustfmt CI fix

@codecov
Copy link

codecov bot commented Jan 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.53%. Comparing base (7785360) to head (8bdd1fa).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4329   +/-   ##
=======================================
  Coverage   86.53%   86.53%           
=======================================
  Files         158      158           
  Lines      103188   103190    +2     
  Branches   103188   103190    +2     
=======================================
+ Hits        89292    89300    +8     
+ Misses      11471    11469    -2     
+ Partials     2425     2421    -4     
Flag Coverage Δ
fuzzing 37.06% <0.00%> (-0.01%) ⬇️
tests 85.83% <100.00%> (+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.

We expect callers of `handle_post_event_actions` to hold a read
lock on `total_consistency_lock`, and found that we forgot it in
`process_pending_events` until recently. Here we add a relevant
assertion to avoid such issues in the future.
@TheBlueMatt TheBlueMatt force-pushed the 2026-01-actions-lock-assert branch from 5461ac6 to 8bdd1fa Compare January 21, 2026 17:36
@TheBlueMatt TheBlueMatt requested review from valentinewallace and removed request for joostjager January 21, 2026 17:36
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 failure looks unrelated

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

@wpaulino wpaulino merged commit 8cdc86a into lightningdevkit:main Jan 22, 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.

4 participants