[GH-ISSUE #1499] [DevTask] Offer access to the initial nodeVersions metadata after workflow load #629

Closed
opened 2026-10-27 21:20:06 +00:00 by bsakaguchi · 3 comments
Owner

Originally created by @huchenlei on GitHub (Jan 30, 2025).
Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/1499

Originally assigned to: @huchenlei on GitHub.

After a workflow has been loaded, we should save the initial nodeVersions metadata somewhere so that ComfyUI-Manager can utilize it to install exact versions of custom nodes to reproduce a workflow.

Originally created by @huchenlei on GitHub (Jan 30, 2025). Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/1499 Originally assigned to: @huchenlei on GitHub. After a workflow has been loaded, we should save the initial `nodeVersions` metadata somewhere so that ComfyUI-Manager can utilize it to install exact versions of custom nodes to reproduce a workflow.
bsakaguchi 2026-10-27 21:20:06 +00:00
Author
Owner

@christian-byrne commented on GitHub (Feb 9, 2025):

The node_versions is available at:

app.extensionManager.workflow.activeWorkflow.initialState.extra.node_versions
<!-- gh-comment-id:2646054099 --> @christian-byrne commented on GitHub (Feb 9, 2025): The `node_versions` is available at: ```javascript app.extensionManager.workflow.activeWorkflow.initialState.extra.node_versions ```
Author
Owner

@ltdrdata commented on GitHub (Feb 16, 2025):

The node_versions is available at:

app.extensionManager.workflow.activeWorkflow.initialState.extra.node_versions

Which front version is this implemented in?
As of v1.10.1, it appears to be in the current import state rather than a loaded workflow state.

Flux.GGUF.with.Upscaler (1).json
You can see this node version from attached workflow.

    "node_versions": {
      "comfy-core": "0.3.12",
      "ComfyUI-GGUF": "5875c52f59baca3a9372d68c43a3775e21846fe0",
      "comfyui-unload-model": "90f6043f46b3164a35fcfeb72dae4beb4d98577a"
    },

I have reproduced with follwing steps:

  1. uninstall ComfyUI-GGUF
  2. restart ComfyUI
  3. drag&drop the workflow
  4. set break on getMissingNodes function in custom-nodes-manager.js
  5. click Install Missing Custom Nodes
  6. Check app.extensionManager.workflow.activeWorkflow.initialState.extra.node_versions at the break point.

I can see installed comfyui-unload-model but I cannot see ComfyUI-GGUF

Image

<!-- gh-comment-id:2661392920 --> @ltdrdata commented on GitHub (Feb 16, 2025): > The `node_versions` is available at: > > app.extensionManager.workflow.activeWorkflow.initialState.extra.node_versions Which front version is this implemented in? As of `v1.10.1`, it appears to be in the current import state rather than a loaded workflow state. [Flux.GGUF.with.Upscaler (1).json](https://github.com/user-attachments/files/18814568/Flux.GGUF.with.Upscaler.1.json) You can see this node version from attached workflow. ``` "node_versions": { "comfy-core": "0.3.12", "ComfyUI-GGUF": "5875c52f59baca3a9372d68c43a3775e21846fe0", "comfyui-unload-model": "90f6043f46b3164a35fcfeb72dae4beb4d98577a" }, ``` I have reproduced with follwing steps: 1. uninstall ComfyUI-GGUF 2. restart ComfyUI 3. drag&drop the workflow 4. set break on getMissingNodes function in custom-nodes-manager.js 5. click `Install Missing Custom Nodes` 6. Check `app.extensionManager.workflow.activeWorkflow.initialState.extra.node_versions` at the break point. I can see installed `comfyui-unload-model` but I cannot see `ComfyUI-GGUF` ![Image](https://github.com/user-attachments/assets/24edc53c-c81f-419b-bb77-bef777fdc106)
Author
Owner

@christian-byrne commented on GitHub (Feb 17, 2025):

I can look into it again

<!-- gh-comment-id:2663651810 --> @christian-byrne commented on GitHub (Feb 17, 2025): I can look into it again
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/ComfyUI-Manager#629
No description provided.