From 28d9fc5f20d55060c2d17059620bb404d5f26e47 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Mon, 27 Apr 2026 21:43:12 +0100 Subject: [PATCH] fix(test): include cron delivery thread id in schema keys --- src/agents/tools/cron-tool.schema.test.ts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/agents/tools/cron-tool.schema.test.ts b/src/agents/tools/cron-tool.schema.test.ts index 62092774cb9..4f592787c6a 100644 --- a/src/agents/tools/cron-tool.schema.test.ts +++ b/src/agents/tools/cron-tool.schema.test.ts @@ -82,9 +82,17 @@ describe("CronToolSchema", () => { expect(patchStagger?.description).toBe("Random jitter in ms (kind=cron)"); }); - it("job.delivery exposes mode, channel, to, bestEffort, accountId, failureDestination", () => { + it("job.delivery exposes mode, channel, to, threadId, bestEffort, accountId, failureDestination", () => { expect(keysAt(schemaRecord, "job.delivery")).toEqual( - ["accountId", "bestEffort", "channel", "failureDestination", "mode", "to"].toSorted(), + [ + "accountId", + "bestEffort", + "channel", + "failureDestination", + "mode", + "threadId", + "to", + ].toSorted(), ); });