From b46b349028559396ccbd4038d0ffe4f4b952c596 Mon Sep 17 00:00:00 2001 From: Garry Tan Date: Wed, 22 Jul 2026 12:12:41 -0700 Subject: [PATCH] =?UTF-8?q?test:=20reset=20gateway=20in=20afterAll=20in=20?= =?UTF-8?q?cli-multimodal-integration=20=E2=80=94=20cross-file=20config=20?= =?UTF-8?q?leak?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Review hardening on #3116: the file resets the gateway in beforeEach but left it configured after the last test, leaking a multimodal gateway config into whatever file runs next in its shard (same class as the adaptive-embed-batch leak fixed on master). Co-Authored-By: Claude Fable 5 --- test/cli-multimodal-integration.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/test/cli-multimodal-integration.test.ts b/test/cli-multimodal-integration.test.ts index a46d47e52..9c8de356b 100644 --- a/test/cli-multimodal-integration.test.ts +++ b/test/cli-multimodal-integration.test.ts @@ -28,6 +28,7 @@ beforeAll(async () => { }); afterAll(async () => { + resetGateway(); // don't leak this file's gateway config into shard siblings await engine.disconnect(); });