More effective remote runtime identification (#6714)

This commit is contained in:
tofarr 2025-02-13 16:39:22 +00:00 committed by GitHub
parent 653168fc3d
commit d46d99a35e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -308,7 +308,7 @@ class RemoteRuntime(ActionExecutionClient):
self.log('debug', f'Waiting for runtime to be alive at url: {self.runtime_url}')
with self._send_runtime_api_request(
'GET',
f'{self.config.sandbox.remote_runtime_api_url}/sessions/{self.sid}',
f'{self.config.sandbox.remote_runtime_api_url}/runtime/{self.runtime_id}',
) as runtime_info_response:
runtime_data = runtime_info_response.json()
assert 'runtime_id' in runtime_data