← 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
- Pull extension A, and extension B whose manifest lists A pinned, e.g.
'@acme/a@2026.01.01.1'. - Run
swamp extension rm @acme/a. - 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
Shipped
Click a lifecycle step above to view its details.
03Sludge Pulse
Sign in to post a ripple.