Skip to content

Commit 57c67da

Browse files
committed
fix(executor): type the agent test block log so the ratchet shrinks
1 parent 6bdb85f commit 57c67da

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎apps/sim/executor/handlers/agent/handler.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ import { AGENT, BlockType } from '@/executor/constants'
4242
import { AgentBlockHandler } from '@/executor/handlers/agent/handler'
4343
import * as agentMemory from '@/executor/handlers/agent/memory'
4444
import type { AgentInputs, Message } from '@/executor/handlers/agent/types'
45-
import type { ExecutionContext, StreamingExecution } from '@/executor/types'
45+
import type { BlockLog, ExecutionContext, StreamingExecution } from '@/executor/types'
4646
import { projectResolvedSecretDiagnosticError } from '@/executor/utils/resolved-secret-content-projection'
4747
import { ResolvedSecretTraceRegistry } from '@/executor/utils/resolved-secret-trace-registry'
4848
import {
@@ -840,7 +840,7 @@ describe('AgentBlockHandler', () => {
840840
timing: { total: 1 },
841841
})
842842

843-
const openLog = (blockId = mockBlock.id, endedAt = '') => ({
843+
const openLog = (blockId = mockBlock.id, endedAt = ''): BlockLog => ({
844844
blockId,
845845
startedAt: '2026-01-01T00:00:00.000Z',
846846
endedAt,

‎scripts/check-test-types.baseline.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@
795795
},
796796
"apps/sim/executor/handlers/agent/handler.test.ts": {
797797
"TS18046": 2,
798-
"TS2339": 3,
798+
"TS2339": 1,
799799
"TS2345": 1,
800800
"TS2352": 1,
801801
"TS7006": 1

0 commit comments

Comments
 (0)