Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
test(mcp-host): give the 15-spawn PNG colour-type test a timeout sized to its work
Alfredo Lopezb57239df8ac8
diff --git a/mcp-host/package-lock.json b/mcp-host/package-lock.jsonindex 40b3a4c0e..f1442c062 100644--- a/mcp-host/package-lock.json+++ b/mcp-host/package-lock.json@@ -1,12 +1,12 @@{"name": "clerum-mcp-host",- "version": "0.1.474",+ "version": "0.1.475","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "clerum-mcp-host",- "version": "0.1.474",+ "version": "0.1.475","license": "SEE LICENSE IN LICENSE","dependencies": {"@anthropic-ai/sdk": "^0.32.0",diff --git a/mcp-host/package.json b/mcp-host/package.jsonindex f772cbda6..4f6bd39ee 100644--- a/mcp-host/package.json+++ b/mcp-host/package.json@@ -1,6 +1,6 @@{"name": "clerum-mcp-host",- "version": "0.1.474",+ "version": "0.1.475","description": "MCP Host - reads Host CRD and provides LLM access via OpenAI/Claude","main": "dist/main.js","engines": {diff --git a/mcp-host/src/visualInput/imageValidation.test.ts b/mcp-host/src/visualInput/imageValidation.test.tsindex 0a7585979..837271a64 100644--- a/mcp-host/src/visualInput/imageValidation.test.ts+++ b/mcp-host/src/visualInput/imageValidation.test.ts@@ -666,7 +666,11 @@ describe('PNG stream integrity', () => {`colour type ${colorType} bit depth ${bitDepth}`).resolves.toBeUndefined()}- })+ // Each validateImage call spawns a validation child, and this loop makes 15+ // of them in sequence (about 2.2 s alone). Under the full suite's worker+ // pool the spawns are slower, so the 5 s default timed out; the budget is+ // for the process count, not for a slow validator.+ }, 30_000)test('rejects a PNG whose IDAT chunks are not a zlib stream', async () => {const png = buildPng({ width: 2, height: 2, idat: Buffer.from([0xde, 0xad, 0xbe, 0xef]) })