Skip to content

MCP registry install prints a bare 'CI environment detected' line once per server #4320

Closed

Description

Command: apm install or apm update with MCP servers resolved from a registry, run with CI set (or APM_E2E_TESTS=1).

Expected: no unprefixed debug lines; at most one environment notice per command.

Observed: src/apm_cli/registry/operations.py prints CI environment detected (or E2E test mode detected) with a bare print for every server it looks up, so the line repeats and carries no status prefix.

Found by the global output oracle (#4113). The lifecycle tests record it as a strict known output cell; remove the cell when this is fixed.

Activity

  1. added
    type/bug
    status/accepted
    on Nov 20, 2026
  2. danielmeppiel commented on Nov 20, 2026

    @danielmeppiel
    CollaboratorAuthor

    Decision: approve
    Area: project
    Scope: Fix the defect described in this issue at its canonical owner and route every affected caller through that owner, as part of the single 0.37 bug-sweep pull request.
    Done when: An installed-CLI regression test reproduces the reported behavior and fails before the fix and passes after; any matching known-failure cell flips to passing; a bug-ledger row is added; the CI lint chain is green; the bug-sweep pull request carries "Fixes" for this issue.
    Out of scope: New features, flags or subcommands; behavior changes beyond the reported defect; refactors not needed for the fix.
    Review contact: Daniel Meppiel (@danielmeppiel)

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

    status/acceptedtype/bug

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions