hermes-agent/tui_gateway
Brooklyn Nicholson 8dcab19d02 fix(gateway): fail closed when session.delete can't enumerate active sessions
If a concurrent RPC mutates _sessions while session.delete is iterating
it (e.g. a parallel session.create on the thread pool), the bare except
swallowed the RuntimeError and let the delete proceed against a row
that may still be live.  Snapshot via list(_sessions.values()) and
return an error when even that raises, instead of treating "couldn't
check" as "no active sessions."
2026-04-29 20:21:16 -07:00
..
__init__.py
…
entry.py
…
event_publisher.py
…
render.py
…
server.py fix(gateway): fail closed when session.delete can't enumerate active sessions 2026-04-29 20:21:16 -07:00
slash_worker.py
…
transport.py
…
ws.py
…