Skip to content

fix: substitute and whitelist-check env variables in included files (#165) - #169

Merged
jrosskopf merged 1 commit into
mainfrom
fix/gh-165-include-env-substitution
Sep 29, 2026
Merged

jrosskopf merged 1 commit into
mainfrom
fix/gh-165-include-env-substitution

Conversation

@jrosskopf

@jrosskopf jrosskopf commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • {{env.NAME}} in {{include}}d files is now substituted and whitelist-enforced
  • Empty auth username/password (e.g. unset variable) stops startup
  • Customers example uses demo credentials

Test plan

  • New tests failed before the fix (unlisted var, unset credential), pass after
  • Unit suite, env-whitelist, self-packaging, validate-config suites

Closes #165

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

…165)

- Included YAML gets the same {{env.NAME}} handling as the including file
- An auth user with an empty username/password stops startup
- Shipped customers example uses demo credentials
- Closes #165
@jrosskopf
jrosskopf merged commit 574327a into main Sep 29, 2026
23 checks passed
@jrosskopf
jrosskopf deleted the fix/gh-165-include-env-substitution branch September 29, 2026 17:17
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.

Environment variables in {{include}}d files are never substituted, so they stay literal (including in shipped examples)

1 participant