What changed, and why it matters
This commit fixes a YAML syntax error in two test docker-compose files. Trailing commas after environment variable values were removed in one file, and a missing environment variable was added in the other. This is purely a build/test configuration fix with no security relevance.
No security action needed. Treat as routine build/test maintenance.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff corrects malformed environment variable declarations in BTCPayServer.Tests/docker-compose.yml by removing trailing commas from TESTS_INCONTAINER and PLAYWRIGHT_HEADLESS values, and adds the missing PLAYWRIGHT_HEADLESS: ‘true’ setting to docker-compose.altcoins.yml. These are Docker Compose YAML syntax fixes to restore the test container build.
Changed components
BTCPayServer.Tests/docker-compose.ymlBTCPayServer.Tests/docker-compose.altcoins.ymlInspect captured patch +3 / −2
diff --git a/BTCPayServer.Tests/docker-compose.altcoins.yml b/BTCPayServer.Tests/docker-compose.altcoins.yml
index 4aa0d82..7875717 100644
--- a/BTCPayServer.Tests/docker-compose.altcoins.yml
+++ b/BTCPayServer.Tests/docker-compose.altcoins.yml
@@ -28,6 +28,7 @@ services:
TEST_CUSTOMERLIGHTNINGD: "type=clightning;server=unix://etc/customer_lightningd_datadir/lightning-rpc"
TEST_MERCHANTLND: "http://merchant_lnd:8080/"
TESTS_INCONTAINER: "true"
+ PLAYWRIGHT_HEADLESS: "true"
TESTS_SSHCONNECTION: "root@sshd:22"
TESTS_SSHPASSWORD: ""
TESTS_SSHKEYFILE: ""
diff --git a/BTCPayServer.Tests/docker-compose.yml b/BTCPayServer.Tests/docker-compose.yml
index 1d830e4..08ea66c 100644
--- a/BTCPayServer.Tests/docker-compose.yml
+++ b/BTCPayServer.Tests/docker-compose.yml
@@ -25,8 +25,8 @@ services:
TEST_MERCHANTLIGHTNINGD: "type=clightning;server=unix://etc/merchant_lightningd_datadir/lightning-rpc"
TEST_CUSTOMERLIGHTNINGD: "type=clightning;server=unix://etc/customer_lightningd_datadir/lightning-rpc"
TEST_MERCHANTLND: "http://merchant_lnd:8080/"
- TESTS_INCONTAINER: "true",
- PLAYWRIGHT_HEADLESS: "true",
+ TESTS_INCONTAINER: "true"
+ PLAYWRIGHT_HEADLESS: "true"
TESTS_SSHCONNECTION: "root@sshd:22"
TESTS_SSHPASSWORD: ""
TESTS_SSHKEYFILE: ""
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.