Comfy-Org / Comfy-Org/ComfyUI_frontend

[Bug]: Workflow progress for running workflow persists in nodes of separate open workflows

Open
#1,293 0 comments 0 reactions 0 assignees View on GitHub
Potential Bug
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

Description

### Frontend Version

1.3.11

### Expected Behavior

When I select a different open workflow from the side bar workflows menu, it should only show green-highlighted and previews in the node area if it's currently the workflow being processed.

### Actual Behavior

However, when I select a different workflow from the one that is currently being executed, it still shows matching-node progress in the workflow that isn't actually running.

### Steps to Reproduce

Save a workflow (call it Workflow1). Duplicate Workflow1 and save it as Workflow2. Change some things on Workflow2. Click Queue on Workflow2. Switch back to Workflow1 from the side menu. You will see your Ksampler being run within the Workflow1 working area, even though it's Workflow2 that is being processed.

### Debug Logs

```powershell
(There are no error messages)
got prompt
100%|██████████████████████████████████████████████████████████████████████████████████| 24/24 [02:55<00:00, 7.30s/it]
Requested to load AutoencodingEngine
Loading 1 new model
loaded completely 0.0 159.87335777282715 True
Prompt executed in 186.79 seconds
79%|████████████████████████████████████████████████████████████████▉ | 19/24 [02:18<00:36, 7.31s/it]fatal: No names found, cannot describe anything.
Failed to get ComfyUI version: Command '['git', 'describe', '--tags']' returned non-zero exit status 128.
100%|██████████████████████████████████████████████████████████████████████████████████| 24/24 [02:55<00:00, 7.31s/it]
Requested to load AutoencodingEngine
Loading 1 new model
loaded completely 0.0 159.87335777282715 True
Prompt executed in 178.48 seconds
100%|██████████████████████████████████████████████████████████████████████████████████| 24/24 [02:55<00:00, 7.31s/it]
Requested to load AutoencodingEngine
Loading 1 new model
loaded completely 0.0 159.87335777282715 True
Prompt executed in 178.93 seconds
96%|██████████████████████████████████████████████████████████████████████████████▌ | 23/24 [02:47<00:07, 7.28s/it]
```

### Browser Logs

Browser Console Mode
Parent process only(Fast)
Multiprocess(Slower)
Experiment add-an-image-to-pdf-with-alt-text-rollout has unknown featureId: addAnImageInPDF [RemoteSettingsExperimentLoader.sys.mjs:709:21](resource://nimbus/lib/RemoteSettingsExperimentLoader.sys.mjs)
Experiment tab-hover-preview-release-rollout has unknown featureId: tabPreview [RemoteSettingsExperimentLoader.sys.mjs:709:21](resource://nimbus/lib/RemoteSettingsExperimentLoader.sys.mjs)
Experiment add-an-image-to-pdf-with-alt-text-rollout has unknown featureId: addAnImageInPDF [RemoteSettingsExperimentLoader.sys.mjs:709:21](resource://nimbus/lib/RemoteSettingsExperimentLoader.sys.mjs)
Experiment tab-hover-preview-release-rollout has unknown featureId: tabPreview [RemoteSettingsExperimentLoader.sys.mjs:709:21](resource://nimbus/lib/RemoteSettingsExperimentLoader.sys.mjs)
WindowsJumpLists: Failed to fetch favicon for http://127.0.0.1:8188/ NS_ERROR_FAILURE: [WindowsJumpLists.sys.mjs:257:29](resource:///modules/WindowsJumpLists.sys.mjs)
WindowsJumpLists: Failed to fetch favicon for http://127.0.0.1:8188/ NS_ERROR_FAILURE: [WindowsJumpLists.sys.mjs:257:29](resource:///modules/WindowsJumpLists.sys.mjs)
WindowsJumpLists: Failed to fetch favicon for http://127.0.0.1:8188/ NS_ERROR_FAILURE: [WindowsJumpLists.sys.mjs:257:29](resource:///modules/WindowsJumpLists.sys.mjs)
WindowsJumpLists: Failed to fetch favicon for http://127.0.0.1:8188/ NS_ERROR_FAILURE: [WindowsJumpLists.sys.mjs:257:29](resource:///modules/WindowsJumpLists.sys.mjs)
WindowsJumpLists: Failed to fetch favicon for http://127.0.0.1:8188/ NS_ERROR_FAILURE: [WindowsJumpLists.sys.mjs:257:29](resource:///modules/WindowsJumpLists.sys.mjs)
Referrer Policy: Ignoring the less restricted referrer policy “no-referrer-when-downgrade” for the cross-site request: https://raw.githubusercontent.com/comfyanonymous/ComfyUI/master/comfyui_screenshot.png [comfyui_screenshot.png](https://raw.githubusercontent.com/comfyanonymous/ComfyUI/master/comfyui_screenshot.png)
WindowsJumpLists: Failed to fetch favicon for http://127.0.0.1:8188/ NS_ERROR_FAILURE: [WindowsJumpLists.sys.mjs:257:29](resource:///modules/WindowsJumpLists.sys.mjs)
WindowsJumpLists: Failed to fetch favicon for http://127.0.0.1:8188/ NS_ERROR_FAILURE: [WindowsJumpLists.sys.mjs:257:29](resource:///modules/WindowsJumpLists.sys.mjs)
WindowsJumpLists: Failed to fetch favicon for http://127.0.0.1:8188/ NS_ERROR_FAILURE: [WindowsJumpLists.sys.mjs:257:29](resource:///modules/WindowsJumpLists.sys.mjs)
WindowsJumpLists: Failed to fetch favicon for http://127.0.0.1:8188/ NS_ERROR_FAILURE: [WindowsJumpLists.sys.mjs:257:29](resource:///modules/WindowsJumpLists.sys.mjs)
Warning: attempting to write 6531 bytes to preference browser.topsites.contile.cachedTiles. This is bad for general performance and memory usage. Such an amount of data should rather be written to an external file.
WindowsJumpLists: Failed to fetch favicon for http://127.0.0.1:8188/ NS_ERROR_FAILURE: [WindowsJumpLists.sys.mjs:257:29](resource:///modules/WindowsJumpLists.sys.mjs)
WindowsJumpLists: Failed to fetch favicon for http://127.0.0.1:8188/ NS_ERROR_FAILURE: [WindowsJumpLists.sys.mjs:257:29](resource:///modules/WindowsJumpLists.sys.mjs)

### What browsers do you use to access the UI ?

Mozilla Firefox, Microsoft Edge

### Other

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.