Skip to content

apm uninstall prints the same removal lines once per duplicate declaration #4331

Closed

Description

apm uninstall of a package declared more than once (duplicate aliases or two local paths resolving to one package) prints [+] <pkg> - found in apm.yml and [i] Removed <pkg> from dependencies.apm in apm.yml once per declaration, identical lines back to back. Expected: one line per package, or lines that name each declaration.

Found by the lifecycle output oracle (#4113) in #4142 CI; recorded there as a strict known output cell citing this issue, so a fix flips the cell and the oracle asks for its removal.

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)

  3. modified the milestones: 0.37.0, on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

status/acceptedtype/bug

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions