mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-11-04 23:37:31 +00:00
[GH-ISSUE #3092] Conflict detection uses global extension-node-map instead of locally installed extensions, causing inflated conflict count #1098
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/ComfyUI-Manager#1098
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @34262315716 on GitHub (Jul 18, 2026).
Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/3092
Description
The conflict detection feature in ComfyUI-Manager shows a conflict count that doesn't match the actual runtime conflicts. It compares against ALL known extensions in the global registry rather than just the locally installed ones.
Steps to Reproduce
Actual Result
The conflict detection view shows many more conflicts than actually exist at runtime. Conflicts are reported between extensions that the user doesn't even have installed.
Expected Result
Conflict detection should only compare currently installed extensions, or at least clearly separate installed-vs-installed conflicts from installed-vs-global-catalog conflicts.
Code Analysis
Looking at the source code in custom-nodes-manager.js (~lines 1260-1340):
The conflict detection flow:
The problem is that Step 2-3 uses the global extension catalog. If extension A and extension B in the global catalog both register a node called \CLIPTextEncode\ (a built-in ComfyUI node), they both get flagged as conflicting even if neither is installed locally.
Suggested Fix
Filter the extension-node-map to only include locally installed extensions before computing conflicts.
In \custom-nodes-manager.js, after fetching the mappings data, filter the entries to only include those whose URL matches a locally installed custom node folder (by checking folder names or git remotes in \custom_nodes\ directory).
Alternatively, add a separate API endpoint that returns mappings only for locally installed extensions.
Environment
Reported after analyzing the source code of comfyui_manager js/custom-nodes-manager.js and the extension-node-map.json cache structure.