From c768bbf01966a6b7d62e560d49fec3dc2f20e28d Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Wed, 24 Jun 2026 21:14:42 +0200 Subject: [PATCH] fix(env): register INFINITO_DEPLOY_MODE in the static env registry scripts/meta/resolve/apps.sh reads INFINITO_DEPLOY_MODE (added with the per-mode skip feature) but the key had no registry entry, failing tests.lint.filesystem.env.test_used_keys_declared. Add an empty default to default.env and the key to the static-passthrough STATIC_KEYS so the CI workflows' compose/swarm value passes through; empty disables the per-mode skip filtering locally. Co-Authored-By: Claude Opus 4.8 --- default.env | 3 +++ utils/env/handlers/passthrough.py | 1 + 2 files changed, 4 insertions(+) diff --git a/default.env b/default.env index 342ea00fbb..7f691348f5 100644 --- a/default.env +++ b/default.env @@ -82,6 +82,9 @@ INFINITO_CPUS=0 # Truthy enables debug behavior in the local deploy flows. INFINITO_DEBUG=true +# Deploy mode the discovery matrix targets (compose|swarm) for per-mode services.yml skip; empty disables it. +INFINITO_DEPLOY_MODE= + # Distro the build/test matrix is currently iterating over (generator may override). INFINITO_DISTRO=debian diff --git a/utils/env/handlers/passthrough.py b/utils/env/handlers/passthrough.py index 44424b2c1d..5126f89f29 100644 --- a/utils/env/handlers/passthrough.py +++ b/utils/env/handlers/passthrough.py @@ -53,6 +53,7 @@ STATIC_KEYS = ( "INFINITO_LINT_RUNNER", "INFINITO_DISTROS", "INFINITO_APP_DISCOVERY_RUNNER", + "INFINITO_DEPLOY_MODE", "INFINITO_BUILDKIT_ENABLED", "INFINITO_DEBUG", "INFINITO_WHITELIST",