Applying bypass to a subgraph from the context menu does not work.
Custom Node Testing
- [x] I have tried disabling custom nodes and the issue persists (see how to disable custom nodes if you need help)
Expected Behavior
Right-click the subgraph and select Bypass to disable it. It shouldn't work, but it does.
Actual Behavior
Clicking the top icon or pressing the shortcut key works fine, but selecting it with the right-click menu doesn't work. If you right-click to bypass and enter the subgraph, you will see that the nodes inside are not bypassed. So the subgraph is marked as bypassed, but it actually works.
Steps to Reproduce
After activating the subgraph bypass with the right-click menu, then go into the subgraph. Check if the subnodes are disabled.
Debug Logs
not need
Other
No response
@AustinMroz Can you PTAL?
I'm not having any luck with reproducing the issue that "A bypassed subgraph node will still execute the interior nodes if they are not themself bypassed".
I can reproduce the discrepancy that Right Click-> Bypass on a subgraph node functions differently. I'll open a pr to fix this part, but otherwise leave the issue open.
ComfyUI frontend version: 1.25.8
It works as expected. Good job.
I kindly oppose this @m8rr @AustinMroz. I have subgraphs that were commonly used by multiple contexes. Now there's no way to bypass a subgraph in a context without bypassing its content which affects other subgraphs that use it. Setting its mode to never gives an error, cant the values at least be passed to next node when it is set to never?
For furher explanation and reproduce hint; if you copy a subgraph all subgraphs in that subgraph becomes common between two subgraphs. They have the same id and are also defined only once in the .json file meaning they are the same subgraph used across other subgraphs. I've a workflow made on this and it works perfect. People have been reporting that they cant bypass T2V section of my worfklow and I couldnt figure out why it happened.
So there should be an option to only disable the subgraph to stop it from executing but not necessarily disable its content.
Example workflow with subgraphception; https://civitai.com/models/1866565/wan22-continous-generation-subgraphs