From 456afef59078ac2af01babbe5df5c15bf9bfad4b Mon Sep 17 00:00:00 2001 From: Michael Yong Date: Wed, 5 Aug 2026 16:26:06 -0700 Subject: [PATCH] Stabilize structured workflow harness test --- plugins/workflows/src/server-harness.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/workflows/src/server-harness.test.ts b/plugins/workflows/src/server-harness.test.ts index 71f204ac9e..3bfbf88fc5 100644 --- a/plugins/workflows/src/server-harness.test.ts +++ b/plugins/workflows/src/server-harness.test.ts @@ -20,6 +20,8 @@ async function eventually( } } +const STRUCTURED_WORKFLOW_TEST_TIMEOUT_MS = 30_000; + async function workflowStatus( harness: ReturnType["harness"], runId: string, @@ -712,7 +714,7 @@ describe("workflows plugin", () => { worker.controller.abort(); await worker.done; - }); + }, STRUCTURED_WORKFLOW_TEST_TIMEOUT_MS); it("rejects cyclic and unsafe host values before persistence", async () => { const { bb, harness } = createFakePluginHost({ pluginId: "workflows" });