Comfy-Org / Comfy-Org/ComfyUI-Manager
Pure ComfyUI Node Registry nodes missing 'update-state' field — update button never appears - UPDATE: The code fix I tried worked. :)
- Dominant language
- Python
- Stars
- 16.1k
- Forks
- 2.5k
- Avg merge
- 5d 4h
- Merged PRs (30d)
- 13
Description
I have published 2 nodes only through the ComfyUI Registry (not in custom-node-list.json). They install fine but after I updated the registry they never show an update button in the Manager UI, even when a newer version is available on the registry. If I click on "Switch ver" I can select it, but no user is going to find that.
To reproduce:
1. Publish a node only through the registry (no PR to custom-node-list.json)
2. Install it through Manager
3. Publish a new version to the registry
4. Restart ComfyUI — no update button appears
5. Hit /customnode/getlist?mode=cache&channel=default — the node has updatable: true but no update-state field
I *think* that it's because 'update-state' is never updated for CNR nodes. It only updates for custom-node-list nodes. Around line ~3215 where the CNR node is updates 'updatable' bit not 'update-state'
```
if(nodeItem['update-state'] == "true") {
nodeItem.action = 'updatable';
}
```
That last part is a guess but it's different from the part that updates custom-node-list nodes so I took a shot.
Using ComfyUI-Manager 3.0.1
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the ComfyUI-Manager CNR update handling around line ~3215 and reproduce the behavior using /customnode/getlist?mode=cache&channel=default. Compare how CNR nodes set updatable with how custom-node-list nodes set update-state, then verify that an available registry update produces an update button in the Manager UI.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 75/100