Fix for running git commands with the proper user (#8898)

This commit is contained in:
Robert Brennan
2025-06-05 17:20:15 -07:00
committed by GitHub
parent 19fcf427ba
commit 0813c113f0
10 changed files with 134 additions and 129 deletions

View File

@@ -406,7 +406,7 @@ class ActionExecutionClient(Runtime):
'POST',
f'{self.action_execution_server_url}/update_mcp_server',
json=stdio_tools,
timeout=10,
timeout=60,
)
result = response.json()
if response.status_code != 200:
@@ -464,7 +464,9 @@ class ActionExecutionClient(Runtime):
)
# Create clients for this specific operation
mcp_clients = await create_mcp_clients(updated_mcp_config.sse_servers, updated_mcp_config.shttp_servers, self.sid)
mcp_clients = await create_mcp_clients(
updated_mcp_config.sse_servers, updated_mcp_config.shttp_servers, self.sid
)
# Call the tool and return the result
# No need for try/finally since disconnect() is now just resetting state