Skip to content

Conversation

@MatTheCat
Copy link
Contributor

@MatTheCat MatTheCat commented Dec 7, 2025

Q A
Branch? 6.4
Bug fix? yes
New feature? no
Deprecations? yes
Issues Fix #62554
License MIT

The ConfigDebugCommand currently cannot use the SodiumVault to load env vars because its $secretsDir depends on one, so calling it with --resolve-env-vars fails if an env var is only present in the vault. I’m not sure if it’s for the same reason but compiling the container with $resolveEnvPlaceholders suffers from the same issue.

I didn’t find a way to fix this so this PR works around it by setting the new container’s env var processors as the command’s so that the vault (and anything that could be used to resolve env vars) is correctly initialized.

@GromNaN
Copy link
Member

GromNaN commented Dec 8, 2025

Is there a way to test this fix?

@MatTheCat
Copy link
Contributor Author

Is there a way to test this fix?

Couldn’t figure out how; looks like the issue also impact functional tests 😕

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants