AltimateAI / AltimateAI/altimate-code

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

Đang mở
#1,024 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
811
Fork
134
Merge trung bình
3 ngày 2 giờ
Pull request đã merge (30 ngày)
50

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.