Skip to content

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

Closed as not planned

Description

@anandgupta42

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.

Activity

  1. anandgupta42 commented on Nov 5, 2026

    @anandgupta42
    ContributorAuthor

    Consolidated into #1682, which tracks this together with related issues. The original report here stays linked from that tracker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions