test: exclude validated ACP assertion

This commit is contained in:
Tianyi Cui
2026-07-14 07:43:01 +08:00
parent f02005c832
commit a9c4fe2c4b

View File

@@ -327,6 +327,7 @@ export async function startAcpRun(request: SubagentStartRequest, spec: AcpRunSpe
}
// The startup transaction validates the returned id before it can fulfill.
// This assertion carries that cross-closure invariant into TypeScript.
/* v8 ignore next */
if (sessionId === undefined) throw new Error('unreachable: ACP startup fulfilled without a session id')
const remoteSessionId = sessionId