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 <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip committed 2026-11-02 19:00:20 -06:00
1 parent 9d945fbd12
commit 0d7d4c6407
1 file changed
+1 -1
@@ -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 };