From 035588e9140f8df28d5a7bb718fd1204624aa6d8 Mon Sep 17 00:00:00 2001 From: Brennan Benson <79079362+brennanb2025@users.noreply.github.com> Date: Sat, 17 Oct 2026 00:11:43 -0700 Subject: [PATCH] test(cross-version): read isStructuredTab from the shared module the newest release defines it in (#30000) --- .../cross-version-registered-agents.unit.test.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/e2e/cross-version-wire/cross-version-registered-agents.unit.test.ts b/tests/e2e/cross-version-wire/cross-version-registered-agents.unit.test.ts index 2f45ad6f345..9ed7e4d56e1 100644 --- a/tests/e2e/cross-version-wire/cross-version-registered-agents.unit.test.ts +++ b/tests/e2e/cross-version-wire/cross-version-registered-agents.unit.test.ts @@ -91,10 +91,8 @@ beforeAll(async () => { 'src/main/runtime/rpc/methods/session-tab-agent-status-projection.ts' ), importReleaseCheckoutModule(checkout, 'src/shared/workspace-session-schema.ts'), - importReleaseCheckoutModule( - checkout, - 'src/renderer/src/components/native-chat/structured-agent-session-tabs.ts' - ), + // Why: releases from v1.4.228 define it here; the renderer module only imports it. + importReleaseCheckoutModule(checkout, 'src/shared/structured-agent-session-tab.ts'), importReleaseCheckoutModule(checkout, 'src/shared/agent-session-record.ts') ]) current = await loadAgentSessionWireBuild(WORKING_TREE)