Comfy-Org / Comfy-Org/ComfyUI

Nodes set to change on generate run when disabled/bypassed

Open
#11,751 0 comments 0 reactions 0 assignees View on GitHub
Potential Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 6h
Merged PRs (30d)
155

Description

### Custom Node Testing

- [x] 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

Disabling or bypassing an integer node that is set to an option other than fixed should prevent the value from changing when the workflow is ran

### Actual Behavior

Integer nodes* set to options other than fixed still change value when disabled or bypassed
`* and other nodes that have similar functions to change on run`

### Steps to Reproduce

Create empty workflow
Add Int primitive connected to preview as text (to prevent errors for not having an output for the workflow)
Add second Int primitive set to any option other than fixed
Bypass, set to mode never, or otherwise disable the second Int primitive via custom node
Run workflow
Observe that second Int changes value

[Bug Report 8Jan26.json](https://github.com/user-attachments/files/24518411/Bug.Report.8Jan26.json)

### Debug Logs

```powershell
** ComfyUI startup time: 2026-01-08 22:27:20.384
[2026-01-08 22:27:20.384] ** Platform: Windows
[2026-01-08 22:27:20.384] ** Python version: 3.12.11 (main, Aug 18 2025, 19:17:54) [MSC v.1944 64 bit (AMD64)]
[2026-01-08 22:27:20.384] ** Python executable: C:\Users\cassi\Documents\ComfyUI\.venv\Scripts\python.exe
[2026-01-08 22:27:20.384] ** ComfyUI Path: C:\Users\cassi\Desktop\AI_ART\ComfyUI\resources\ComfyUI
[2026-01-08 22:27:20.384] ** ComfyUI Base Folder Path: C:\Users\cassi\Desktop\AI_ART\ComfyUI\resources\ComfyUI
[2026-01-08 22:27:20.384] ** User directory: C:\Users\cassi\Documents\ComfyUI\user
[2026-01-08 22:27:20.384] ** ComfyUI-Manager config path: C:\Users\cassi\Documents\ComfyUI\user\__manager\config.ini
[2026-01-08 22:27:20.384] ** Log path: C:\Users\cassi\Documents\ComfyUI\user\comfyui.log
[ComfyUI-Manager] Skipped fixing the 'comfyui-frontend-package' dependency because the ComfyUI is outdated.
[2026-01-08 22:27:21.608] [PRE] ComfyUI-Manager
[2026-01-08 22:27:22.944] Checkpoint files will always be loaded safely.
[2026-01-08 22:27:23.110] Total VRAM 24576 MB, total RAM 130166 MB
[2026-01-08 22:27:23.110] pytorch version: 2.9.1+cu130
[2026-01-08 22:27:23.111] Set vram state to: NORMAL_VRAM
[2026-01-08 22:27:23.111] Device: cuda:0 NVIDIA GeForce RTX 3090 : cudaMallocAsync
[2026-01-08 22:27:23.126] Using async weight offloading with 2 streams
[2026-01-08 22:27:23.131] Enabled pinned memory 58574.0
[2026-01-08 22:27:23.135] working around nvidia conv3d memory bug.
[2026-01-08 22:27:24.036] Found comfy_kitchen backend cuda: {'available': True, 'disabled': False, 'unavailable_reason': None, 'capabilities': ['apply_rope', 'apply_rope1', 'dequantize_nvfp4', 'dequantize_per_tensor_fp8', 'quantize_nvfp4', 'quantize_per_tensor_fp8', 'scaled_mm_nvfp4']}
[2026-01-08 22:27:24.036] Found comfy_kitchen backend eager: {'available': True, 'disabled': False, 'unavailable_reason': None, 'capabilities': ['apply_rope', 'apply_rope1', 'dequantize_nvfp4', 'dequantize_per_tensor_fp8', 'quantize_nvfp4', 'quantize_per_tensor_fp8', 'scaled_mm_nvfp4']}
[2026-01-08 22:27:24.036] Found comfy_kitchen backend triton: {'available': False, 'disabled': True, 'unavailable_reason': "ImportError: No module named 'triton'", 'capabilities': []}
[2026-01-08 22:27:24.254] Using pytorch attention
[2026-01-08 22:27:26.074] Python version: 3.12.11 (main, Aug 18 2025, 19:17:54) [MSC v.1944 64 bit (AMD64)]
[2026-01-08 22:27:26.074] ComfyUI version: 0.8.2
[2026-01-08 22:27:26.106] [Prompt Server] web root: C:\Users\cassi\Desktop\AI_ART\ComfyUI\resources\ComfyUI\web_custom_versions\desktop_app
[2026-01-08 22:27:26.106] [START] ComfyUI-Manager
[2026-01-08 22:27:26.404] [ComfyUI-Manager] network_mode: public
[2026-01-08 22:27:26.412] [ComfyUI-Manager] The matrix sharing feature has been disabled because the `matrix-nio` dependency is not installed.
To use this feature, please run the following command:
C:\Users\cassi\Documents\ComfyUI\.venv\Scripts\python.exe -m pip install matrix-nio

[2026-01-08 22:27:26.992] Total VRAM 24576 MB, total RAM 130166 MB
[2026-01-08 22:27:26.992] pytorch version: 2.9.1+cu130
[2026-01-08 22:27:26.993] Set vram state to: NORMAL_VRAM
[2026-01-08 22:27:26.993] Device: cuda:0 NVIDIA GeForce RTX 3090 : cudaMallocAsync
[2026-01-08 22:27:27.009] Using async weight offloading with 2 streams
[2026-01-08 22:27:27.012] Enabled pinned memory 58574.0
[2026-01-08 22:27:27.512] Skipping loading of custom nodes
[2026-01-08 22:27:27.754] Failed to initialize database. Please ensure you have installed the latest requirements. If the error persists, please report this as in future the database will be required: (sqlite3.OperationalError) unable to open database file
(Background on this error at: https://sqlalche.me/e/20/e3q8)
[2026-01-08 22:27:27.816] Starting server

[2026-01-08 22:27:27.816] To see the GUI go to: http://127.0.0.1:8005
[2026-01-08 22:27:34.760] comfyui-frontend-package not found in requirements.txt
[2026-01-08 22:27:48.642] got prompt
[2026-01-08 22:27:48.645] Prompt executed in 0.00 seconds
```

### Other

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the attached Bug Report 8Jan26.json and reproduce the workflow described: two Int primitive nodes, with the second disabled or bypassed and set to a non-fixed option. Trace how the generate run handles disabled nodes and value changes. Done means disabled or bypassed integer-like nodes retain their values while active nodes continue to change as configured.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.