Skip to content

fix(runtime): honor process environment during startup#187

Open
H-TTTTT wants to merge 1 commit into
grinev:mainfrom
H-TTTTT:fix/process-env-bootstrap
Open

fix(runtime): honor process environment during startup#187
H-TTTTT wants to merge 1 commit into
grinev:mainfrom
H-TTTTT:fix/process-env-bootstrap

Conversation

@H-TTTTT

@H-TTTTT H-TTTTT commented Jul 11, 2026

Copy link
Copy Markdown

Summary

  • validate installed startup configuration from both an optional .env file and process.env
  • preserve runtime precedence by letting process environment values override file values
  • allow non-interactive and daemon startup without creating an .env file when required variables are already supplied
  • document process environment support and precedence

Testing

  • npm run lint
  • npm run build
  • BOT_LOCALE=en npm test (122 files, 1100 tests)
  • BOT_LOCALE=zh npm test -- tests/runtime/bootstrap.test.ts

Closes #154

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.

[Feature]: support process.env

1 participant