Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Add AutoChannelOpen e2e and fix flaky/hanging e2e suite - #619

Draft
markettes wants to merge 2 commits into
feat/node-ui-configfrom
feat/auto-channel-opening-e2e
Draft

markettes wants to merge 2 commits into
feat/node-ui-configfrom
feat/auto-channel-opening-e2e

Conversation

@markettes

Copy link
Copy Markdown
Contributor
  • Adds AutoChannelOpenE2ETests. Bob's forwards to a drained peer get refused, and the test checks the recommendation, the promoted request, and the new Bob→Carol channel opening at the fee bob already charges carol (about 26 s).
  • Fixes two races. AutoChannelOpen now mines before enabling Auto and waits for a request that hasn't failed. HtlcSubscriptionReconnect keeps forwarding until NodeGuard has resubscribed after bob's restart.
  • Stops runs that hang for hours: the runner now has --blame-hang-timeout 15m, and the unbounded lncli retry in setup-e2e.sh is capped.
  • Fixes the swapped log arguments in LightningService.GenerateTemplatePSBT.

Stack created with GitHub Stacks CLI • Give Feedback 💬

@markettes
markettes added this pull request to stack #617 October 2, 2026 14:58
@markettes
markettes requested a review from Jossec101 October 2, 2026 14:59
@markettes
markettes force-pushed the feat/auto-channel-opening-e2e branch from 6f38b3e to b561ca5 Compare October 5, 2026 18:11

@lunar-patrol lunar-patrol Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔒 Automated security review — no issues found

This PR is e2e/CI infrastructure: a new AutoChannelOpen e2e test class, a capped lncli retry loop in the regtest setup script, a --blame-hang-timeout on the test runner, test-only AUTO_CHANNEL_OPEN_* env wiring, and a one-line fix to swapped structured-logging arguments in LightningService.GenerateTemplatePSBT (verified the new order matches the log template). None of it touches a production trust boundary — the docker.sock mounts and committed regtest credentials in the compose file are pre-existing context, not added here — and I could not construct an attacker/controlled-input/gain chain for any changed line.

Reviewed 10 files at b561ca5. Nothing to report.

Not a guarantee — one diff, no knowledge of your threat model.

🤖 Automated security review. It never pushes, approves or blocks; a suggestion applies only when you click Commit suggestion.

@markettes markettes assigned markettes and unassigned markettes Nov 25, 2026
@markettes
markettes marked this pull request as draft November 25, 2026 12:10

This branch has not been deployed

No deployments
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.

1 participant