ComfyUI will sometimes randomly revert work to a previous state
Custom Node Testing
- [ ] I have tried disabling custom nodes and the issue persists (see how to disable custom nodes if you need help)
Your question
Sometimes when working on my workflows, it will randomly revert to a previous state (even if i save). I have no idea what the specific conditions are for this to happen.
E.g. open a subgraph, change some stuff, exit the subgraph, and the changes are gone. Or open a different workflow, come back, and it has gone back.
Mostly posting to see if someone very familiar with ComfyUI recognizes this type of issue.
Logs
Other
No response
I'm also seeing this, especially as it relates to subgraphs. It can also be triggered by undo/redo operations. I've seen it a fair amount but most recently it appears all of the subgraphs I painstakingly fixed have gone back to a broken state from yesterday (multiple restarts ago, including restarting the browser)
Also worth adding that what I'm seeing appears to be related to copy/pasting subgraphs. The issue I fixed yesterday that came back also reappeared in subgraphs that didn't exist yesterday (which were copied/pasted from the fixed subgraphs). It seems like maybe there's some id collisions going on somewhere? Like maybe subgraphs within subgraphs are accidentally sharing the same child nodes?
Thanks for the information I suppose as more people experience this bug it will probably get fixed eventually
What version of the app are you on?
I'm also seeing this, especially as it relates to subgraphs. It can also be triggered by undo/redo operations. I've seen it a fair amount but most recently it appears all of the subgraphs I painstakingly fixed have gone back to a broken state from yesterday (multiple restarts ago, including restarting the browser)
Same thing. glad to see it's not just me, or I would go crazy! Seems like undo/redo is broken, and a quick look at the Discord server tells me it's still going on.
Can report the same. The issue is happening after I've made a copy of the subgraph. Some changes are now not saved in the original subgraph.
I have been avoiding subgraphs for the time being and have not had any issues since I stopped messing with them. That said, I really really want to be able to use them; I've been a little busy lately but when next I get a chance I'll try getting the latest version and playing with it all again
This might be related to this bug: https://github.com/Comfy-Org/ComfyUI_frontend/issues/5749
This might be related to this bug: Comfy-Org/ComfyUI_frontend#5749
I personally never use reroutes in subgraphs. That being said, there's hasn't been a workflow "reset" since the last update, though I avoid "ctrl+z" at all cost, and only have one workflow open at a time.
I am also seeing that when I save, it opens the newly saved workflow, but it's actually the old one reloaded. I am at the point where I export workflows as a backup to make sure I have the newest one around.
I can't confirm that it's with Subgraphs, as I am fading them out again, because it's clumsy (order or inputs) and unreliable.
If it helps, here's my version info (Ubuntu on WSL2): Total VRAM 24564 MB, total RAM 46952 MB pytorch version: 2.9.0.dev20250719+cu129 Set vram state to: NORMAL_VRAM Device: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync Using pytorch attention Python version: 3.10.18 (main, Jun 5 2025, 13:14:17) [GCC 11.2.0] ComfyUI version: 0.3.60 ComfyUI frontend version: 1.28.3
This issue is being marked stale because it has not had any activity for 30 days. Reply below within 7 days if your issue still isn't solved, and it will be left open. Otherwise, the issue will be closed automatically.