Skip to content

fix(remote): set aiohttp HTTP timeout based on command timeout#290

Open
dcloud347 wants to merge 1 commit into
SWE-agent:mainfrom
dcloud347:fix/remote-http-timeout
Open

fix(remote): set aiohttp HTTP timeout based on command timeout#290
dcloud347 wants to merge 1 commit into
SWE-agent:mainfrom
dcloud347:fix/remote-http-timeout

Conversation

@dcloud347

Copy link
Copy Markdown

Add timeout param to _request() so the HTTP layer uses aiohttp.ClientTimeout instead of aiohttp's default 300s. run_in_session() sets http_timeout = action.timeout + 30s so the server-side command timeout always fires first, letting the normal session-reboot path handle the error instead of a torn connection.

Change-Id: I3de291bb5cc630aa4b06356f15972c588b9c7ec8

Add timeout param to _request() so the HTTP layer uses aiohttp.ClientTimeout instead of aiohttp's default 300s. run_in_session() sets http_timeout = action.timeout + 30s so the server-side command timeout always fires first, letting the normal session-reboot path handle the error instead of a torn connection.

Change-Id: I3de291bb5cc630aa4b06356f15972c588b9c7ec8
@dcloud347 dcloud347 mentioned this pull request Jun 17, 2026
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.

1 participant