From bfede01dd58d8f77e718c6abbb2b5c81ef96c54e Mon Sep 17 00:00:00 2001
From: WildAi <2853742+wildminder@users.noreply.github.com>
Date: Wed, 4 Nov 2026 01:30:20 +0300
Subject: [PATCH] chore(examples): drop the standalone sequence example
workflow
---
README.md | 6 ------
tests/test_example_workflows.py | 28 ++--------------------------
tools/render_workflow_preview.py | 11 ++++-------
3 files changed, 6 insertions(+), 39 deletions(-)
diff --git a/README.md b/README.md
index 749ab43..732929d 100644
--- a/README.md
+++ b/README.md
@@ -183,12 +183,6 @@ Restart ComfyUI. The weights are downloaded automatically on the first run — n
| Workflow | What it shows |
|:---|:---|
| [`example_workflows/keep-workflow.json`](example_workflows/keep-workflow.json) | The shipped example: a single image (with two upscalers) **and** a video sequence. |
-| [`example_workflows/keep-sequence-workflow.json`](example_workflows/keep-sequence-workflow.json) | The sequence node alone: a batch of frames in, PNG previews out. |
-
-
-

-
The sequence example: a graph diagram rendered from the workflow json — not a ComfyUI screenshot.
-
> [!IMPORTANT]
> **The shipped example needs the [VideoHelperSuite](https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite) pack.** It uses the node types `VHS_LoadVideo` (reads the video) and `VHS_VideoCombine` (writes the restored video). VideoHelperSuite is an **optional dependency of the example only** — the pack itself does not import it, and the two other example nodes (and every node of this pack) work without it.
diff --git a/tests/test_example_workflows.py b/tests/test_example_workflows.py
index 3d64ad1..bf26b75 100644
--- a/tests/test_example_workflows.py
+++ b/tests/test_example_workflows.py
@@ -113,15 +113,12 @@ def pack_schemas() -> dict:
@pytest.mark.unit
-def test_the_examples_directory_holds_the_two_workflows():
- """The canonical examples directory holds both example workflows."""
+def test_the_examples_directory_holds_the_shipped_workflow():
+ """The canonical examples directory holds the shipped example workflow."""
names = {path.name for path in _workflow_files()}
assert "keep-workflow.json" in names, (
"the shipped example workflow must stay in example_workflows/"
)
- assert "keep-sequence-workflow.json" in names, (
- "P6.1 adds the sequence example next to the shipped one"
- )
@pytest.mark.unit
@@ -349,24 +346,3 @@ def test_the_shipped_example_uses_the_v3_ids_and_the_vhs_nodes():
"the shipped example is a video workflow - it needs the VideoHelperSuite "
f"nodes {sorted(VHS_NODE_WHITELIST)}"
)
-
-
-@pytest.mark.unit
-def test_the_sequence_example_uses_the_sequence_node_and_png_previews():
- """The sequence example runs the sequence node and writes PNG previews."""
- data = _load(EXAMPLES_DIR / "keep-sequence-workflow.json")
- types = {node.get("type") for node in data["nodes"]}
- assert "KEEP_ProcessImageSequence" in types, (
- "the sequence example must use the KEEP_ProcessImageSequence node"
- )
- assert "KEEP_ModelLoader" in types, (
- "the sequence example must load the model with the KEEP_ModelLoader node"
- )
- # SaveImage writes PNG files (the core node has no other format), the
- # PreviewImage shows the frames in the UI.
- assert "SaveImage" in types, (
- "the sequence example must save the restored frames as PNG previews"
- )
- assert "PreviewImage" in types, (
- "the sequence example must preview the restored frames"
- )
diff --git a/tools/render_workflow_preview.py b/tools/render_workflow_preview.py
index bd0fbd0..b77b6e4 100644
--- a/tools/render_workflow_preview.py
+++ b/tools/render_workflow_preview.py
@@ -1,13 +1,10 @@
-"""Render a preview image of a ComfyUI workflow json (P6.1).
+"""Render a preview image of a ComfyUI workflow json.
-The shipped example workflows carry a preview image next to the workflow
-(``keep-workflow.json`` -> ``keep-workflow.png``). The **sequence** example
-of P6.1 has no ComfyUI screenshot - it was written by hand - so its preview is
-*rendered* from the workflow graph itself by this script:
+This script *renders* a preview from the workflow graph itself:
python tools/render_workflow_preview.py \\
- example_workflows/keep-sequence-workflow.json \\
- example_workflows/keep-sequence-workflow.png
+ example_workflows/keep-workflow.json \\
+ preview.png
The rendered image is a **diagram of the graph** (nodes, titles, widget values
and the links between them) - not a screenshot of the ComfyUI frontend, and it