From 8b3a3bce8bb6d52efb3fbac8f1ced64fe2fcdb31 Mon Sep 17 00:00:00 2001 From: Shakker Date: Mon, 11 May 2026 01:31:10 +0100 Subject: [PATCH] test: tighten attempt cache ttl skip assertion --- .../run/attempt.spawn-workspace.cache-ttl.test.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/agents/pi-embedded-runner/run/attempt.spawn-workspace.cache-ttl.test.ts b/src/agents/pi-embedded-runner/run/attempt.spawn-workspace.cache-ttl.test.ts index 929d8181a9a..9d90b5748a7 100644 --- a/src/agents/pi-embedded-runner/run/attempt.spawn-workspace.cache-ttl.test.ts +++ b/src/agents/pi-embedded-runner/run/attempt.spawn-workspace.cache-ttl.test.ts @@ -30,10 +30,7 @@ describe("runEmbeddedAttempt cache-ttl tracking after compaction", () => { }); expect(appended).toBe(false); - expect(sessionManager.appendCustomEntry).not.toHaveBeenCalledWith( - ATTEMPT_CACHE_TTL_CUSTOM_TYPE, - expect.anything(), - ); + expect(sessionManager.appendCustomEntry).not.toHaveBeenCalled(); }); it("appends cache-ttl when no compaction completed during the attempt", () => {