From fd08ebd3db13f966a0221eca1f633e92ae9387d0 Mon Sep 17 00:00:00 2001 From: LiusCraft Date: Mon, 11 May 2026 01:20:50 +0800 Subject: [PATCH] fix(test): read back history after SetHistory in steering test for CreatedAt normalization --- pkg/agent/steering_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/agent/steering_test.go b/pkg/agent/steering_test.go index 23d34840..569f2058 100644 --- a/pkg/agent/steering_test.go +++ b/pkg/agent/steering_test.go @@ -1618,6 +1618,8 @@ func TestAgentLoop_InterruptHard_RestoresSession(t *testing.T) { } defaultAgent.Sessions.SetHistory(sessionKey, originalHistory) + originalHistory = defaultAgent.Sessions.GetHistory(sessionKey) + runtimeCh, closeRuntimeEvents := subscribeRuntimeEventsForTest( t, al,