Skip to content

feat: Add env parameter for BotInstance#21

Open
ppauel wants to merge 1 commit into
GalaxyBotTeam:devfrom
ppauel:feature/child-process-env
Open

feat: Add env parameter for BotInstance#21
ppauel wants to merge 1 commit into
GalaxyBotTeam:devfrom
ppauel:feature/child-process-env

Conversation

@ppauel

@ppauel ppauel commented Apr 29, 2026

Copy link
Copy Markdown

Changes

This PR resolves #20 by adding an env parameter to the BotInstance constructor, allowing custom environment variables to be passed to the cluster processes.

The change has been propagated to both StandaloneInstance and ManagedInstance.

Breaking change note

This change modifies the constructor signature of ManagedInstance. Existing implementations that depend on argument order may break. To prevent this in the future, the constructor could be migrated to a single options object pattern instead of positional arguments.

@ppauel

ppauel commented Apr 29, 2026

Copy link
Copy Markdown
Author

This would also require a Wiki change for Managed Instance and Standalone Instance.

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.

Passing additional environment variables to bot instance

1 participant