Skip to main content
← Back to list
01Issue
BugShippedSwamp CLIPublic
Assigneesstack72

Relationships

#4966 extension rm misses dependents that pin the removed extension as name@version

Opened by stack72 · 11/20/2026· Shipped 11/21/2026

Summary

swamp extension rm looks for installed extensions that depend on the one being removed so it can tell the user before removing it. It compares each dependent's raw manifest dependencies entries with the target name (manifest.dependencies.includes(targetName) in src/libswamp/extensions/rm.ts). A dependent that pins the target as name@version never matches, so it is not listed and the removal goes ahead silently.

Reproduction

  1. Pull extension A, and extension B whose manifest lists A pinned, e.g. '@acme/a@2026.01.01.1'.
  2. Run swamp extension rm @acme/a.
  3. B is not reported as a dependent. With a bare '@acme/a' entry it is.

Expected

A pinned name@version entry counts as depending on name, as in the cross-extension runModel check fixed in swamp-club#4934 (extensionDependencyName in src/domain/extensions/extension_manifest.ts).

02Bog Flow
✓OPEN✓TRIAGED✓IN PROGRESS✓SHIPPED+ 1 MOREASSIGNED+ 2 MOREREVIEW+ 15 MOREPR_LINKED+ 2 MORESESSION_SUMMARIZED

Shipped

11/21/2026, 12:54:34 AM

Click a lifecycle step above to view its details.

03Sludge Pulse
stack72 assigned stack7211/20/2026, 8:07:34 PM

Sign in to post a ripple.