Subgraph Promoted widgets showing as Disconnected after upgrading ComfyUI
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 155
Description
### Custom Node Testing
- [ ] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)
### Expected Behavior
For subgraph promoted widgets to appear and not show as Disconnected.
### Actual Behavior
The promoted widget shows as Disconnected.
### Steps to Reproduce
After upgrading comfy to 0.17.0 / 1.41.20 existing workflow Subgraphs showing some widgets as Disconnected. This looks to be for Subgraphs with other Subgraph within them, when trying to promote a widget from the sub-Subgraph to the top Subgraph. This was working fine prior to 0.17.0.
Starting with a new workflow I make a Subgraph with a promoted primitive (level1_value) and another Subgraph that has a promoted primitive (level2_value). Promote the level2_value widget on the sub-Subgraph to the top Subgraph.
The promoted Widget of the nested Subgraph shows as Disconnected.
### Debug Logs
```powershell
N/A
```
### Other
_No response_
Contributor guide
Research direction
Start by reproducing the issue in ComfyUI 0.17.0 / 1.41.20 with nested Subgraphs and promoted primitives, following the steps in the report. Compare the behavior with a pre-upgrade version and trace how the level2_value widget is promoted to the top Subgraph. Done means the nested promoted widget appears connected rather than Disconnected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100