fix(tui_gateway): drop emit-only session.info from _LONG_HANDLERS

session.info is only ever an emitted event (_emit), never a dispatched
@method RPC, so listing it in _LONG_HANDLERS is dead weight that can
never match a dispatched method name. Remove it from the set and the
test's frontend-polled list to keep _LONG_HANDLERS to real RPCs.
This commit is contained in:
teknium1 2026-06-30 02:15:59 -07:00 committed by Teknium
parent 9d10dcd490
commit 1a0c576813
2 changed files with 0 additions and 2 deletions

View file

@ -65,7 +65,6 @@ def capture(server):
FRONTEND_POLLED_RPCS = [
"session.list", # loads session list — SQLite query
"session.info", # loads session detail — agent state read
"pet.info", # petdex poll — file/network read
"process.list", # background process status — process registry scan
]

View file

@ -213,7 +213,6 @@ _LONG_HANDLERS = frozenset(
"projects.project_sessions",
"session.branch",
"session.compress",
"session.info",
"session.list",
"session.resume",
"shell.exec",