AltimateAI / AltimateAI/altimate-code

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

Open
#1,024 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
811
Forks
134
Avg merge
3d 2h
Merged PRs (30d)
50

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.