From 74b1fdce2ce4cf44576a53435b6b869998ee932c Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Wed, 6 May 2026 15:37:53 +0100 Subject: [PATCH] test(perf): trim context engine overflow fixtures --- .../run/attempt.spawn-workspace.context-engine.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/agents/pi-embedded-runner/run/attempt.spawn-workspace.context-engine.test.ts b/src/agents/pi-embedded-runner/run/attempt.spawn-workspace.context-engine.test.ts index 3905606244f..486d5dc59a4 100644 --- a/src/agents/pi-embedded-runner/run/attempt.spawn-workspace.context-engine.test.ts +++ b/src/agents/pi-embedded-runner/run/attempt.spawn-workspace.context-engine.test.ts @@ -644,7 +644,7 @@ describe("runEmbeddedAttempt context engine sessionKey forwarding", () => { it("uses assembled context as the default precheck authority", async () => { let sawPrompt = false; - const hugeHistory = "large raw history ".repeat(25_000); + const hugeHistory = "large raw history ".repeat(2_000); const result = await createContextEngineAttemptRunner({ contextEngine: createTestContextEngine({ @@ -678,7 +678,7 @@ describe("runEmbeddedAttempt context engine sessionKey forwarding", () => { it("honors context engines that opt into preassembly overflow authority", async () => { let sawPrompt = false; - const hugeHistory = "large raw history ".repeat(25_000); + const hugeHistory = "large raw history ".repeat(2_000); const result = await createContextEngineAttemptRunner({ contextEngine: createTestContextEngine({ @@ -712,7 +712,7 @@ describe("runEmbeddedAttempt context engine sessionKey forwarding", () => { }); it("snapshots pre-assembly messages before assemble even when the engine windows in place", async () => { - const hugeHistory = "large raw history ".repeat(25_000); + const hugeHistory = "large raw history ".repeat(2_000); const preassemblyMarker = { role: "user", content: hugeHistory, timestamp: 1 } as AgentMessage; await createContextEngineAttemptRunner({