Fix for issue where initial env vars are not passed to runtime (#8597)

This commit is contained in:
tofarr
2025-05-20 10:58:43 -06:00
committed by GitHub
parent 5e1039e4b5
commit 3873d9f002

View File

@@ -237,7 +237,7 @@ class RemoteRuntime(ActionExecutionClient):
environment: dict[str, str] = {}
if self.config.debug or os.environ.get('DEBUG', 'false').lower() == 'true':
environment['DEBUG'] = 'true'
environment.update(self.config.sandbox.runtime_startup_env_vars)
environment.update(self.initial_env_vars)
start_request: dict[str, Any] = {
'image': self.container_image,
'command': command,