Skip to content

A local-first multi-agent app development platform, built on PenguinHarness

test(server): 工作流用例的启动步骤多给二十秒,整仓并行跑时不再被十秒钩子超时打断

lmliheng2041178bf7ce
diff --git a/packages/server/test/workflows.test.ts b/packages/server/test/workflows.test.ts
index 44dff996..d3ad1acd 100644
--- a/packages/server/test/workflows.test.ts
+++ b/packages/server/test/workflows.test.ts
@@ -179,10 +179,13 @@ describe("a loaded workflow", { timeout: 30_000 }, () => {
/** The demo as its one load left it. */
let wf: WorkflowInfo;
+ // The boot compiles the demo before it answers (that list below is what waits on the
+ // compiler), so this hook needs the same deadline as the cases it serves: a loaded
+ // monorepo run pushes it past the 10s POSIX hook default while nothing is wrong.
beforeAll(async () => {
({ t, owner, ownerCookie, dir } = await workflowApp());
[wf] = (await listOf(owner)) as [WorkflowInfo];
- });
+ }, 30_000);
afterAll(async () => {
await t.cleanup();
});