Skip to content

fix(ci): set ZKCOINS_E2E_ALLOW_FEATURE_TRIMMED_SERVER on PRD api-e2e - #114

Merged
TaprootFreak merged 1 commit into
release/mainnet-hardeningfrom
fix/deploy-prd-feature-trimmed-env
May 26, 2026
Merged

fix(ci): set ZKCOINS_E2E_ALLOW_FEATURE_TRIMMED_SERVER on PRD api-e2e#114
TaprootFreak merged 1 commit into
release/mainnet-hardeningfrom
fix/deploy-prd-feature-trimmed-env

Conversation

@TaprootFreak

Copy link
Copy Markdown
Contributor

Problem

After PR #18 (develop→main auto-release) merged the feature-trimmed-server check from PR #105 to main, the next Deploy PRD run failed:

Root cause

deploy-dev.yaml has the escape-hatch env var (ZKCOINS_E2E_ALLOW_FEATURE_TRIMMED_SERVER: "true") on its api-e2e step; deploy-prd.yaml did not. Both DEV and PRD ship the MVP-only binary per Dockerfile policy ("the two environments run the identical binary"), so the asymmetry was a bug.

Fix

Mirror deploy-dev.yaml's env block on the PRD api-e2e step. Same comment explaining the rationale.

Test plan

  • Local diff matches deploy-dev.yaml's env block structure
  • CI runs green on this PR (no Heavy gate triggered; lint/build only)
  • After merge + auto-release-PR to main, next Deploy PRD passes the api-e2e job

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.
@TaprootFreak
TaprootFreak marked this pull request as ready for review May 26, 2026 08:49
@TaprootFreak
TaprootFreak changed the base branch from develop to release/mainnet-hardening May 26, 2026 16:30
@TaprootFreak
TaprootFreak merged commit feacd31 into release/mainnet-hardening May 26, 2026
11 checks passed
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