AltimateAI / AltimateAI/altimate-code

test: httpapi-mcp status test is not hermetic against user-global MCP config

未關閉
#1,024 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
811
分支
134
平均合併
3 天 2 小時
30 天內合併 PR
50

描述

Found during v0.9.2 release verification. Deferred because: pre-existing (fails identically at v0.9.1), passes in CI's clean env; fixing test fixtures mid-release adds risk.

`test/server/httpapi-mcp.test.ts` "serves status endpoint" expects only the fixture `demo` server, but a user-global MCP config (e.g. `codebase-memory-mcp`) leaks into the status response on dev machines, failing the test locally. The fixture should isolate config discovery (scoped config dir / env) so the suite is hermetic.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。