Revert "Fix for issue where initial env vars are not passed to runtime" (#8624)

This commit is contained in:
tofarr 2025-05-21 14:00:56 -06:00 committed by GitHub
parent 70322c8418
commit 2bd10de636
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -239,7 +239,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.initial_env_vars)
environment.update(self.config.sandbox.runtime_startup_env_vars)
start_request: dict[str, Any] = {
'image': self.container_image,
'command': command,