Skip to content

Flaky: mounted_mcp_routes_are_profile_scoped_mechanics_only fails intermittently in the full service run #226

Description

@ebursztein

tests::profile_routes::mounted_mcp_routes_are_profile_scoped_mechanics_only in crates/capsem-service/src/tests/profile_routes.rs (around line 1106) failed once in a full cargo test -p capsem-service bin run with "profile route should expose Capsem-owned local builtin MCP". It passed when run alone three times, and on a full rerun (365/365).

It appeared on worktree-ledger-archive right after fb1c7db28 (fix(mcp): reserve the builtin server's name unconditionally), which changed how the builtin local server is listed, so that change is the first suspect.

To do: reproduce under load (loop the full bin run, or run it next to other service tests that touch profile or MCP state), find the shared state or ordering it depends on, and fix the cause rather than retrying.

Activity

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