From 0d7d4c6407fed11a5295fb162e903755ee8f7229 Mon Sep 17 00:00:00 2001 From: Dotta Date: Mon, 2 Nov 2026 19:00:20 -0600 Subject: [PATCH] test: complete retry boundary runtime lifecycle fixture Give the no-op retry service runtime its required read-only lifecycle accessor. Preserve all singleflight, authority and shutdown assertions; keep production lifecycle checks strict. Co-Authored-By: Paperclip --- server/src/__tests__/chat-failed-run-retry-boundary.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/__tests__/chat-failed-run-retry-boundary.test.ts b/server/src/__tests__/chat-failed-run-retry-boundary.test.ts index ad62169924d..67cbd7f863a 100644 --- a/server/src/__tests__/chat-failed-run-retry-boundary.test.ts +++ b/server/src/__tests__/chat-failed-run-retry-boundary.test.ts @@ -14,7 +14,7 @@ function createService(db: Db) { const runtimeShutdown = vi.fn().mockResolvedValue(undefined); const service = chatChannelService(db, { heartbeat: { wakeup }, - runtime: { shutdown: runtimeShutdown } as unknown as ChatChannelServiceOptions["runtime"], + runtime: { shutdown: runtimeShutdown, hasUnsettledLifecycle: () => false } as unknown as ChatChannelServiceOptions["runtime"], }); services.add(service); return { service, wakeup, runtimeShutdown };