Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
test(mcp-host): prove a failed duplicate removal keeps its entry indexed
Alfredo Lopez847740f5088e
diff --git a/mcp-host/package-lock.json b/mcp-host/package-lock.jsonindex e25f484ca..55bf53a3c 100644--- a/mcp-host/package-lock.json+++ b/mcp-host/package-lock.json@@ -1,12 +1,12 @@{"name": "clerum-mcp-host",- "version": "0.1.537",+ "version": "0.1.538","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "clerum-mcp-host",- "version": "0.1.537",+ "version": "0.1.538","license": "SEE LICENSE IN LICENSE","dependencies": {"@anthropic-ai/sdk": "^0.32.0",diff --git a/mcp-host/package.json b/mcp-host/package.jsonindex 549a06768..6a90ae8cf 100644--- a/mcp-host/package.json+++ b/mcp-host/package.json@@ -1,6 +1,6 @@{"name": "clerum-mcp-host",- "version": "0.1.537",+ "version": "0.1.538","description": "MCP Host - reads Host CRD and provides LLM access via OpenAI/Claude","main": "dist/main.js","engines": {diff --git a/mcp-host/src/internalTools/gfsDownloadStoreAdversarial.test.ts b/mcp-host/src/internalTools/gfsDownloadStoreAdversarial.test.tsindex ae2304045..9bcf5041a 100644--- a/mcp-host/src/internalTools/gfsDownloadStoreAdversarial.test.ts+++ b/mcp-host/src/internalTools/gfsDownloadStoreAdversarial.test.ts@@ -747,6 +747,8 @@ describe('GFS download store adversarial round: a failed duplicate removal staysfor (const id of ids) {expect(exists(downloadDirectory(owner, id))).toBe(true)expect(exists(downloadDirectory(planter, id))).toBe(true)+ // The indexed copy is forgotten only once its removal succeeds.+ expect(indexedEntry(store, id)).toBeDefined()}// The copies left on disk are still charged to the caller root holding them.await expect(startTransfer(store, owner, OWNER, 2, 5)).rejects.toMatchObject({