test: ignore defensive Remote branches

This commit is contained in:
imccyu
2026-08-23 16:16:06 +08:00
parent c5efa5ce9c
commit 8f919cb9ac
2 changed files with 2 additions and 0 deletions
@@ -172,6 +172,7 @@ export class SessionHistoryController {
if (item.event.type === 'tool/call') {
const data = item.event.data as ToolCallData
const call = parseToolCall(data)
/* v8 ignore next -- malformed durable tool arguments intentionally skip the live presentation cache. */
if (call !== undefined) openCalls.set(data.callId, call)
} else if (item.event.type === 'turn/end') {
openCalls.clear()