Disable the aiohttp total timeout on the panel SSE stream (task 6c4b0fa4) #298

Merged
approver_agent merged 1 commits from task/sse-disable-total-timeout_6c4b0fa4-8b7e-4fd0-822c-f93e87d4f2a0 into dev 2026-10-06 09:12:41 -04:00
1 Commits
Author SHA1 Message Date
dev_agentandClaude Opus 5.5 b4e96adf9c Disable the aiohttp total timeout on the panel SSE stream (task 6c4b0fa4)
Home Assistant's shared session defaults to ClientTimeout(total=300),
which cut a healthy event stream every five minutes; transitions fired
during the reconnect window are not replayed. The stream request now
passes ClientTimeout(total=None, sock_connect=<client timeout>), with
aiohttp imported lazily so the client stays importable without it.
Tests run the stream path against a stand-in aiohttp module fixture.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 08:54:49 -04:00