Repository navigation
ci: run the wireguard-lndconnect scenario - #106
Merged
Merged
Conversation
CI ran only the default, netns and netnsRegtest scenarios, a budget inherited from upstream. The WireGuard preset's firewall rules had VM tests but no CI coverage, so every change to the preset needed a local VM run. Add wireguard-lndconnect to the test_scenario matrix. test/ci/test-info.nix reads the scenario names from that matrix, so build_test_drivers now evals and builds its driver too, and the "already built" check in build_test_drivers.sh and build-to-cachix.sh covers it like the others. ci_gate already depends on test_scenario and needs no change.
This was referenced Oct 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #61.
What this changes
.github/workflows/test.yml:wireguard-lndconnectjoins thetest_scenariomatrix. One line.What I checked
test/ci/test-info.nixreads the scenario names from the matrix with a regex. On a clean clone,nix eval --raw .#ciTestInfolists the WireGuard driver as the fourth entry, sobuild_test_driversevals and builds it with the others.build_test_drivers.shandbuild-to-cachix.shwork on the store paths that eval returns, so they cover the new scenario with no script change. The Cachix push does too.ci_gatealready depends ontest_scenario. No change.Runs on GitHub-hosted runners
I ran the workflow in my fork, which has no Cachix key, so every job built and ran its VM test on the runner. KVM worked with the scenario's two VMs.
test_scenario (wireguard-lndconnect)All six subtests passed each time, including the two from #61. Inside the job, the VM test script itself takes about 45 s. The rest is checkout, Nix install and the driver fetch. For comparison, in the same runs
defaulttook 3 min 30 s,netnsRegtest4 min 22 s andnetns5 min 42 s.build_test_driverstook 1 min 16 s with the fourth driver, the same as upstream's run today without it.Other scenarios
A fork-only run with every buildable scenario in the matrix, all green:
lndPrunedwireguard-lndconnecttrustedcoinclightning-replicationnetnssecureNoderegtesthardenedfullbuild_test_driverstook 3 min 3 s with twelve drivers. The matrix jobs run in parallel, so the wall clock of a run is set by the slowest job, about six minutes either way.clightning-replication,lndPrunedandtrustedcoinare as cheap as the WireGuard one if you want them.Models used on this PR: Fable 5.1 for the change. GPT-6 Astra (xhigh) reviewed the diff. It confirmed the four points above, found no problem in the wiring, and corrected one sentence in the commit message, which said the firewall rules had no coverage at all rather than no CI coverage. DeepSeek V4.1 Flash 1017 (max) and GLM 5.3 (max) reviewed the tree. Their one finding in the workflow is the Cachix signing key in pull request runs, which predates this PR and is now #107.