Skip to content

feat: Add support for Seed node (CORE-295)#14616

Merged
alexisrolland merged 3 commits into
Comfy-Org:masterfrom
yousef-rafat:simple-seed-backend
Jun 25, 2026
Merged

feat: Add support for Seed node (CORE-295)#14616
alexisrolland merged 3 commits into
Comfy-Org:masterfrom
yousef-rafat:simple-seed-backend

Conversation

@yousef-rafat

@yousef-rafat yousef-rafat commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Add a simple seed node with a randomize button:

{C8E45A4E-1E08-4F27-A739-291229F041D2}
@coderabbitai

coderabbitai Bot commented Jun 24, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

A new built-in extra node module, comfy_extras/nodes_seed.py, is added. It defines SeedNode, which registers with a single integer seed input and returns that value as its output. SeedExtension exposes the node through get_node_list, and comfy_entrypoint returns a SeedExtension instance. The module is added to init_builtin_extra_nodes() in nodes.py for startup autoloading.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 20.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: adding simple seed support.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description check ✅ Passed The description matches the change set by describing the new simple seed node and its randomize-button UI.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@alexisrolland alexisrolland merged commit b22d0fb into Comfy-Org:master Jun 25, 2026
14 checks passed
@alexisrolland alexisrolland changed the title feat: Add Support For Simple Seed (CORE-295) Jun 25, 2026
zhangp365 pushed a commit to zhangp365/ComfyUI that referenced this pull request Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants