From 470bbc8eee3a1ed8d1d0245864f84ca30a6289fc Mon Sep 17 00:00:00 2001 From: TaprootFreak <142087526+TaprootFreak@users.noreply.github.com> Date: Tue, 26 May 2026 10:48:36 +0200 Subject: [PATCH] fix(ci): set ZKCOINS_E2E_ALLOW_FEATURE_TRIMMED_SERVER on PRD api-e2e MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PRD image ships the same MVP-only binary as DEV per Dockerfile policy, but deploy-prd.yaml's api-e2e step was missing the escape-hatch env var that lets feature-gated tests (address-list, lnurl) skip cleanly instead of panicking the CI canary. PR #18 (develop→main auto-release) brought the feature-trimmed-server check from PR #105 to main, and the next PRD deploy (run 26441824314) failed with 4 panics on tests gated by features the MVP build never enables. Mirror deploy-dev.yaml's env block on the PRD api-e2e step. --- .github/workflows/deploy-prd.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/deploy-prd.yaml b/.github/workflows/deploy-prd.yaml index 8af19ffe..0b67afcd 100644 --- a/.github/workflows/deploy-prd.yaml +++ b/.github/workflows/deploy-prd.yaml @@ -135,6 +135,13 @@ jobs: sccache --show-stats - name: Run API E2E suite against PRD (skip roundtrips) + env: + # PRD image is MVP-only by policy (see Dockerfile FEATURES + # arg — "both DEV and PRD images ship the MVP-only feature + # set so the two environments run the identical binary"). + # The gated address-list/lnurl tests skip cleanly instead of + # panicking the CI canary. Mirrors deploy-dev.yaml. + ZKCOINS_E2E_ALLOW_FEATURE_TRIMMED_SERVER: "true" run: cargo test -p node --release --all-features --test api_remote -- --test-threads=1 --nocapture --skip _roundtrip_ - name: sccache stats (post-build)