From 79de86942e2f9a0274df72ff585cb41539b47941 Mon Sep 17 00:00:00 2001 From: manlikeHB Date: Fri, 27 Nov 2026 15:00:06 +0100 Subject: [PATCH] ci: repair ldk-node and postgres integration jobs Upstream drift broke both: - ldk-node@a0b9593 requires BITCOIND_EXE/ELECTRS_EXE to be set, so download the test binaries before running its integration tests. - postgres:latest moved to 19, which fails supports_objects_up_to_non_large_object_threshold; pin to 18. --- .github/workflows/implementation-tests.yml | 2 +- .github/workflows/ldk-node-integration-tests.yml | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/implementation-tests.yml b/.github/workflows/implementation-tests.yml index 10a8919..9fb87a0 100644 --- a/.github/workflows/implementation-tests.yml +++ b/.github/workflows/implementation-tests.yml @@ -25,7 +25,7 @@ jobs: services: postgres: - image: postgres:latest + image: postgres:18 ports: - 5432:5432 env: diff --git a/.github/workflows/ldk-node-integration-tests.yml b/.github/workflows/ldk-node-integration-tests.yml index 97776b5..c12a6d7 100644 --- a/.github/workflows/ldk-node-integration-tests.yml +++ b/.github/workflows/ldk-node-integration-tests.yml @@ -66,6 +66,16 @@ jobs: run: | cd ldk-node cargo update -p idna_adapter --precise "1.2.0" --verbose # idna_adapter 1.2.1 uses ICU4X 2.2.0, requiring 1.86 and newer + - name: Download bitcoind/electrs test binaries + run: | + # `integration_tests_vss` requires `BITCOIND_EXE`/`ELECTRS_EXE` to be set. ldk-node's + # script downloads them into a temp dir that it deletes on exit, so copy them out first. + source ./ldk-node/scripts/download_bitcoind_electrs.sh + mkdir -p bin + mv "$BITCOIND_EXE" bin/bitcoind + mv "$ELECTRS_EXE" bin/electrs + echo "BITCOIND_EXE=$(pwd)/bin/bitcoind" >> "$GITHUB_ENV" + echo "ELECTRS_EXE=$(pwd)/bin/electrs" >> "$GITHUB_ENV" - name: Run LDK Node Integration tests run: | cd ldk-node