test(perf): trim context engine overflow fixtures

This commit is contained in:
Peter Steinberger
2026-05-06 15:37:53 +01:00
parent 2e10ffe813
commit 74b1fdce2c

View File

@@ -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({