Skip to content

Conversation

guggero
Copy link
Collaborator

@guggero guggero commented Oct 8, 2025

This PR adds a docker compose based integration test framework that first spins up a couple of nodes, creates channels with some payments then uses that node state for running Golang based integration tests.

Currently we test the three most popular commands:

  • sweepremoteclosed: Sweep funds from previously remotely force closed channels, supports LND and CLN.
  • triggerforceclose: Attempt to trigger a force close by connecting to the channel peer, supports LND and CLN.
  • zombierecovery: Cooperatively close zombie channels using PSBTs, supports LND and CLN.

This PR also fixes an issue with triggerforceclose itself that caused the command to not always work for CLN peers.

cc @ziggie1984, @starius, @bitromortac

@guggero guggero mentioned this pull request Oct 8, 2025
This commit fixes two issues:
1. Some new peer related config values weren't set, leading to an error.
2. Triggering the force close with a CLN node can be timing-sensitive.
   It appears that trying both methods independently directly after
   connecting yields the most reliable result.
@lightninglabs-deploy
Copy link

@ziggie1984: review reminder

@guggero guggero merged commit e9dba25 into lightninglabs:master Oct 21, 2025
3 checks passed
@guggero guggero deleted the itest branch October 21, 2025 08:37
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.

2 participants