Skip to content

Fix flaky never-recorded-facts close test - #1235

Merged
tankyleo merged 1 commit into
lightningdevkit:mainfrom
jkczyz:2026-11-close-classified-flake
Nov 13, 2026
Merged

tankyleo merged 1 commit into
lightningdevkit:mainfrom
jkczyz:2026-11-close-classified-flake

Conversation

@jkczyz

@jkczyz jkczyz commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

a_close_is_classified_for_a_channel_whose_facts_were_never_recorded restarts node_a, reconnects the peers, and immediately calls close_channel. If channel reestablish has not completed yet, LDK rejects the close and the test panics with ChannelClosingFailed, as seen on the macOS CI leg. Wait for the channel to report is_usable after reconnecting before closing.

AI tooling (Claude Code) was used to diagnose and fix this test.

a_close_is_classified_for_a_channel_whose_facts_were_never_recorded
restarts node_a, reconnects the peers, and immediately calls
close_channel. If channel reestablish has not completed yet, LDK
rejects the close and the test panics with ChannelClosingFailed, as
seen on the macOS CI leg. Wait for the channel to report is_usable
after reconnecting before closing.

AI tooling (Claude Code) was used to diagnose and fix this test.

Co-Authored-By: Claude Fable 5 <[email protected]>
@ldk-reviews-bot

ldk-reviews-bot commented Nov 13, 2026 •

Copy link
Copy Markdown

👋 Thanks for assigning @tankyleo 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.

@jkczyz
jkczyz requested a review from tankyleo November 13, 2026 03:59
@tankyleo
tankyleo merged commit c9ead4e into lightningdevkit:main Nov 13, 2026
17 of 27 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