mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-25 14:43:05 +09:00
fix(test-mcp-tools): audit_list also a chain-tool — 60s → 90s (iter 130)
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 <ruv@ruv.net>
This commit is contained in:
1 parent
8df666e6d5
commit
db1e965e19
1 file changed
+6
-1
@@ -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) =>
|
||||
|
||||
Reference in new issue
Block a user