Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

Record the claim's suspectWaitMs and the worker's watchdogSuspectWaitMs in the export-surface golden (GST-2529)

garrytan8e9b1541d21d
diff --git a/test/fixtures/goldens/exports/types.json b/test/fixtures/goldens/exports/types.json
index 5b74a4cad4..3e07e876d6 100644
--- a/test/fixtures/goldens/exports/types.json
+++ b/test/fixtures/goldens/exports/types.json
@@ -6473,7 +6473,7 @@
"addAttachment: (jobId: number, input: AttachmentInput) => Promise<Attachment>",
"cancelJob: (id: number, opts?: { ownerClientId?: string; ownerActor?: JobActor; }) => Promise<MinionJob | null>",
"cancelJobs: (ids: number[], opts?: { reason?: string; rootStatuses?: MinionJobStatus[]; ownerClientId?: string; ownerActor?: JobActor; }) => Promise<MinionJob[]>",
- "claim: (lockToken: string, lockDurationMs: number, queue: string, registeredNames: string[], opts?: { excludeWatchdogSuspects?: boolean; excludeNames?: string[]; }) => Promise<MinionJob | null>",
+ "claim: (lockToken: string, lockDurationMs: number, queue: string, registeredNames: string[], opts?: { excludeWatchdogSuspects?: boolean; suspectWaitMs?: number; excludeNames?: string[]; }) => Promise<MinionJob | null>",
"classifyPrivateQueueForRecovery: (queueName: string) => Promise<\"orphan\" | \"live\" | \"unowned\" | \"not_orphan\">",
"completeJob: (id: number, lockToken: string, result?: Record<string, unknown>) => Promise<MinionJob | null>",
"deferJob: (id: number, lockToken: string, note: string, delayMs: number) => Promise<MinionJob | null>",
@@ -6638,7 +6638,8 @@
"shortJobReservedSlots?: number | undefined",
"stallExitAfterMs?: number | undefined",
"stallWarnAfterMs?: number | undefined",
- "stalledInterval?: number | undefined"
+ "stalledInterval?: number | undefined",
+ "watchdogSuspectWaitMs?: number | undefined"
],
"name": "MinionWorkerOpts"
},