From db1e965e19c482724dcbc71a9e122df3b6a91c71 Mon Sep 17 00:00:00 2001 From: ruv Date: Wed, 17 Jun 2026 13:54:44 -0400 Subject: [PATCH] =?UTF-8?q?fix(test-mcp-tools):=20audit=5Flist=20also=20a?= =?UTF-8?q?=20chain-tool=20=E2=80=94=2060s=20=E2=86=92=2090s=20(iter=20130?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In CI cold-cache, after oia_audit warms up the npx cache, metaharness_audit_list STILL timed out at 60s. The audit_list handler invokes `npx claude-flow memory list --namespace metaharness-audit` which has its own cold-cache cost on first invocation (memory backend init + ONNX embedder load if needed). Add audit_list to the chain-tool bracket alongside drift_from_history and oia_audit so it gets the 90s budget. Co-Authored-By: RuFlo --- plugins/ruflo-metaharness/scripts/test-mcp-tools.mjs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/ruflo-metaharness/scripts/test-mcp-tools.mjs b/plugins/ruflo-metaharness/scripts/test-mcp-tools.mjs index b56bbdcaa3..0b4aacd70f 100755 --- a/plugins/ruflo-metaharness/scripts/test-mcp-tools.mjs +++ b/plugins/ruflo-metaharness/scripts/test-mcp-tools.mjs @@ -147,8 +147,13 @@ async function main() { // pushed metaharness_audit_list past the prior 30s budget intermittently. // iter 128 — oia_audit composes 5 sub-audits; same 90s budget as // drift_from_history (also a chain-tool). + // iter 130 — also bump audit_list to 90s. In CI cold-cache, even after + // oia_audit warmed up the npx cache, audit_list still timed out at 60s + // (likely the memory `npx claude-flow memory list` invocation hits its + // own cold path). audit_list is in the chain-tool bracket too. const isChainTool = tool.name === 'metaharness_drift_from_history' - || tool.name === 'metaharness_oia_audit'; + || tool.name === 'metaharness_oia_audit' + || tool.name === 'metaharness_audit_list'; const timeoutMs = isChainTool ? 90_000 : 60_000; const handlerPromise = tool.handler(input); const timeoutPromise = new Promise((_, reject) =>