Files
aigc-home/docs/hel-892/batch180-exact-engine/initial-generated/branch-evidence.json
T

5477 lines
346 KiB
JSON

{
"execution.py:ExecutionResult": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "ExecutionResult",
"lines": [
57,
60
],
"text": "class ExecutionResult(Enum):\n SUCCESS = 0\n FAILURE = 1\n PENDING = 2\n",
"sha256": "ed3832099baaa6c191dad62d3c64edb45b9d319cb0943bb48b694400e91c61d4",
"ast_sha256": "29e22b294c0410d852bb0bdb8c91d9f0919c9e69e65b2dae295b73d124da96d1"
},
"execution.py:DuplicateNodeError": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "DuplicateNodeError",
"lines": [
62,
63
],
"text": "class DuplicateNodeError(Exception):\n pass\n",
"sha256": "98e1b09d7b4aef55eb8f68585803533cc7ccb7490d2b7eeaa806af03196bc333",
"ast_sha256": "614f777f5487636ed3f06774ba3dbffc814d2b6ea4ae17df8c994cf247b2723f"
},
"execution.py:IsChangedCache": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "IsChangedCache",
"lines": [
65,
106
],
"text": "class IsChangedCache:\n def __init__(self, prompt_id: str, dynprompt: DynamicPrompt, outputs_cache: BasicCache):\n self.prompt_id = prompt_id\n self.dynprompt = dynprompt\n self.outputs_cache = outputs_cache\n self.is_changed = {}\n\n async def get(self, node_id):\n if node_id in self.is_changed:\n return self.is_changed[node_id]\n\n node = self.dynprompt.get_node(node_id)\n class_type = node[\"class_type\"]\n class_def = nodes.NODE_CLASS_MAPPINGS[class_type]\n has_is_changed = False\n is_changed_name = None\n if issubclass(class_def, _ComfyNodeInternal) and first_real_override(class_def, \"fingerprint_inputs\") is not None:\n has_is_changed = True\n is_changed_name = \"fingerprint_inputs\"\n elif hasattr(class_def, \"IS_CHANGED\"):\n has_is_changed = True\n is_changed_name = \"IS_CHANGED\"\n if not has_is_changed:\n self.is_changed[node_id] = False\n return self.is_changed[node_id]\n\n if \"is_changed\" in node:\n self.is_changed[node_id] = node[\"is_changed\"]\n return self.is_changed[node_id]\n\n # Intentionally do not use cached outputs here. We only want constants in IS_CHANGED\n input_data_all, _, v3_data = get_input_data(node[\"inputs\"], class_def, node_id, None)\n try:\n is_changed = await _async_map_node_over_list(self.prompt_id, node_id, class_def, input_data_all, is_changed_name, v3_data=v3_data)\n is_changed = await resolve_map_node_over_list_results(is_changed)\n node[\"is_changed\"] = [None if isinstance(x, ExecutionBlocker) else x for x in is_changed]\n except Exception as e:\n logging.warning(\"WARNING: {}\".format(e))\n node[\"is_changed\"] = float(\"NaN\")\n finally:\n self.is_changed[node_id] = node[\"is_changed\"]\n return self.is_changed[node_id]\n",
"sha256": "eed408f5d85a18ae048e7206d6b5c49152f2744ab1b4b31237bf156cb34b3f81",
"ast_sha256": "a3c00511cec9e250e7991344888f5390d894510b7749d8b1d6ee2d58467f3239"
},
"execution.py:IsChangedCache.__init__": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "IsChangedCache.__init__",
"lines": [
66,
70
],
"text": " def __init__(self, prompt_id: str, dynprompt: DynamicPrompt, outputs_cache: BasicCache):\n self.prompt_id = prompt_id\n self.dynprompt = dynprompt\n self.outputs_cache = outputs_cache\n self.is_changed = {}\n",
"sha256": "cccdeda81507c51cd6e98448754cc82b1e59d586cef9dede7851f0010d55a846",
"ast_sha256": "fa1468c765fda5eb509cf7b249809056761dbef416269b41a8434bf8628f4590"
},
"execution.py:IsChangedCache.get": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "IsChangedCache.get",
"lines": [
72,
106
],
"text": " async def get(self, node_id):\n if node_id in self.is_changed:\n return self.is_changed[node_id]\n\n node = self.dynprompt.get_node(node_id)\n class_type = node[\"class_type\"]\n class_def = nodes.NODE_CLASS_MAPPINGS[class_type]\n has_is_changed = False\n is_changed_name = None\n if issubclass(class_def, _ComfyNodeInternal) and first_real_override(class_def, \"fingerprint_inputs\") is not None:\n has_is_changed = True\n is_changed_name = \"fingerprint_inputs\"\n elif hasattr(class_def, \"IS_CHANGED\"):\n has_is_changed = True\n is_changed_name = \"IS_CHANGED\"\n if not has_is_changed:\n self.is_changed[node_id] = False\n return self.is_changed[node_id]\n\n if \"is_changed\" in node:\n self.is_changed[node_id] = node[\"is_changed\"]\n return self.is_changed[node_id]\n\n # Intentionally do not use cached outputs here. We only want constants in IS_CHANGED\n input_data_all, _, v3_data = get_input_data(node[\"inputs\"], class_def, node_id, None)\n try:\n is_changed = await _async_map_node_over_list(self.prompt_id, node_id, class_def, input_data_all, is_changed_name, v3_data=v3_data)\n is_changed = await resolve_map_node_over_list_results(is_changed)\n node[\"is_changed\"] = [None if isinstance(x, ExecutionBlocker) else x for x in is_changed]\n except Exception as e:\n logging.warning(\"WARNING: {}\".format(e))\n node[\"is_changed\"] = float(\"NaN\")\n finally:\n self.is_changed[node_id] = node[\"is_changed\"]\n return self.is_changed[node_id]\n",
"sha256": "d95a3ff3122178730e5ca333a25b95474fc3a363048ee065795a5b8b37263391",
"ast_sha256": "cc6849395a931c345ba18c5ce95be4bd3337d0138ea7c0d533626279328d35c9"
},
"execution.py:CacheEntry": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "CacheEntry",
"lines": [
109,
111
],
"text": "class CacheEntry(NamedTuple):\n ui: dict\n outputs: list\n",
"sha256": "16baa72dd3b961e92298a1033510e190fea555daf123a7791f5e6a210b750ce6",
"ast_sha256": "78fe23c4d55763a1d434b8c8944fb1b71cf2fc9722649a956e2ff20791f2b978"
},
"execution.py:CacheType": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "CacheType",
"lines": [
114,
118
],
"text": "class CacheType(Enum):\n CLASSIC = 0\n LRU = 1\n NONE = 2\n RAM_PRESSURE = 3\n",
"sha256": "baeb47c78a946768ff1e7ba79296eb4767916d91e6df9893e0eee7a479907fcf",
"ast_sha256": "b5e2126d984f26c0f1b1c4d0134aef9f2ee57bfc260243a6626066cd7f322399"
},
"execution.py:CacheSet": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "CacheSet",
"lines": [
121,
160
],
"text": "class CacheSet:\n def __init__(self, cache_type=None, cache_args={}):\n if cache_type == CacheType.NONE:\n self.init_null_cache()\n logging.info(\"Disabling intermediate node cache.\")\n elif cache_type == CacheType.RAM_PRESSURE:\n cache_ram = cache_args.get(\"ram\", 16.0)\n self.init_ram_cache(cache_ram)\n logging.info(\"Using RAM pressure cache.\")\n elif cache_type == CacheType.LRU:\n cache_size = cache_args.get(\"lru\", 0)\n self.init_lru_cache(cache_size)\n logging.info(\"Using LRU cache\")\n else:\n self.init_classic_cache()\n\n self.all = [self.outputs, self.objects]\n\n # Performs like the old cache -- dump data ASAP\n def init_classic_cache(self):\n self.outputs = HierarchicalCache(CacheKeySetInputSignature, enable_providers=True)\n self.objects = HierarchicalCache(CacheKeySetID)\n\n def init_lru_cache(self, cache_size):\n self.outputs = LRUCache(CacheKeySetInputSignature, max_size=cache_size, enable_providers=True)\n self.objects = HierarchicalCache(CacheKeySetID)\n\n def init_ram_cache(self, min_headroom):\n self.outputs = RAMPressureCache(CacheKeySetInputSignature, enable_providers=True)\n self.objects = HierarchicalCache(CacheKeySetID)\n\n def init_null_cache(self):\n self.outputs = NullCache()\n self.objects = NullCache()\n\n def recursive_debug_dump(self):\n result = {\n \"outputs\": self.outputs.recursive_debug_dump(),\n }\n return result\n",
"sha256": "1c6df1993c672f459475c909bf1ea5aecb84f9839c1903b883f30e36ccaeceef",
"ast_sha256": "8e5cee1cd46229343242bf53f88bcd5960623b72bc6257eecd484ce968bd9221"
},
"execution.py:CacheSet.__init__": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "CacheSet.__init__",
"lines": [
122,
137
],
"text": " def __init__(self, cache_type=None, cache_args={}):\n if cache_type == CacheType.NONE:\n self.init_null_cache()\n logging.info(\"Disabling intermediate node cache.\")\n elif cache_type == CacheType.RAM_PRESSURE:\n cache_ram = cache_args.get(\"ram\", 16.0)\n self.init_ram_cache(cache_ram)\n logging.info(\"Using RAM pressure cache.\")\n elif cache_type == CacheType.LRU:\n cache_size = cache_args.get(\"lru\", 0)\n self.init_lru_cache(cache_size)\n logging.info(\"Using LRU cache\")\n else:\n self.init_classic_cache()\n\n self.all = [self.outputs, self.objects]\n",
"sha256": "f972bab9b95395e74d6323f60d0bd0495c288bb7cefb265d45538fd0a367d725",
"ast_sha256": "dcdfa8fa96e3c9471a8080f39d99783a1969743ad47026e11eb1697f2c586a2c"
},
"execution.py:CacheSet.init_classic_cache": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "CacheSet.init_classic_cache",
"lines": [
140,
142
],
"text": " def init_classic_cache(self):\n self.outputs = HierarchicalCache(CacheKeySetInputSignature, enable_providers=True)\n self.objects = HierarchicalCache(CacheKeySetID)\n",
"sha256": "313157c20e59477f0ebba08db62c801a765b3c1010941541ab7e7efe5f621559",
"ast_sha256": "de05d597b669339564b5d47357f6a2dab1a3ec1126c43eb04c62456424b4f808"
},
"execution.py:CacheSet.init_lru_cache": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "CacheSet.init_lru_cache",
"lines": [
144,
146
],
"text": " def init_lru_cache(self, cache_size):\n self.outputs = LRUCache(CacheKeySetInputSignature, max_size=cache_size, enable_providers=True)\n self.objects = HierarchicalCache(CacheKeySetID)\n",
"sha256": "3a56a4cac9e444535db3a172183bfe8c7df67a952072ea924ace07ba1364ec3b",
"ast_sha256": "dc598e389cf96b5db49304ec47849b02789a968bbe2547a9374f917acac92d4c"
},
"execution.py:CacheSet.init_ram_cache": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "CacheSet.init_ram_cache",
"lines": [
148,
150
],
"text": " def init_ram_cache(self, min_headroom):\n self.outputs = RAMPressureCache(CacheKeySetInputSignature, enable_providers=True)\n self.objects = HierarchicalCache(CacheKeySetID)\n",
"sha256": "607ca58bc374635b6ff0915e0b9376b9c253ec8f63641e81bf8785ea737be44d",
"ast_sha256": "115bb5a379d4ef6cf2d5b163bb88b4b615f12b817350d8e7b597fa790c83b97e"
},
"execution.py:CacheSet.init_null_cache": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "CacheSet.init_null_cache",
"lines": [
152,
154
],
"text": " def init_null_cache(self):\n self.outputs = NullCache()\n self.objects = NullCache()\n",
"sha256": "9918147ac961c021a24bc31c37000c6d2a2172bc0c3b34e679d5d05897d5d322",
"ast_sha256": "a8a1f2dbb7a8efc0174310939c9fe45f5764b68c91663aea3778858addf682f8"
},
"execution.py:CacheSet.recursive_debug_dump": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "CacheSet.recursive_debug_dump",
"lines": [
156,
160
],
"text": " def recursive_debug_dump(self):\n result = {\n \"outputs\": self.outputs.recursive_debug_dump(),\n }\n return result\n",
"sha256": "34a5934052b9c1f2490b2cdf81ff2b49601aacf955e72b5ea5214c70740c0f2b",
"ast_sha256": "12b2fb7ee80c3f1f89364d51596f26750c9c231a6ef57bd930ef6c1bbc2c418c"
},
"execution.py:get_input_data": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "get_input_data",
"lines": [
164,
236
],
"text": "def get_input_data(inputs, class_def, unique_id, execution_list=None, dynprompt=None, extra_data={}):\n is_v3 = issubclass(class_def, _ComfyNodeInternal)\n v3_data: io.V3Data = {}\n hidden_inputs_v3 = {}\n valid_inputs = class_def.INPUT_TYPES()\n if is_v3:\n valid_inputs, hidden, v3_data = _io.get_finalized_class_inputs(valid_inputs, inputs)\n input_data_all = {}\n missing_keys = {}\n for x in inputs:\n input_data = inputs[x]\n _, input_category, input_info = get_input_info(class_def, x, valid_inputs)\n def mark_missing():\n missing_keys[x] = True\n input_data_all[x] = (None,)\n if is_link(input_data) and (not input_info or not input_info.get(\"rawLink\", False)):\n input_unique_id = input_data[0]\n output_index = input_data[1]\n if execution_list is None:\n mark_missing()\n continue # This might be a lazily-evaluated input\n cached = execution_list.get_cache(input_unique_id, unique_id)\n if cached is None or cached.outputs is None:\n mark_missing()\n continue\n if output_index >= len(cached.outputs):\n mark_missing()\n continue\n obj = cached.outputs[output_index]\n input_data_all[x] = obj\n elif input_category is not None or (is_v3 and class_def.ACCEPT_ALL_INPUTS):\n input_data_all[x] = [input_data]\n\n if is_v3:\n if hidden is not None:\n if io.Hidden.prompt.name in hidden:\n hidden_inputs_v3[io.Hidden.prompt] = dynprompt.get_original_prompt() if dynprompt is not None else {}\n if io.Hidden.dynprompt.name in hidden:\n hidden_inputs_v3[io.Hidden.dynprompt] = dynprompt\n if io.Hidden.extra_pnginfo.name in hidden:\n hidden_inputs_v3[io.Hidden.extra_pnginfo] = extra_data.get('extra_pnginfo', None)\n if io.Hidden.unique_id.name in hidden:\n hidden_inputs_v3[io.Hidden.unique_id] = unique_id\n if io.Hidden.auth_token_comfy_org.name in hidden:\n hidden_inputs_v3[io.Hidden.auth_token_comfy_org] = extra_data.get(\"auth_token_comfy_org\", None)\n if io.Hidden.api_key_comfy_org.name in hidden:\n hidden_inputs_v3[io.Hidden.api_key_comfy_org] = extra_data.get(\"api_key_comfy_org\", None)\n if io.Hidden.comfy_usage_source.name in hidden:\n hidden_inputs_v3[io.Hidden.comfy_usage_source] = extra_data.get(\"comfy_usage_source\", None)\n if io.Hidden.execution_list.name in hidden:\n hidden_inputs_v3[io.Hidden.execution_list] = execution_list\n else:\n if \"hidden\" in valid_inputs:\n h = valid_inputs[\"hidden\"]\n for x in h:\n if h[x] == \"PROMPT\":\n input_data_all[x] = [dynprompt.get_original_prompt() if dynprompt is not None else {}]\n if h[x] == \"DYNPROMPT\":\n input_data_all[x] = [dynprompt]\n if h[x] == \"EXECUTION_LIST\":\n input_data_all[x] = [execution_list]\n if h[x] == \"EXTRA_PNGINFO\":\n input_data_all[x] = [extra_data.get('extra_pnginfo', None)]\n if h[x] == \"UNIQUE_ID\":\n input_data_all[x] = [unique_id]\n if h[x] == \"AUTH_TOKEN_COMFY_ORG\":\n input_data_all[x] = [extra_data.get(\"auth_token_comfy_org\", None)]\n if h[x] == \"API_KEY_COMFY_ORG\":\n input_data_all[x] = [extra_data.get(\"api_key_comfy_org\", None)]\n if h[x] == \"COMFY_USAGE_SOURCE\":\n input_data_all[x] = [extra_data.get(\"comfy_usage_source\", None)]\n v3_data[\"hidden_inputs\"] = hidden_inputs_v3\n return input_data_all, missing_keys, v3_data\n",
"sha256": "062408eec38cd9521576de645e21d82939e5f0d3d51ddf1720f668af3380aed8",
"ast_sha256": "bc12f800539cfbce5e24f664e6cb0e71eba3ce45b5d65dd8feb4e83ecabda60d"
},
"execution.py:resolve_map_node_over_list_results": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "resolve_map_node_over_list_results",
"lines": [
240,
250
],
"text": "async def resolve_map_node_over_list_results(results):\n remaining = [x for x in results if isinstance(x, asyncio.Task) and not x.done()]\n if len(remaining) == 0:\n return [x.result() if isinstance(x, asyncio.Task) else x for x in results]\n else:\n done, pending = await asyncio.wait(remaining)\n for task in done:\n exc = task.exception()\n if exc is not None:\n raise exc\n return [x.result() if isinstance(x, asyncio.Task) else x for x in results]\n",
"sha256": "16c396e49bfe3abe9bcd199064ec2742734cea02caa9875e38dd108a9a811087",
"ast_sha256": "bc78d7377ff9b68438c20762ed68e4cd091dbf4fcc8616b8185961a70038c448"
},
"execution.py:_async_map_node_over_list": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "_async_map_node_over_list",
"lines": [
252,
328
],
"text": "async def _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, func, allow_interrupt=False, execution_block_cb=None, pre_execute_cb=None, v3_data=None):\n # check if node wants the lists\n input_is_list = getattr(obj, \"INPUT_IS_LIST\", False)\n\n if len(input_data_all) == 0:\n max_len_input = 0\n else:\n max_len_input = max(len(x) for x in input_data_all.values())\n\n # get a slice of inputs, repeat last input when list isn't long enough\n def slice_dict(d, i):\n return {k: v[i if len(v) > i else -1] for k, v in d.items()}\n\n results = []\n async def process_inputs(inputs, index=None, input_is_list=False):\n if allow_interrupt:\n nodes.before_node_execution()\n execution_block = None\n for k, v in inputs.items():\n if input_is_list:\n for e in v:\n if isinstance(e, ExecutionBlocker):\n v = e\n break\n if isinstance(v, ExecutionBlocker):\n execution_block = execution_block_cb(v) if execution_block_cb else v\n break\n if execution_block is None:\n if pre_execute_cb is not None and index is not None:\n pre_execute_cb(index)\n # V3\n if isinstance(obj, _ComfyNodeInternal) or (is_class(obj) and issubclass(obj, _ComfyNodeInternal)):\n # if is just a class, then assign no state, just create clone\n if is_class(obj):\n type_obj = obj\n obj.VALIDATE_CLASS()\n class_clone = obj.PREPARE_CLASS_CLONE(v3_data)\n # otherwise, use class instance to populate/reuse some fields\n else:\n type_obj = type(obj)\n type_obj.VALIDATE_CLASS()\n class_clone = type_obj.PREPARE_CLASS_CLONE(v3_data)\n f = make_locked_method_func(type_obj, func, class_clone)\n # in case of dynamic inputs, restructure inputs to expected nested dict\n if v3_data is not None:\n inputs = _io.build_nested_inputs(inputs, v3_data, input_is_list=input_is_list)\n # V1\n else:\n f = getattr(obj, func)\n if inspect.iscoroutinefunction(f):\n async def async_wrapper(f, prompt_id, unique_id, list_index, args):\n with CurrentNodeContext(prompt_id, unique_id, list_index):\n return await f(**args)\n task = asyncio.create_task(async_wrapper(f, prompt_id, unique_id, index, args=inputs))\n # Give the task a chance to execute without yielding\n await asyncio.sleep(0)\n if task.done():\n result = task.result()\n results.append(result)\n else:\n results.append(task)\n else:\n with CurrentNodeContext(prompt_id, unique_id, index):\n result = f(**inputs)\n results.append(result)\n else:\n results.append(execution_block)\n\n if input_is_list:\n await process_inputs(input_data_all, 0, input_is_list=input_is_list)\n elif max_len_input == 0:\n await process_inputs({})\n else:\n for i in range(max_len_input):\n input_dict = slice_dict(input_data_all, i)\n await process_inputs(input_dict, i)\n return results\n",
"sha256": "efa025ecdf0ae9200ff92bfb61dfce570ed83234fe45f20706382e6d96f4529c",
"ast_sha256": "f24d7d76506b7a16647830b91093cfe6217660ef51b8671c0a7151fcb8870fbc"
},
"execution.py:merge_result_data": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "merge_result_data",
"lines": [
331,
350
],
"text": "def merge_result_data(results, obj):\n # check which outputs need concatenating\n output = []\n output_is_list = [False] * len(results[0])\n if hasattr(obj, \"OUTPUT_IS_LIST\"):\n output_is_list = obj.OUTPUT_IS_LIST\n\n # merge node execution results\n for i, is_list in zip(range(len(results[0])), output_is_list):\n if is_list:\n value = []\n for o in results:\n if isinstance(o[i], ExecutionBlocker):\n value.append(o[i])\n else:\n value.extend(o[i])\n output.append(value)\n else:\n output.append([o[i] for o in results])\n return output\n",
"sha256": "3d1847a677810515fc1a45b1930e7dc701b8b03acf4643680877cae7139fa112",
"ast_sha256": "f347caa26c38ba64742efe5c0e163866ae3890c50b6a5800ef41998604f3a57d"
},
"execution.py:get_output_data": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "get_output_data",
"lines": [
352,
358
],
"text": "async def get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=None, pre_execute_cb=None, v3_data=None):\n return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\n has_pending_task = any(isinstance(r, asyncio.Task) and not r.done() for r in return_values)\n if has_pending_task:\n return return_values, {}, False, has_pending_task\n output, ui, has_subgraph = get_output_from_returns(return_values, obj)\n return output, ui, has_subgraph, False\n",
"sha256": "fc853c9de3a9c2c692e61497fbe8e8bb1e1db94feead00fb43acfe836533524e",
"ast_sha256": "97a5dcdf3db16366546b1a1cd811d6ca6724cbd9b5a6141e3dd22c6aae95c527"
},
"execution.py:get_output_from_returns": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "get_output_from_returns",
"lines": [
360,
423
],
"text": "def get_output_from_returns(return_values, obj):\n results = []\n uis = []\n subgraph_results = []\n has_subgraph = False\n for i in range(len(return_values)):\n r = return_values[i]\n if isinstance(r, dict):\n if 'ui' in r:\n uis.append(r['ui'])\n if 'expand' in r:\n # Perform an expansion, but do not append results\n has_subgraph = True\n new_graph = r['expand']\n result = r.get(\"result\", None)\n if isinstance(result, ExecutionBlocker):\n result = tuple([result] * len(obj.RETURN_TYPES))\n subgraph_results.append((new_graph, result))\n elif 'result' in r:\n result = r.get(\"result\", None)\n if isinstance(result, ExecutionBlocker):\n result = tuple([result] * len(obj.RETURN_TYPES))\n results.append(result)\n subgraph_results.append((None, result))\n elif isinstance(r, _NodeOutputInternal):\n # V3\n if r.ui is not None:\n if isinstance(r.ui, dict):\n uis.append(r.ui)\n else:\n uis.append(r.ui.as_dict())\n if r.expand is not None:\n has_subgraph = True\n new_graph = r.expand\n result = r.result\n if r.block_execution is not None:\n result = tuple([ExecutionBlocker(r.block_execution)] * len(obj.RETURN_TYPES))\n subgraph_results.append((new_graph, result))\n elif r.result is not None:\n result = r.result\n if r.block_execution is not None:\n result = tuple([ExecutionBlocker(r.block_execution)] * len(obj.RETURN_TYPES))\n results.append(result)\n subgraph_results.append((None, result))\n else:\n if isinstance(r, ExecutionBlocker):\n r = tuple([r] * len(obj.RETURN_TYPES))\n results.append(r)\n subgraph_results.append((None, r))\n\n if has_subgraph:\n output = subgraph_results\n elif len(results) > 0:\n output = merge_result_data(results, obj)\n else:\n output = []\n ui = dict()\n # TODO: Think there's an existing bug here\n # If we're performing a subgraph expansion, we probably shouldn't be returning UI values yet.\n # They'll get cached without the completed subgraphs. It's an edge case and I'm not aware of\n # any nodes that use both subgraph expansion and custom UI outputs, but might be a problem in the future.\n if len(uis) > 0:\n ui = {k: [y for x in uis for y in x[k]] for k in uis[0].keys()}\n return output, ui, has_subgraph\n",
"sha256": "dd597a539fadcc94019ee22c99816da635568137a74fbe69013e58c93693ac92",
"ast_sha256": "c1a5d8094611dad458e16ab22174e035e3dd38683b72469d6885c6dc65fa1e28"
},
"execution.py:format_value": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "format_value",
"lines": [
425,
431
],
"text": "def format_value(x):\n if x is None:\n return None\n elif isinstance(x, (int, float, bool, str)):\n return x\n else:\n return str(x)\n",
"sha256": "6022d8b984b407135bd27bb117afaf8f6e13cd69650bd94201e8fec3edd9d50f",
"ast_sha256": "28227fe5094243fd2f479d2877d18c72e4b8c7858bbfdad8dea2f9a36d4b7674"
},
"execution.py:_is_intermediate_output": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "_is_intermediate_output",
"lines": [
433,
436
],
"text": "def _is_intermediate_output(dynprompt, node_id):\n class_type = dynprompt.get_node(node_id)[\"class_type\"]\n class_def = nodes.NODE_CLASS_MAPPINGS[class_type]\n return getattr(class_def, 'HAS_INTERMEDIATE_OUTPUT', False)\n",
"sha256": "a67cd5e13716079de211c558fa7a13b314cd5ce0b1773598709112080e00c911",
"ast_sha256": "daabf25d2b2354770ae6c1cb0fdcf2ba412de450f087be221fcf2316018646bc"
},
"execution.py:execute": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "execute",
"lines": [
439,
663
],
"text": "async def execute(server: \"ExecutionServer\", dynprompt, caches, current_item, extra_data, executed, prompt_id, execution_list, pending_subgraph_results, pending_async_nodes, ui_outputs, asset_manager: AssetManager):\n unique_id = current_item\n real_node_id = dynprompt.get_real_node_id(unique_id)\n display_node_id = dynprompt.get_display_node_id(unique_id)\n parent_node_id = dynprompt.get_parent_node_id(unique_id)\n inputs = dynprompt.get_node(unique_id)['inputs']\n class_type = dynprompt.get_node(unique_id)['class_type']\n class_def = nodes.NODE_CLASS_MAPPINGS[class_type]\n cached = await caches.outputs.get(unique_id)\n if cached is not None:\n emit_cached_output(server, unique_id, display_node_id, cached, prompt_id, ui_outputs, asset_manager)\n get_progress_state().finish_progress(unique_id)\n execution_list.cache_update(unique_id, cached)\n return (ExecutionResult.SUCCESS, None, None)\n\n input_data_all = None\n try:\n if unique_id in pending_async_nodes:\n results = []\n for r in pending_async_nodes[unique_id]:\n if isinstance(r, asyncio.Task):\n try:\n results.append(r.result())\n except Exception as ex:\n # An async task failed - propagate the exception up\n del pending_async_nodes[unique_id]\n raise ex\n else:\n results.append(r)\n del pending_async_nodes[unique_id]\n output_data, output_ui, has_subgraph = get_output_from_returns(results, class_def)\n elif unique_id in pending_subgraph_results:\n cached_results = pending_subgraph_results[unique_id]\n resolved_outputs = []\n for is_subgraph, result in cached_results:\n if not is_subgraph:\n resolved_outputs.append(result)\n else:\n resolved_output = []\n for r in result:\n if is_link(r):\n source_node, source_output = r[0], r[1]\n node_cached = execution_list.get_cache(source_node, unique_id)\n for o in node_cached.outputs[source_output]:\n resolved_output.append(o)\n\n else:\n resolved_output.append(r)\n resolved_outputs.append(tuple(resolved_output))\n output_data = merge_result_data(resolved_outputs, class_def)\n output_ui = []\n del pending_subgraph_results[unique_id]\n has_subgraph = False\n else:\n get_progress_state().start_progress(unique_id)\n input_data_all, missing_keys, v3_data = get_input_data(inputs, class_def, unique_id, execution_list, dynprompt, extra_data)\n if server.client_id is not None:\n server.last_node_id = display_node_id\n server.send_sync(\"executing\", { \"node\": unique_id, \"display_node\": display_node_id, \"prompt_id\": prompt_id }, server.client_id)\n\n obj = await caches.objects.get(unique_id)\n if obj is None:\n obj = class_def()\n await caches.objects.set(unique_id, obj)\n\n if issubclass(class_def, _ComfyNodeInternal):\n lazy_status_present = first_real_override(class_def, \"check_lazy_status\") is not None\n else:\n lazy_status_present = getattr(obj, \"check_lazy_status\", None) is not None\n if lazy_status_present:\n # for check_lazy_status, the returned data should include the original key of the input\n v3_data_lazy = v3_data.copy()\n v3_data_lazy[\"create_dynamic_tuple\"] = True\n required_inputs = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, \"check_lazy_status\", allow_interrupt=True, v3_data=v3_data_lazy)\n required_inputs = await resolve_map_node_over_list_results(required_inputs)\n required_inputs = set(sum([r for r in required_inputs if isinstance(r,list)], []))\n required_inputs = [x for x in required_inputs if isinstance(x,str) and (\n x not in input_data_all or x in missing_keys\n )]\n if len(required_inputs) > 0:\n for i in required_inputs:\n execution_list.make_input_strong_link(unique_id, i)\n return (ExecutionResult.PENDING, None, None)\n if execution_list.is_staged_node_blocked():\n return (ExecutionResult.PENDING, None, None)\n\n def execution_block_cb(block):\n if block.message is not None:\n mes = {\n \"prompt_id\": prompt_id,\n \"node_id\": unique_id,\n \"node_type\": class_type,\n \"executed\": list(executed),\n\n \"exception_message\": f\"Execution Blocked: {block.message}\",\n \"exception_type\": \"ExecutionBlocked\",\n \"traceback\": [],\n \"current_inputs\": [],\n \"current_outputs\": [],\n }\n server.send_sync(\"execution_error\", mes, server.client_id)\n return ExecutionBlocker(None)\n else:\n return block\n def pre_execute_cb(call_index):\n # TODO - How to handle this with async functions without contextvars (which requires Python 3.12)?\n GraphBuilder.set_default_prefix(unique_id, call_index, 0)\n\n try:\n output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\n finally:\n if comfy.memory_management.aimdo_enabled:\n if get_console_log_level(args.verbose) == \"DEBUG\":\n comfy_aimdo.control.analyze()\n comfy.model_prefetch.cleanup_prefetch_queues()\n comfy.model_management.reset_cast_buffers()\n comfy_aimdo.model_vbar.vbars_reset_watermark_limits()\n\n if has_pending_tasks:\n pending_async_nodes[unique_id] = output_data\n unblock = execution_list.add_external_block(unique_id)\n async def await_completion():\n tasks = [x for x in output_data if isinstance(x, asyncio.Task)]\n await asyncio.gather(*tasks, return_exceptions=True)\n unblock()\n asyncio.create_task(await_completion())\n return (ExecutionResult.PENDING, None, None)\n cache_ui_value = ui_outputs.get(unique_id)\n if len(output_ui) > 0:\n output_ui = enrich_output_with_media_metadata(output_ui)\n meta = {\n \"node_id\": unique_id,\n \"display_node\": display_node_id,\n \"parent_node\": parent_node_id,\n \"real_node_id\": real_node_id,\n }\n enriched_output_ui = register_executed_outputs(output_ui, prompt_id, asset_manager)\n ui_outputs[unique_id] = {\"meta\": meta, \"output\": enriched_output_ui}\n cache_ui_value = {\"meta\": meta, \"output\": output_ui}\n if server.client_id is not None:\n server.send_sync(\"executed\", { \"node\": unique_id, \"display_node\": display_node_id, \"output\": enriched_output_ui, \"prompt_id\": prompt_id }, server.client_id)\n if has_subgraph:\n cached_outputs = []\n new_node_ids = []\n new_output_ids = []\n new_output_links = []\n for i in range(len(output_data)):\n new_graph, node_outputs = output_data[i]\n if new_graph is None:\n cached_outputs.append((False, node_outputs))\n else:\n for node_id, node_info in new_graph.items():\n new_node_ids.append(node_id)\n display_id = node_info.get(\"override_display_id\", unique_id)\n dynprompt.add_ephemeral_node(node_id, node_info, unique_id, display_id)\n # Figure out if the newly created node is an output node\n class_type = node_info[\"class_type\"]\n class_def = nodes.NODE_CLASS_MAPPINGS[class_type]\n if hasattr(class_def, 'OUTPUT_NODE') and class_def.OUTPUT_NODE == True:\n new_output_ids.append(node_id)\n for i in range(len(node_outputs)):\n if is_link(node_outputs[i]):\n from_node_id, from_socket = node_outputs[i][0], node_outputs[i][1]\n new_output_links.append((from_node_id, from_socket))\n cached_outputs.append((True, node_outputs))\n new_node_ids = set(new_node_ids)\n for cache in caches.all:\n subcache = await cache.ensure_subcache_for(unique_id, new_node_ids)\n subcache.clean_unused()\n for node_id in new_output_ids:\n execution_list.add_node(node_id)\n execution_list.cache_link(node_id, unique_id)\n for link in new_output_links:\n execution_list.add_strong_link(link[0], link[1], unique_id)\n pending_subgraph_results[unique_id] = cached_outputs\n return (ExecutionResult.PENDING, None, None)\n\n cache_entry = CacheEntry(ui=cache_ui_value, outputs=output_data)\n execution_list.cache_update(unique_id, cache_entry)\n await caches.outputs.set(unique_id, cache_entry)\n\n except comfy.model_management.InterruptProcessingException as iex:\n logging.info(\"Processing interrupted\")\n\n # skip formatting inputs/outputs\n error_details = {\n \"node_id\": real_node_id,\n }\n\n return (ExecutionResult.FAILURE, error_details, iex)\n except Exception as ex:\n typ, _, tb = sys.exc_info()\n exception_type = full_type_name(typ)\n input_data_formatted = {}\n if input_data_all is not None:\n input_data_formatted = {}\n for name, inputs in input_data_all.items():\n input_data_formatted[name] = [format_value(x) for x in inputs]\n\n logging.error(f\"!!! Exception during processing !!! {ex}\")\n logging.error(traceback.format_exc())\n tips = \"\"\n\n if comfy.model_management.is_oom(ex):\n tips = \"This error means you ran out of memory on your GPU.\\n\\nTIPS: If the workflow worked before you might have accidentally set the batch_size to a large number.\"\n logging.info(\"Memory summary:\\n{}\".format(comfy.model_management.debug_memory_summary()))\n logging.error(\"Got an OOM, unloading all loaded models.\")\n comfy.model_management.unload_all_models()\n elif isinstance(ex, RuntimeError) and (\"mat1 and mat2 shapes\" in str(ex)) and \"Sampler\" in class_type:\n tips = \"\\n\\nTIPS: If you have any \\\"Load CLIP\\\" or \\\"*CLIP Loader\\\" nodes in your workflow connected to this sampler node make sure the correct file(s) and type is selected.\"\n\n error_details = {\n \"node_id\": real_node_id,\n \"exception_message\": \"{}\\n{}\".format(ex, tips),\n \"exception_type\": exception_type,\n \"traceback\": traceback.format_tb(tb),\n \"current_inputs\": input_data_formatted\n }\n\n return (ExecutionResult.FAILURE, error_details, ex)\n\n get_progress_state().finish_progress(unique_id)\n executed.add(unique_id)\n\n return (ExecutionResult.SUCCESS, None, None)\n",
"sha256": "47eb3d0f71f3ee646864e58a4618b314ef5ca8e04487df3f4a74f341bc10d390",
"ast_sha256": "adb659a15e088652f12a6cc01d2b05be46f433069b985c0e33276cdf7dea09b9"
},
"execution.py:PromptExecutor": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "PromptExecutor",
"lines": [
665,
845
],
"text": "class PromptExecutor:\n def __init__(self, server: \"ExecutionServer\", cache_type=False, cache_args=None, asset_manager: AssetManager | None = None):\n self.cache_args = cache_args\n self.cache_type = cache_type\n self.server = server\n self.asset_manager = asset_manager if asset_manager is not None else NoAssets(args)\n self.prompt_model_tracker = comfy.model_patcher.PromptModelTracker()\n self.reset()\n\n def reset(self):\n self.caches = CacheSet(cache_type=self.cache_type, cache_args=self.cache_args)\n self.status_messages = []\n self.success = True\n\n def add_message(self, event, data: dict, broadcast: bool):\n data = {\n **data,\n \"timestamp\": int(time.time() * 1000),\n }\n self.status_messages.append((event, data))\n if self.server.client_id is not None or broadcast:\n self.server.send_sync(event, data, self.server.client_id)\n\n def handle_execution_error(self, prompt_id, prompt, current_outputs, executed, error, ex):\n node_id = error[\"node_id\"]\n class_type = prompt[node_id][\"class_type\"]\n\n # First, send back the status to the frontend depending\n # on the exception type\n if isinstance(ex, comfy.model_management.InterruptProcessingException):\n mes = {\n \"prompt_id\": prompt_id,\n \"node_id\": node_id,\n \"node_type\": class_type,\n \"executed\": list(executed),\n }\n self.add_message(\"execution_interrupted\", mes, broadcast=True)\n else:\n mes = {\n \"prompt_id\": prompt_id,\n \"node_id\": node_id,\n \"node_type\": class_type,\n \"executed\": list(executed),\n \"exception_message\": error[\"exception_message\"],\n \"exception_type\": error[\"exception_type\"],\n \"traceback\": error[\"traceback\"],\n \"current_inputs\": error[\"current_inputs\"],\n \"current_outputs\": list(current_outputs),\n }\n self.add_message(\"execution_error\", mes, broadcast=False)\n\n def _notify_prompt_lifecycle(self, event: str, prompt_id: str):\n if not _has_cache_providers():\n return\n\n for provider in _get_cache_providers():\n try:\n if event == \"start\":\n provider.on_prompt_start(prompt_id)\n elif event == \"end\":\n provider.on_prompt_end(prompt_id)\n except Exception as e:\n _cache_logger.warning(f\"Cache provider {provider.__class__.__name__} error on {event}: {e}\")\n\n def execute(self, prompt, prompt_id, extra_data={}, execute_outputs=[]):\n asyncio.run(self.execute_async(prompt, prompt_id, extra_data, execute_outputs))\n\n async def execute_async(self, prompt, prompt_id, extra_data={}, execute_outputs=[]):\n set_preview_method(extra_data.get(\"preview_method\"))\n\n nodes.interrupt_processing(False)\n self.prompt_model_tracker.start()\n\n if \"client_id\" in extra_data:\n self.server.client_id = extra_data[\"client_id\"]\n else:\n self.server.client_id = None\n\n self.status_messages = []\n self.add_message(\"execution_start\", { \"prompt_id\": prompt_id}, broadcast=False)\n\n self._notify_prompt_lifecycle(\"start\", prompt_id)\n ram_headroom = int(self.cache_args[\"ram\"] * (1024 ** 3))\n ram_inactive_headroom = int(self.cache_args[\"ram_inactive\"] * (1024 ** 3))\n ram_release_callback = self.caches.outputs.ram_release if self.cache_type == CacheType.RAM_PRESSURE else None\n comfy.memory_management.set_ram_cache_release_state(ram_release_callback, ram_headroom)\n\n try:\n with torch.inference_mode():\n dynamic_prompt = DynamicPrompt(prompt)\n reset_progress_state(prompt_id, dynamic_prompt)\n add_progress_handler(WebUIProgressHandler(self.server))\n is_changed_cache = IsChangedCache(prompt_id, dynamic_prompt, self.caches.outputs)\n for cache in self.caches.all:\n await cache.set_prompt(dynamic_prompt, prompt.keys(), is_changed_cache)\n cache.clean_unused()\n\n node_ids = list(prompt.keys())\n cache_results = await asyncio.gather(\n *(self.caches.outputs.get(node_id) for node_id in node_ids)\n )\n cached_nodes = [\n node_id for node_id, result in zip(node_ids, cache_results)\n if result is not None\n ]\n\n comfy.model_management.cleanup_models_gc()\n self.add_message(\"execution_cached\",\n { \"nodes\": cached_nodes, \"prompt_id\": prompt_id},\n broadcast=False)\n pending_subgraph_results = {}\n pending_async_nodes = {} # TODO - Unify this with pending_subgraph_results\n ui_node_outputs = {}\n executed = set()\n execution_list = ExecutionList(dynamic_prompt, self.caches.outputs, self.prompt_model_tracker.add)\n current_outputs = self.caches.outputs.all_node_ids()\n for node_id in list(execute_outputs):\n execution_list.add_node(node_id)\n\n while not execution_list.is_empty():\n node_id, error, ex = await execution_list.stage_node_execution()\n if error is not None:\n self.handle_execution_error(prompt_id, dynamic_prompt.original_prompt, current_outputs, executed, error, ex)\n break\n\n assert node_id is not None, \"Node ID should not be None at this point\"\n result, error, ex = await execute(self.server, dynamic_prompt, self.caches, node_id, extra_data, executed, prompt_id, execution_list, pending_subgraph_results, pending_async_nodes, ui_node_outputs, self.asset_manager)\n self.success = result != ExecutionResult.FAILURE\n if result == ExecutionResult.FAILURE:\n self.handle_execution_error(prompt_id, dynamic_prompt.original_prompt, current_outputs, executed, error, ex)\n break\n elif result == ExecutionResult.PENDING:\n execution_list.unstage_node_execution()\n else: # result == ExecutionResult.SUCCESS:\n execution_list.complete_node_execution()\n\n if self.cache_type == CacheType.RAM_PRESSURE:\n ram_release_callback(ram_inactive_headroom)\n ram_shortfall = ram_headroom - comfy.system_memory.virtual_memory_available()\n if ram_shortfall > 0:\n freed = ram_release_callback(ram_headroom, free_active=True, min_entry_size=RAM_CACHE_LARGE_INTERMEDIATE)\n ram_shortfall -= freed\n if comfy.model_management.should_free_pins_for_ram_pressure(ram_shortfall):\n freed = comfy.model_management.free_pins(ram_shortfall + 512 * (1024 ** 2))\n if freed < ram_shortfall:\n if freed > 64 * (1024 ** 2):\n # AIMDO MEM_DECOMMIT can outrun psutil.available catching up.\n time.sleep(0.05)\n ram_release_callback(ram_headroom, free_active=True)\n else:\n # Only execute when the while-loop ends without break\n # Send cached UI for intermediate output nodes that weren't executed\n for node_id in dynamic_prompt.all_node_ids():\n if node_id in executed:\n continue\n if not _is_intermediate_output(dynamic_prompt, node_id):\n continue\n cached = await self.caches.outputs.get(node_id)\n if cached is not None:\n display_node_id = dynamic_prompt.get_display_node_id(node_id)\n emit_cached_output(self.server, node_id, display_node_id, cached, prompt_id, ui_node_outputs, self.asset_manager)\n self.add_message(\"execution_success\", { \"prompt_id\": prompt_id }, broadcast=False)\n\n ui_outputs = {}\n meta_outputs = {}\n for node_id, ui_info in ui_node_outputs.items():\n ui_outputs[node_id] = ui_info[\"output\"]\n meta_outputs[node_id] = ui_info[\"meta\"]\n self.history_result = {\n \"outputs\": ui_outputs,\n \"meta\": meta_outputs,\n }\n self.server.last_node_id = None\n if comfy.model_management.DISABLE_SMART_MEMORY:\n comfy.model_management.unload_all_models()\n finally:\n if self.cache_type == CacheType.RAM_PRESSURE:\n detail(\"RAM cache evictions: prompt=%s active=%s full=%s\", prompt_id, self.caches.outputs.active_evictions, self.caches.outputs.full_evictions)\n comfy.memory_management.set_ram_cache_release_state(None, 0)\n self.prompt_model_tracker.end()\n self._notify_prompt_lifecycle(\"end\", prompt_id)\n",
"sha256": "798e622305eea2514309d2dccc82422bcd312d708c7032e0f85163b7b31b5524",
"ast_sha256": "3efc220b1f6789c6b8f552df58b950553b178722157a73e7b223b1bad164c153"
},
"execution.py:PromptExecutor.__init__": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "PromptExecutor.__init__",
"lines": [
666,
672
],
"text": " def __init__(self, server: \"ExecutionServer\", cache_type=False, cache_args=None, asset_manager: AssetManager | None = None):\n self.cache_args = cache_args\n self.cache_type = cache_type\n self.server = server\n self.asset_manager = asset_manager if asset_manager is not None else NoAssets(args)\n self.prompt_model_tracker = comfy.model_patcher.PromptModelTracker()\n self.reset()\n",
"sha256": "b538033f2a60b70e8f514176e3bb2aaf7d5ac1a076b3ebdf6c6ad9d0f0d9a8e9",
"ast_sha256": "082384b6c79b30120a238d53a07cd5bc2c6884c42a601dc9e740a70c99476211"
},
"execution.py:PromptExecutor.reset": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "PromptExecutor.reset",
"lines": [
674,
677
],
"text": " def reset(self):\n self.caches = CacheSet(cache_type=self.cache_type, cache_args=self.cache_args)\n self.status_messages = []\n self.success = True\n",
"sha256": "775ee9bfb967d1f35a16c09526fb2bed9aea4b6239e033fd706755864963743a",
"ast_sha256": "6c719dd708a41adaa5ff24c881197b1d211cc0cf468a756b999dd091709e5d05"
},
"execution.py:PromptExecutor.add_message": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "PromptExecutor.add_message",
"lines": [
679,
686
],
"text": " def add_message(self, event, data: dict, broadcast: bool):\n data = {\n **data,\n \"timestamp\": int(time.time() * 1000),\n }\n self.status_messages.append((event, data))\n if self.server.client_id is not None or broadcast:\n self.server.send_sync(event, data, self.server.client_id)\n",
"sha256": "8a503317cdfdb87252b2d14190f432bde5d5fc49ece3b716df5963330fd9b5d9",
"ast_sha256": "73266914294025567625bfb5a3cc5cc554a78220d870c3e619ba7fde37c9b468"
},
"execution.py:PromptExecutor.handle_execution_error": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "PromptExecutor.handle_execution_error",
"lines": [
688,
714
],
"text": " def handle_execution_error(self, prompt_id, prompt, current_outputs, executed, error, ex):\n node_id = error[\"node_id\"]\n class_type = prompt[node_id][\"class_type\"]\n\n # First, send back the status to the frontend depending\n # on the exception type\n if isinstance(ex, comfy.model_management.InterruptProcessingException):\n mes = {\n \"prompt_id\": prompt_id,\n \"node_id\": node_id,\n \"node_type\": class_type,\n \"executed\": list(executed),\n }\n self.add_message(\"execution_interrupted\", mes, broadcast=True)\n else:\n mes = {\n \"prompt_id\": prompt_id,\n \"node_id\": node_id,\n \"node_type\": class_type,\n \"executed\": list(executed),\n \"exception_message\": error[\"exception_message\"],\n \"exception_type\": error[\"exception_type\"],\n \"traceback\": error[\"traceback\"],\n \"current_inputs\": error[\"current_inputs\"],\n \"current_outputs\": list(current_outputs),\n }\n self.add_message(\"execution_error\", mes, broadcast=False)\n",
"sha256": "088baf9a915e62eadf54c497d06626089f39628be0ce2901a7cdb881de79bbad",
"ast_sha256": "7c54acb7635ed834bc95623fbc7ef071f25ee54cea109cd5e419290ba7ea9f52"
},
"execution.py:PromptExecutor._notify_prompt_lifecycle": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "PromptExecutor._notify_prompt_lifecycle",
"lines": [
716,
727
],
"text": " def _notify_prompt_lifecycle(self, event: str, prompt_id: str):\n if not _has_cache_providers():\n return\n\n for provider in _get_cache_providers():\n try:\n if event == \"start\":\n provider.on_prompt_start(prompt_id)\n elif event == \"end\":\n provider.on_prompt_end(prompt_id)\n except Exception as e:\n _cache_logger.warning(f\"Cache provider {provider.__class__.__name__} error on {event}: {e}\")\n",
"sha256": "217a7833917aa640e1826e59a5c1555aeb4cbaeca0bb779475ad7b883439ceb1",
"ast_sha256": "00868716a94e3ac752aaa1cedcadcf6f06c0b1c9dfcabc77e4b4c7123af6f3c1"
},
"execution.py:PromptExecutor.execute": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "PromptExecutor.execute",
"lines": [
729,
730
],
"text": " def execute(self, prompt, prompt_id, extra_data={}, execute_outputs=[]):\n asyncio.run(self.execute_async(prompt, prompt_id, extra_data, execute_outputs))\n",
"sha256": "b92cdd018c9004330004ac8d75cde8e1bb6efbca4a253e42751759ce0f77878d",
"ast_sha256": "5e6acf4684ff09ec17a42143eb71c6c10bf034ac7d39a9550da491afe8135f21"
},
"execution.py:PromptExecutor.execute_async": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "PromptExecutor.execute_async",
"lines": [
732,
845
],
"text": " async def execute_async(self, prompt, prompt_id, extra_data={}, execute_outputs=[]):\n set_preview_method(extra_data.get(\"preview_method\"))\n\n nodes.interrupt_processing(False)\n self.prompt_model_tracker.start()\n\n if \"client_id\" in extra_data:\n self.server.client_id = extra_data[\"client_id\"]\n else:\n self.server.client_id = None\n\n self.status_messages = []\n self.add_message(\"execution_start\", { \"prompt_id\": prompt_id}, broadcast=False)\n\n self._notify_prompt_lifecycle(\"start\", prompt_id)\n ram_headroom = int(self.cache_args[\"ram\"] * (1024 ** 3))\n ram_inactive_headroom = int(self.cache_args[\"ram_inactive\"] * (1024 ** 3))\n ram_release_callback = self.caches.outputs.ram_release if self.cache_type == CacheType.RAM_PRESSURE else None\n comfy.memory_management.set_ram_cache_release_state(ram_release_callback, ram_headroom)\n\n try:\n with torch.inference_mode():\n dynamic_prompt = DynamicPrompt(prompt)\n reset_progress_state(prompt_id, dynamic_prompt)\n add_progress_handler(WebUIProgressHandler(self.server))\n is_changed_cache = IsChangedCache(prompt_id, dynamic_prompt, self.caches.outputs)\n for cache in self.caches.all:\n await cache.set_prompt(dynamic_prompt, prompt.keys(), is_changed_cache)\n cache.clean_unused()\n\n node_ids = list(prompt.keys())\n cache_results = await asyncio.gather(\n *(self.caches.outputs.get(node_id) for node_id in node_ids)\n )\n cached_nodes = [\n node_id for node_id, result in zip(node_ids, cache_results)\n if result is not None\n ]\n\n comfy.model_management.cleanup_models_gc()\n self.add_message(\"execution_cached\",\n { \"nodes\": cached_nodes, \"prompt_id\": prompt_id},\n broadcast=False)\n pending_subgraph_results = {}\n pending_async_nodes = {} # TODO - Unify this with pending_subgraph_results\n ui_node_outputs = {}\n executed = set()\n execution_list = ExecutionList(dynamic_prompt, self.caches.outputs, self.prompt_model_tracker.add)\n current_outputs = self.caches.outputs.all_node_ids()\n for node_id in list(execute_outputs):\n execution_list.add_node(node_id)\n\n while not execution_list.is_empty():\n node_id, error, ex = await execution_list.stage_node_execution()\n if error is not None:\n self.handle_execution_error(prompt_id, dynamic_prompt.original_prompt, current_outputs, executed, error, ex)\n break\n\n assert node_id is not None, \"Node ID should not be None at this point\"\n result, error, ex = await execute(self.server, dynamic_prompt, self.caches, node_id, extra_data, executed, prompt_id, execution_list, pending_subgraph_results, pending_async_nodes, ui_node_outputs, self.asset_manager)\n self.success = result != ExecutionResult.FAILURE\n if result == ExecutionResult.FAILURE:\n self.handle_execution_error(prompt_id, dynamic_prompt.original_prompt, current_outputs, executed, error, ex)\n break\n elif result == ExecutionResult.PENDING:\n execution_list.unstage_node_execution()\n else: # result == ExecutionResult.SUCCESS:\n execution_list.complete_node_execution()\n\n if self.cache_type == CacheType.RAM_PRESSURE:\n ram_release_callback(ram_inactive_headroom)\n ram_shortfall = ram_headroom - comfy.system_memory.virtual_memory_available()\n if ram_shortfall > 0:\n freed = ram_release_callback(ram_headroom, free_active=True, min_entry_size=RAM_CACHE_LARGE_INTERMEDIATE)\n ram_shortfall -= freed\n if comfy.model_management.should_free_pins_for_ram_pressure(ram_shortfall):\n freed = comfy.model_management.free_pins(ram_shortfall + 512 * (1024 ** 2))\n if freed < ram_shortfall:\n if freed > 64 * (1024 ** 2):\n # AIMDO MEM_DECOMMIT can outrun psutil.available catching up.\n time.sleep(0.05)\n ram_release_callback(ram_headroom, free_active=True)\n else:\n # Only execute when the while-loop ends without break\n # Send cached UI for intermediate output nodes that weren't executed\n for node_id in dynamic_prompt.all_node_ids():\n if node_id in executed:\n continue\n if not _is_intermediate_output(dynamic_prompt, node_id):\n continue\n cached = await self.caches.outputs.get(node_id)\n if cached is not None:\n display_node_id = dynamic_prompt.get_display_node_id(node_id)\n emit_cached_output(self.server, node_id, display_node_id, cached, prompt_id, ui_node_outputs, self.asset_manager)\n self.add_message(\"execution_success\", { \"prompt_id\": prompt_id }, broadcast=False)\n\n ui_outputs = {}\n meta_outputs = {}\n for node_id, ui_info in ui_node_outputs.items():\n ui_outputs[node_id] = ui_info[\"output\"]\n meta_outputs[node_id] = ui_info[\"meta\"]\n self.history_result = {\n \"outputs\": ui_outputs,\n \"meta\": meta_outputs,\n }\n self.server.last_node_id = None\n if comfy.model_management.DISABLE_SMART_MEMORY:\n comfy.model_management.unload_all_models()\n finally:\n if self.cache_type == CacheType.RAM_PRESSURE:\n detail(\"RAM cache evictions: prompt=%s active=%s full=%s\", prompt_id, self.caches.outputs.active_evictions, self.caches.outputs.full_evictions)\n comfy.memory_management.set_ram_cache_release_state(None, 0)\n self.prompt_model_tracker.end()\n self._notify_prompt_lifecycle(\"end\", prompt_id)\n",
"sha256": "505cfb30b2ba6bb890d579f8fd766a7826a121ef096520cafd838d8ec76805e5",
"ast_sha256": "82e430d8e4b5781d45aae67e53275a5fa98c6f28ab22828427e551dffdabecaa"
},
"execution.py:validate_inputs": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "validate_inputs",
"lines": [
848,
1138
],
"text": "async def validate_inputs(prompt_id, prompt, item, validated, visiting=None):\n if visiting is None:\n visiting = []\n\n unique_id = item\n if unique_id in validated:\n return validated[unique_id]\n\n if unique_id in visiting:\n cycle_path_nodes = visiting[visiting.index(unique_id):] + [unique_id]\n cycle_nodes = list(dict.fromkeys(cycle_path_nodes))\n cycle_path = \" -> \".join(f\"{node_id} ({prompt[node_id]['class_type']})\" for node_id in cycle_path_nodes)\n for node_id in cycle_nodes:\n validated[node_id] = (False, [{\n \"type\": \"dependency_cycle\",\n \"message\": \"Dependency cycle detected\",\n \"details\": cycle_path,\n \"extra_info\": {\n \"node_id\": node_id,\n \"cycle_nodes\": cycle_nodes,\n }\n }], node_id)\n return validated[unique_id]\n\n inputs = prompt[unique_id]['inputs']\n class_type = prompt[unique_id]['class_type']\n obj_class = nodes.NODE_CLASS_MAPPINGS[class_type]\n\n errors = []\n valid = True\n\n v3_data = None\n validate_function_inputs = []\n validate_has_kwargs = False\n if issubclass(obj_class, _ComfyNodeInternal):\n obj_class: _io._ComfyNodeBaseInternal\n class_inputs = obj_class.INPUT_TYPES()\n try:\n class_inputs, _, v3_data = _io.get_finalized_class_inputs(class_inputs, inputs)\n except _io.DynamicInputError as ex:\n errors.append({\n \"type\": \"invalid_dynamic_input\",\n \"message\": \"Invalid dynamic input\",\n \"details\": str(ex),\n \"extra_info\": {\"input_name\": ex.input_name},\n })\n validated[unique_id] = (False, errors, unique_id)\n return validated[unique_id]\n validate_function_name = \"validate_inputs\"\n validate_function = first_real_override(obj_class, validate_function_name)\n else:\n class_inputs = obj_class.INPUT_TYPES()\n validate_function_name = \"VALIDATE_INPUTS\"\n validate_function = getattr(obj_class, validate_function_name, None)\n if validate_function is not None:\n argspec = inspect.getfullargspec(validate_function)\n validate_function_inputs = argspec.args\n validate_has_kwargs = argspec.varkw is not None\n received_types = {}\n\n valid_inputs = set(class_inputs.get('required',{})).union(set(class_inputs.get('optional',{})))\n\n for x in valid_inputs:\n input_type, input_category, extra_info = get_input_info(obj_class, x, class_inputs)\n assert extra_info is not None\n if x not in inputs:\n if input_category == \"required\":\n details = f\"{x}\" if not v3_data else x.split(\".\")[-1]\n error = {\n \"type\": \"required_input_missing\",\n \"message\": \"Required input is missing\",\n \"details\": details,\n \"extra_info\": {\n \"input_name\": x\n }\n }\n errors.append(error)\n continue\n\n val = inputs[x]\n info = (input_type, extra_info)\n if isinstance(val, list):\n if len(val) != 2:\n error = {\n \"type\": \"bad_linked_input\",\n \"message\": \"Bad linked input, must be a length-2 list of [node_id, slot_index]\",\n \"details\": f\"{x}\",\n \"extra_info\": {\n \"input_name\": x,\n \"input_config\": info,\n \"received_value\": val\n }\n }\n errors.append(error)\n continue\n\n o_id = val[0]\n o_class_type = prompt[o_id]['class_type']\n r = nodes.NODE_CLASS_MAPPINGS[o_class_type].RETURN_TYPES\n received_type = r[val[1]]\n received_types[x] = received_type\n if 'input_types' not in validate_function_inputs and not validate_node_input(received_type, input_type):\n details = f\"{x}, received_type({received_type}) mismatch input_type({input_type})\"\n error = {\n \"type\": \"return_type_mismatch\",\n \"message\": \"Return type mismatch between linked nodes\",\n \"details\": details,\n \"extra_info\": {\n \"input_name\": x,\n \"input_config\": info,\n \"received_type\": received_type,\n \"linked_node\": val\n }\n }\n errors.append(error)\n continue\n try:\n visiting.append(unique_id)\n try:\n r = await validate_inputs(prompt_id, prompt, o_id, validated, visiting)\n finally:\n visiting.pop()\n if r[0] is False:\n # `r` will be set in `validated[o_id]` already\n valid = False\n continue\n except Exception as ex:\n typ, _, tb = sys.exc_info()\n valid = False\n exception_type = full_type_name(typ)\n reasons = [{\n \"type\": \"exception_during_inner_validation\",\n \"message\": \"Exception when validating inner node\",\n \"details\": str(ex),\n \"extra_info\": {\n \"input_name\": x,\n \"input_config\": info,\n \"exception_message\": str(ex),\n \"exception_type\": exception_type,\n \"traceback\": traceback.format_tb(tb),\n \"linked_node\": val\n }\n }]\n validated[o_id] = (False, reasons, o_id)\n continue\n else:\n try:\n # Unwraps values wrapped in __value__ key or typed wrapper.\n # This is used to pass list widget values to execution,\n # as by default list value is reserved to represent the\n # connection between nodes.\n if isinstance(val, dict):\n if \"__value__\" in val:\n val = val[\"__value__\"]\n inputs[x] = val\n\n if input_type == \"INT\":\n val = int(val)\n inputs[x] = val\n if input_type == \"FLOAT\":\n val = float(val)\n inputs[x] = val\n if input_type == \"STRING\":\n val = str(val)\n inputs[x] = val\n if input_type == \"BOOLEAN\":\n val = bool(val)\n inputs[x] = val\n except Exception as ex:\n error = {\n \"type\": \"invalid_input_type\",\n \"message\": f\"Failed to convert an input value to a {input_type} value\",\n \"details\": f\"{x}, {val}, {ex}\",\n \"extra_info\": {\n \"input_name\": x,\n \"input_config\": info,\n \"received_value\": val,\n \"exception_message\": str(ex)\n }\n }\n errors.append(error)\n continue\n\n if x not in validate_function_inputs and not validate_has_kwargs:\n if \"min\" in extra_info and val < extra_info[\"min\"]:\n error = {\n \"type\": \"value_smaller_than_min\",\n \"message\": \"Value {} smaller than min of {}\".format(val, extra_info[\"min\"]),\n \"details\": f\"{x}\",\n \"extra_info\": {\n \"input_name\": x,\n \"input_config\": info,\n \"received_value\": val,\n }\n }\n errors.append(error)\n continue\n if \"max\" in extra_info and val > extra_info[\"max\"]:\n error = {\n \"type\": \"value_bigger_than_max\",\n \"message\": \"Value {} bigger than max of {}\".format(val, extra_info[\"max\"]),\n \"details\": f\"{x}\",\n \"extra_info\": {\n \"input_name\": x,\n \"input_config\": info,\n \"received_value\": val,\n }\n }\n errors.append(error)\n continue\n\n if isinstance(input_type, list) or input_type == io.Combo.io_type:\n if input_type == io.Combo.io_type:\n combo_options = extra_info.get(\"options\", [])\n else:\n combo_options = input_type\n is_multiselect = extra_info.get(\"multiselect\", False)\n if is_multiselect and isinstance(val, list):\n invalid_vals = [v for v in val if v not in combo_options]\n else:\n invalid_vals = [val] if val not in combo_options else []\n if invalid_vals:\n input_config = info\n list_info = \"\"\n\n # Don't send back gigantic lists like if they're lots of\n # scanned model filepaths\n if len(combo_options) > 20:\n list_info = f\"(list of length {len(combo_options)})\"\n input_config = None\n else:\n list_info = str(combo_options)\n\n error = {\n \"type\": \"value_not_in_list\",\n \"message\": \"Value not in list\",\n \"details\": f\"{x}: {', '.join(repr(v) for v in invalid_vals)} not in {list_info}\",\n \"extra_info\": {\n \"input_name\": x,\n \"input_config\": input_config,\n \"received_value\": val,\n }\n }\n errors.append(error)\n continue\n\n if len(validate_function_inputs) > 0 or validate_has_kwargs:\n input_data_all, _, v3_data = get_input_data(inputs, obj_class, unique_id)\n dynamic_paths = v3_data.get(\"dynamic_paths\", {})\n if not validate_has_kwargs:\n dynamic_paths = {key: path for key, path in dynamic_paths.items() if path.split(\".\")[0] in validate_function_inputs}\n v3_data = v3_data | {\n \"dynamic_paths\": dynamic_paths,\n \"list_paths\": {path for path in v3_data.get(\"list_paths\", set()) if path.split(\".\")[0] in validate_function_inputs},\n }\n input_filtered = {}\n for x in input_data_all:\n input_name = dynamic_paths[x].split(\".\")[0] if x in dynamic_paths else x\n if input_name in validate_function_inputs or validate_has_kwargs:\n input_filtered[x] = input_data_all[x]\n if 'input_types' in validate_function_inputs:\n input_filtered['input_types'] = [received_types]\n\n ret = await _async_map_node_over_list(prompt_id, unique_id, obj_class, input_filtered, validate_function_name, v3_data=v3_data)\n ret = await resolve_map_node_over_list_results(ret)\n for x in input_filtered or (None,):\n for i, r in enumerate(ret):\n if r is not True and not isinstance(r, ExecutionBlocker):\n details = x if x is not None else \"\"\n if r is not False:\n details = f\"{x} - {r}\" if x is not None else str(r)\n\n error = {\n \"type\": \"custom_validation_failed\",\n \"message\": \"Custom validation failed for node\",\n \"details\": details,\n \"extra_info\": {\"input_name\": x} if x is not None else {},\n }\n errors.append(error)\n continue\n\n ret = validated.get(unique_id, (True, [], unique_id))\n # Recursive cycle detection may have already populated an error on us. Join it.\n ret = (\n ret[0] and valid is True and not errors,\n ret[1] + [error for error in errors if error not in ret[1]],\n unique_id,\n )\n\n validated[unique_id] = ret\n return ret\n",
"sha256": "8e5f68b7fb6ae0fe07411cc27ccbc01e212415bf5fb6291152026014073b7ee9",
"ast_sha256": "c7baeabd594dc6b1146dad5e0d68ca65067a6c2e7b411ce92a432d231218d803"
},
"execution.py:full_type_name": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "full_type_name",
"lines": [
1140,
1144
],
"text": "def full_type_name(klass):\n module = klass.__module__\n if module == 'builtins':\n return klass.__qualname__\n return module + '.' + klass.__qualname__\n",
"sha256": "a1ff3f3bf43e3db92d9724fe2167436a5b5199e31fd996b5edd3728f9ee34204",
"ast_sha256": "c2a26662a1b048637e552c0a01869c563d1a8bfb817ac41aae111cb838008568"
},
"execution.py:validate_prompt": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "validate_prompt",
"lines": [
1146,
1300
],
"text": "async def validate_prompt(prompt_id, prompt, partial_execution_list: Union[list[str], None]):\n outputs = set()\n for x in prompt:\n if 'class_type' not in prompt[x]:\n node_data = prompt[x]\n node_title = node_data.get('_meta', {}).get('title')\n error = {\n \"type\": \"missing_node_type\",\n \"message\": f\"Node '{node_title or f'ID #{x}'}' has no class_type. The workflow may be corrupted or a custom node is missing.\",\n \"details\": f\"Node ID '#{x}'\",\n \"extra_info\": {\n \"node_id\": x,\n \"class_type\": None,\n \"node_title\": node_title\n }\n }\n return (False, error, [], {})\n\n class_type = prompt[x]['class_type']\n class_ = nodes.NODE_CLASS_MAPPINGS.get(class_type, None)\n if class_ is None:\n node_data = prompt[x]\n node_title = node_data.get('_meta', {}).get('title', class_type)\n error = {\n \"type\": \"missing_node_type\",\n \"message\": f\"Node '{node_title}' not found. The custom node may not be installed.\",\n \"details\": f\"Node ID '#{x}'\",\n \"extra_info\": {\n \"node_id\": x,\n \"class_type\": class_type,\n \"node_title\": node_title\n }\n }\n return (False, error, [], {})\n\n if hasattr(class_, 'OUTPUT_NODE') and class_.OUTPUT_NODE is True:\n if partial_execution_list is None or x in partial_execution_list:\n outputs.add(x)\n\n if len(outputs) == 0:\n error = {\n \"type\": \"prompt_no_outputs\",\n \"message\": \"Prompt has no outputs\",\n \"details\": \"\",\n \"extra_info\": {}\n }\n return (False, error, [], {})\n\n start_nodes = set()\n end_nodes = set()\n for node_id, node in prompt.items():\n class_def = nodes.NODE_CLASS_MAPPINGS[node[\"class_type\"]]\n boundary = class_def.GET_SCHEMA().loop_boundary if issubclass(class_def, _ComfyNodeInternal) else None\n if boundary == \"start\":\n start_nodes.add(node_id)\n elif boundary == \"end\":\n end_nodes.add(node_id)\n\n good_outputs = set()\n errors = []\n node_errors = {}\n validated = {}\n for o in outputs:\n valid = False\n reasons = []\n try:\n m = await validate_inputs(prompt_id, prompt, o, validated)\n valid = m[0]\n reasons = m[1]\n except Exception as ex:\n typ, _, tb = sys.exc_info()\n valid = False\n exception_type = full_type_name(typ)\n reasons = [{\n \"type\": \"exception_during_validation\",\n \"message\": \"Exception when validating node\",\n \"details\": str(ex),\n \"extra_info\": {\n \"exception_type\": exception_type,\n \"traceback\": traceback.format_tb(tb)\n }\n }]\n validated[o] = (False, reasons, o)\n\n if valid is True:\n good_outputs.add(o)\n else:\n logging.error(f\"Failed to validate prompt for output {o}:\")\n if len(reasons) > 0:\n logging.error(\"* (prompt):\")\n for reason in reasons:\n logging.error(f\" - {reason['message']}: {reason['details']}\")\n errors += [(o, reasons)]\n for node_id, result in validated.items():\n valid = result[0]\n reasons = result[1]\n # If a node upstream has errors, the nodes downstream will also\n # be reported as invalid, but there will be no errors attached.\n # So don't return those nodes as having errors in the response.\n if valid is not True and len(reasons) > 0:\n if node_id not in node_errors:\n class_type = prompt[node_id]['class_type']\n node_errors[node_id] = {\n \"errors\": reasons,\n \"dependent_outputs\": [],\n \"class_type\": class_type\n }\n logging.error(f\"* {class_type} {node_id}:\")\n for reason in reasons:\n logging.error(f\" - {reason['message']}: {reason['details']}\")\n node_errors[node_id][\"dependent_outputs\"].append(o)\n logging.error(\"Output will be ignored\")\n\n has_dependency_cycle = any(\n reason[\"type\"] == \"dependency_cycle\"\n for valid, reasons, _ in validated.values()\n for reason in reasons\n )\n if not has_dependency_cycle:\n try:\n validate_loops(prompt, outputs, validated, start_nodes, end_nodes)\n except LoopValidationError as ex:\n dependent_outputs = ex.error[\"extra_info\"][\"output_ids\"]\n for node_id in ex.error[\"extra_info\"][\"node_ids\"]:\n if node_id not in node_errors:\n node_errors[node_id] = {\n \"errors\": [],\n \"dependent_outputs\": [],\n \"class_type\": prompt[node_id][\"class_type\"],\n }\n node_errors[node_id][\"errors\"].append(ex.error)\n node_errors[node_id][\"dependent_outputs\"] = sorted(\n set(node_errors[node_id][\"dependent_outputs\"]).union(dependent_outputs)\n )\n for output_id in dependent_outputs:\n good_outputs.discard(output_id)\n errors.append((dependent_outputs[0], [ex.error]))\n\n if len(good_outputs) == 0:\n errors_list = []\n for o, errors in errors:\n for error in errors:\n errors_list.append(f\"{error['message']}: {error['details']}\")\n errors_list = \"\\n\".join(errors_list)\n\n error = {\n \"type\": \"prompt_outputs_failed_validation\",\n \"message\": \"Prompt outputs failed validation\",\n \"details\": errors_list,\n \"extra_info\": {}\n }\n\n return (False, error, list(good_outputs), node_errors)\n\n return (True, None, list(good_outputs), node_errors)\n",
"sha256": "2bc2542e60896407aa51fa02c30f586efa90b2d41246d91f660615a2fbfb5dd3",
"ast_sha256": "281c07b6194de47d54155737dbac1cbc2d339eab1e18fca42d0cfd1c96bf6722"
},
"execution.py:PromptQueue": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "PromptQueue",
"lines": [
1304,
1464
],
"text": "class PromptQueue:\n def __init__(self, server: \"ExecutionServer\"):\n self.server = server\n self.mutex = threading.RLock()\n self.not_empty = threading.Condition(self.mutex)\n self.task_counter = 0\n self.queue = []\n self.currently_running = {}\n self.history = {}\n self.flags = {}\n\n def put(self, item):\n with self.mutex:\n heapq.heappush(self.queue, item)\n self.server.queue_updated()\n self.not_empty.notify()\n\n def get(self, timeout=None):\n with self.not_empty:\n while len(self.queue) == 0:\n self.not_empty.wait(timeout=timeout)\n if timeout is not None and len(self.queue) == 0:\n return None\n item = heapq.heappop(self.queue)\n i = self.task_counter\n self.currently_running[i] = copy.deepcopy(item)\n self.task_counter += 1\n self.server.queue_updated()\n return (item, i)\n\n class ExecutionStatus(NamedTuple):\n status_str: Literal['success', 'error']\n completed: bool\n messages: List[str]\n\n def task_done(self, item_id, history_result,\n status: Optional['PromptQueue.ExecutionStatus'], process_item=None):\n with self.mutex:\n prompt = self.currently_running.pop(item_id)\n if len(self.history) > MAXIMUM_HISTORY_SIZE:\n self.history.pop(next(iter(self.history)))\n\n status_dict: Optional[dict] = None\n if status is not None:\n status_dict = copy.deepcopy(status._asdict())\n\n if process_item is not None:\n prompt = process_item(prompt)\n\n self.history[prompt[1]] = {\n \"prompt\": prompt,\n \"outputs\": {},\n 'status': status_dict,\n }\n self.history[prompt[1]].update(history_result)\n self.server.queue_updated()\n\n # Note: slow\n def get_current_queue(self):\n with self.mutex:\n out = []\n for x in self.currently_running.values():\n out += [x]\n return (out, copy.deepcopy(self.queue))\n\n # read-safe as long as queue items are immutable\n def get_current_queue_volatile(self):\n with self.mutex:\n running = [x for x in self.currently_running.values()]\n queued = copy.copy(self.queue)\n return (running, queued)\n\n def interrupt_if_running(self, prompt_id):\n \"\"\"Interrupt the running prompt with this id, atomically.\n\n Checks the live running set and signals the interrupt under the queue\n mutex, so the worker cannot move the job to done (and start the next\n prompt) in between. Returns True if a matching job was running and an\n interrupt was signalled, False otherwise. The atomicity is what keeps a\n cancel from landing on an unrelated prompt that started after a separate\n is-running check: the global interrupt flag is reset at the start of\n every prompt (execute_async), so a job that finishes before consuming\n the flag cannot leak the interrupt onto its successor.\n \"\"\"\n with self.mutex:\n for item in self.currently_running.values():\n if item[1] == prompt_id:\n nodes.interrupt_processing()\n return True\n return False\n\n def get_tasks_remaining(self):\n with self.mutex:\n return len(self.queue) + len(self.currently_running)\n\n def wipe_queue(self):\n with self.mutex:\n self.queue = []\n self.server.queue_updated()\n\n def delete_queue_item(self, function):\n with self.mutex:\n for x in range(len(self.queue)):\n if function(self.queue[x]):\n if len(self.queue) == 1:\n self.wipe_queue()\n else:\n self.queue.pop(x)\n heapq.heapify(self.queue)\n self.server.queue_updated()\n return True\n return False\n\n def get_history(self, prompt_id=None, max_items=None, offset=-1, map_function=None):\n with self.mutex:\n if prompt_id is None:\n out = {}\n i = 0\n if offset < 0 and max_items is not None:\n offset = len(self.history) - max_items\n for k in self.history:\n if i >= offset:\n p = self.history[k]\n if map_function is not None:\n p = map_function(p)\n out[k] = p\n if max_items is not None and len(out) >= max_items:\n break\n i += 1\n return out\n elif prompt_id in self.history:\n p = self.history[prompt_id]\n if map_function is None:\n p = copy.deepcopy(p)\n else:\n p = map_function(p)\n return {prompt_id: p}\n else:\n return {}\n\n def wipe_history(self):\n with self.mutex:\n self.history = {}\n\n def delete_history_item(self, id_to_delete):\n with self.mutex:\n self.history.pop(id_to_delete, None)\n\n def set_flag(self, name, data):\n with self.mutex:\n self.flags[name] = data\n self.not_empty.notify()\n\n def get_flags(self, reset=True):\n with self.mutex:\n if reset:\n ret = self.flags\n self.flags = {}\n return ret\n else:\n return self.flags.copy()\n",
"sha256": "7d7e4e9deb4a31a657aab9f89b9f66b96b80258539f23367bbabf0445a8f6025",
"ast_sha256": "76d58523e7b9f71063ec9a2ff5d1093ccbe09a4cad0a178a91634056321fc5af"
},
"execution.py:PromptQueue.__init__": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "PromptQueue.__init__",
"lines": [
1305,
1313
],
"text": " def __init__(self, server: \"ExecutionServer\"):\n self.server = server\n self.mutex = threading.RLock()\n self.not_empty = threading.Condition(self.mutex)\n self.task_counter = 0\n self.queue = []\n self.currently_running = {}\n self.history = {}\n self.flags = {}\n",
"sha256": "35d5fe28d5cccdd8231cae6d2cfc783c01cc7c83ceb9c25ba56e1fa477f59d59",
"ast_sha256": "d6509af22a3cb0c9069ec38aac9bd199c9684e4eeab634dcc0772035953e4bd2"
},
"execution.py:PromptQueue.put": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "PromptQueue.put",
"lines": [
1315,
1319
],
"text": " def put(self, item):\n with self.mutex:\n heapq.heappush(self.queue, item)\n self.server.queue_updated()\n self.not_empty.notify()\n",
"sha256": "3e0679ab0cb704d5182114466167a9cc00f801a728fc640b4e0213a8eedc7d54",
"ast_sha256": "a2cd725f1481ded461591a7a9c7e332e72c79a42a85c9e0679cc8321ed854bb6"
},
"execution.py:PromptQueue.get": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "PromptQueue.get",
"lines": [
1321,
1332
],
"text": " def get(self, timeout=None):\n with self.not_empty:\n while len(self.queue) == 0:\n self.not_empty.wait(timeout=timeout)\n if timeout is not None and len(self.queue) == 0:\n return None\n item = heapq.heappop(self.queue)\n i = self.task_counter\n self.currently_running[i] = copy.deepcopy(item)\n self.task_counter += 1\n self.server.queue_updated()\n return (item, i)\n",
"sha256": "3915dfb3732745b30fc9e0aaf3da0690685249101ccbec85a2bd2008ce829d35",
"ast_sha256": "bd0995efbe15aeb92b91576e3959bd42433724343ee0cb3f88ccb786be49e3bb"
},
"execution.py:PromptQueue.ExecutionStatus": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "PromptQueue.ExecutionStatus",
"lines": [
1334,
1337
],
"text": " class ExecutionStatus(NamedTuple):\n status_str: Literal['success', 'error']\n completed: bool\n messages: List[str]\n",
"sha256": "852b851db8fa1a413fae0cf230790100ed0c3d2fe88fd61c2a143cf4253cdeb9",
"ast_sha256": "2b355e3cf7ba03639394d9f41884dbfe085f4a294338a49be9006056aebdba2a"
},
"execution.py:PromptQueue.task_done": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "PromptQueue.task_done",
"lines": [
1339,
1359
],
"text": " def task_done(self, item_id, history_result,\n status: Optional['PromptQueue.ExecutionStatus'], process_item=None):\n with self.mutex:\n prompt = self.currently_running.pop(item_id)\n if len(self.history) > MAXIMUM_HISTORY_SIZE:\n self.history.pop(next(iter(self.history)))\n\n status_dict: Optional[dict] = None\n if status is not None:\n status_dict = copy.deepcopy(status._asdict())\n\n if process_item is not None:\n prompt = process_item(prompt)\n\n self.history[prompt[1]] = {\n \"prompt\": prompt,\n \"outputs\": {},\n 'status': status_dict,\n }\n self.history[prompt[1]].update(history_result)\n self.server.queue_updated()\n",
"sha256": "7242a9ab6cf040ba6d2d3e4ce28e58bfc9b202cd0f9b2dda38ed9d4a4b9c7bf1",
"ast_sha256": "51984fcecbeeeb391a398444164af433aa445ed644cebc09c24b49c06bae6e6c"
},
"execution.py:PromptQueue.get_current_queue": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "PromptQueue.get_current_queue",
"lines": [
1362,
1367
],
"text": " def get_current_queue(self):\n with self.mutex:\n out = []\n for x in self.currently_running.values():\n out += [x]\n return (out, copy.deepcopy(self.queue))\n",
"sha256": "171494a3f4f8a23fdcd6fdaf02bfa4bbe93cc0196a7b7ba66c5a55aee55a738f",
"ast_sha256": "34e1c159564ab9a6f6726a9a5b3665d953551b7b6f74a564d4428c616fd09d6f"
},
"execution.py:PromptQueue.get_current_queue_volatile": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "PromptQueue.get_current_queue_volatile",
"lines": [
1370,
1374
],
"text": " def get_current_queue_volatile(self):\n with self.mutex:\n running = [x for x in self.currently_running.values()]\n queued = copy.copy(self.queue)\n return (running, queued)\n",
"sha256": "c8001f01ae87e8d8c7475cc7cb44999e9b9e58671b05aab664d3b934ff87de15",
"ast_sha256": "ef1a6371290c878017318df561f6f5ad6752b3660ee8cf21bf55dc84668b9b76"
},
"execution.py:PromptQueue.interrupt_if_running": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "PromptQueue.interrupt_if_running",
"lines": [
1376,
1393
],
"text": " def interrupt_if_running(self, prompt_id):\n \"\"\"Interrupt the running prompt with this id, atomically.\n\n Checks the live running set and signals the interrupt under the queue\n mutex, so the worker cannot move the job to done (and start the next\n prompt) in between. Returns True if a matching job was running and an\n interrupt was signalled, False otherwise. The atomicity is what keeps a\n cancel from landing on an unrelated prompt that started after a separate\n is-running check: the global interrupt flag is reset at the start of\n every prompt (execute_async), so a job that finishes before consuming\n the flag cannot leak the interrupt onto its successor.\n \"\"\"\n with self.mutex:\n for item in self.currently_running.values():\n if item[1] == prompt_id:\n nodes.interrupt_processing()\n return True\n return False\n",
"sha256": "3d5e9b38b672cd2142b1c8ca5715231f9283ac299b56176c26e0eb703ef93c1d",
"ast_sha256": "bcce96b2e509f6c718c1686115776e344fe0e5f727223e3b913eaf61b26bc11a"
},
"execution.py:PromptQueue.get_tasks_remaining": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "PromptQueue.get_tasks_remaining",
"lines": [
1395,
1397
],
"text": " def get_tasks_remaining(self):\n with self.mutex:\n return len(self.queue) + len(self.currently_running)\n",
"sha256": "b4cf9e8b69248948e93c9ef424c7cdef567dd721286ed95da630764e2f314bee",
"ast_sha256": "62151b0f32c81485dca7db1939e2a72a3eb4a06ec6fc1d1e9ee56c6478ab509e"
},
"execution.py:PromptQueue.wipe_queue": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "PromptQueue.wipe_queue",
"lines": [
1399,
1402
],
"text": " def wipe_queue(self):\n with self.mutex:\n self.queue = []\n self.server.queue_updated()\n",
"sha256": "8a994573c1f1780f3fbb65096bb21ce8161406602feb42dd455ff29f78b75521",
"ast_sha256": "9d67049119dbaf6989c0ee8030f2fbf8cdfdd03569d30a214b8e248577b44f45"
},
"execution.py:PromptQueue.delete_queue_item": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "PromptQueue.delete_queue_item",
"lines": [
1404,
1415
],
"text": " def delete_queue_item(self, function):\n with self.mutex:\n for x in range(len(self.queue)):\n if function(self.queue[x]):\n if len(self.queue) == 1:\n self.wipe_queue()\n else:\n self.queue.pop(x)\n heapq.heapify(self.queue)\n self.server.queue_updated()\n return True\n return False\n",
"sha256": "56e8661351aaa907e5c0a48c02781aeec0eecdbb3577b61b3874a7b353c8808c",
"ast_sha256": "105bf28770a85019c46634b40429f07da9bd6778288f7312d72d531ac68ae293"
},
"execution.py:PromptQueue.get_history": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "PromptQueue.get_history",
"lines": [
1417,
1442
],
"text": " def get_history(self, prompt_id=None, max_items=None, offset=-1, map_function=None):\n with self.mutex:\n if prompt_id is None:\n out = {}\n i = 0\n if offset < 0 and max_items is not None:\n offset = len(self.history) - max_items\n for k in self.history:\n if i >= offset:\n p = self.history[k]\n if map_function is not None:\n p = map_function(p)\n out[k] = p\n if max_items is not None and len(out) >= max_items:\n break\n i += 1\n return out\n elif prompt_id in self.history:\n p = self.history[prompt_id]\n if map_function is None:\n p = copy.deepcopy(p)\n else:\n p = map_function(p)\n return {prompt_id: p}\n else:\n return {}\n",
"sha256": "8e1a5360901bcd0e051fc87956605a12a488cb89a3a27cb4a3b87813c3017077",
"ast_sha256": "5d7a2072a8436cda60a40684e0a5cc387cfe1a9e737852dd406c6a4fda1b803d"
},
"execution.py:PromptQueue.wipe_history": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "PromptQueue.wipe_history",
"lines": [
1444,
1446
],
"text": " def wipe_history(self):\n with self.mutex:\n self.history = {}\n",
"sha256": "332582fe2b37d9c58539a951596f0b8fac5b8365359b2b380bf0747e640b5888",
"ast_sha256": "1323e57aab6cad7ea7c3cf662d714cb436342b4d500043a58c9bceb64342a31b"
},
"execution.py:PromptQueue.delete_history_item": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "PromptQueue.delete_history_item",
"lines": [
1448,
1450
],
"text": " def delete_history_item(self, id_to_delete):\n with self.mutex:\n self.history.pop(id_to_delete, None)\n",
"sha256": "50a0d36d457c43b2d8035df26006f3cf6c1e0e8c56583446e87720bb33d881c9",
"ast_sha256": "ee73dc1d0a4a39bcd2ecef3a7c3a55c7dba9b0cac6ec47dc882d84376ee74465"
},
"execution.py:PromptQueue.set_flag": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "PromptQueue.set_flag",
"lines": [
1452,
1455
],
"text": " def set_flag(self, name, data):\n with self.mutex:\n self.flags[name] = data\n self.not_empty.notify()\n",
"sha256": "00a657218e4495415f42abf8339294b09c12868c42c5ad1d458426cddf7fc0b7",
"ast_sha256": "c544cad9ba2ea7fa7429cc01e12b66f3caab81c3426bde573045a2228138b0c6"
},
"execution.py:PromptQueue.get_flags": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "execution.py",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"request_key": "text-0",
"retrieved_at_utc": "2026-11-03T03:01:38.456784+00:00",
"file": "source-text/execution.py.txt",
"snapshot": {
"relative_path": "execution.py",
"recorded_at_utc": "2026-11-03T02:24:37.646062+00:00",
"state": "read",
"bytes": 64555,
"sha256": "3ce8f730e5a64c25c596351b4173edcf5a6948e8486d3531bd7d319f1eb114af",
"git_blob_sha1": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:execution.py"
],
"exit_code": 0,
"stdout": "d4a68b32a709c906e4b5b5627033974b8ed2f1ec",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "PromptQueue.get_flags",
"lines": [
1457,
1464
],
"text": " def get_flags(self, reset=True):\n with self.mutex:\n if reset:\n ret = self.flags\n self.flags = {}\n return ret\n else:\n return self.flags.copy()\n",
"sha256": "104af67da1057b10005305c2e648b4fb8f6dcde33522650a3e062edc087e4ac3",
"ast_sha256": "a5d36279f00a90b74e8afd18c40d7d4a846cf06e39e08a184eaea8e3b232141c"
},
"comfy_execution/graph.py:DependencyCycleError": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "DependencyCycleError",
"lines": [
14,
15
],
"text": "class DependencyCycleError(Exception):\n pass\n",
"sha256": "56c7206341ee625996507047b8bf74fd34a96a46bb7752f266e2e91223dea30f",
"ast_sha256": "ce8b2e86ef82ba64f609076f4b442b52a39b6bd3699800a18d3c475fe270ed9c"
},
"comfy_execution/graph.py:NodeInputError": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "NodeInputError",
"lines": [
17,
18
],
"text": "class NodeInputError(Exception):\n pass\n",
"sha256": "3257dd4f33c06cdbbe5ad0ead928f3fc33de7d79f6d355a363fdc3ec5d852580",
"ast_sha256": "79579174dae93431846a9e30eb5803d3f6184c32435f997922e2cd963d7801f4"
},
"comfy_execution/graph.py:NodeNotFoundError": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "NodeNotFoundError",
"lines": [
20,
21
],
"text": "class NodeNotFoundError(Exception):\n pass\n",
"sha256": "1abf446361250314fc374669bc2cd8a7aeda1e30d69b02c364245f734cbf6b1c",
"ast_sha256": "688ca588c23b318de2672ea4921509471935fd5e7a149494c036b24b3d769a2a"
},
"comfy_execution/graph.py:DynamicPrompt": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "DynamicPrompt",
"lines": [
23,
73
],
"text": "class DynamicPrompt:\n def __init__(self, original_prompt):\n # The original prompt provided by the user\n self.original_prompt = original_prompt\n # Runtime replacements for original nodes, without mutating the submitted prompt.\n self.node_overrides = {}\n # Any extra pieces of the graph created during execution\n self.ephemeral_prompt = {}\n self.ephemeral_parents = {}\n self.ephemeral_display = {}\n\n def get_node(self, node_id):\n if node_id in self.node_overrides:\n return self.node_overrides[node_id]\n if node_id in self.ephemeral_prompt:\n return self.ephemeral_prompt[node_id]\n if node_id in self.original_prompt:\n return self.original_prompt[node_id]\n raise NodeNotFoundError(f\"Node {node_id} not found\")\n\n def override_node(self, node_id, node_info):\n if not self.has_node(node_id):\n raise NodeNotFoundError(f\"Node {node_id} not found\")\n self.node_overrides[node_id] = node_info\n\n def has_node(self, node_id):\n return node_id in self.original_prompt or node_id in self.ephemeral_prompt\n\n def add_ephemeral_node(self, node_id, node_info, parent_id, display_id):\n self.ephemeral_prompt[node_id] = node_info\n self.ephemeral_parents[node_id] = parent_id\n self.ephemeral_display[node_id] = display_id\n\n def get_real_node_id(self, node_id):\n while node_id in self.ephemeral_parents:\n node_id = self.ephemeral_parents[node_id]\n return node_id\n\n def get_parent_node_id(self, node_id):\n return self.ephemeral_parents.get(node_id, None)\n\n def get_display_node_id(self, node_id):\n while node_id in self.ephemeral_display:\n node_id = self.ephemeral_display[node_id]\n return node_id\n\n def all_node_ids(self):\n return set(self.original_prompt.keys()).union(set(self.ephemeral_prompt.keys()))\n\n def get_original_prompt(self):\n return self.original_prompt\n",
"sha256": "cb9c82661d9f96fba632c063e28d4ac9d118b66793ccb57d3d21165f45d61116",
"ast_sha256": "69e1a0eb21c8205eed1abe8bec0e3279006d5c692a92065c4e7dfa93a2b557ce"
},
"comfy_execution/graph.py:DynamicPrompt.__init__": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "DynamicPrompt.__init__",
"lines": [
24,
32
],
"text": " def __init__(self, original_prompt):\n # The original prompt provided by the user\n self.original_prompt = original_prompt\n # Runtime replacements for original nodes, without mutating the submitted prompt.\n self.node_overrides = {}\n # Any extra pieces of the graph created during execution\n self.ephemeral_prompt = {}\n self.ephemeral_parents = {}\n self.ephemeral_display = {}\n",
"sha256": "386d13a63c3fe86d9c18c0ec8205b5a1af165b679d872461902c672ded6cbc29",
"ast_sha256": "e0b46ce59429808eab8b049ebcfa6803683fde110f2cc8202c8b21523c8dfed0"
},
"comfy_execution/graph.py:DynamicPrompt.get_node": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "DynamicPrompt.get_node",
"lines": [
34,
41
],
"text": " def get_node(self, node_id):\n if node_id in self.node_overrides:\n return self.node_overrides[node_id]\n if node_id in self.ephemeral_prompt:\n return self.ephemeral_prompt[node_id]\n if node_id in self.original_prompt:\n return self.original_prompt[node_id]\n raise NodeNotFoundError(f\"Node {node_id} not found\")\n",
"sha256": "388c0f8894459a033cf04061833e6c121c5be4dcf68a0c8fe965eaca41343376",
"ast_sha256": "34d7d095a7382ac145092917e4d5cfbd88cf02f32ec6ad406b593423c68e9a79"
},
"comfy_execution/graph.py:DynamicPrompt.override_node": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "DynamicPrompt.override_node",
"lines": [
43,
46
],
"text": " def override_node(self, node_id, node_info):\n if not self.has_node(node_id):\n raise NodeNotFoundError(f\"Node {node_id} not found\")\n self.node_overrides[node_id] = node_info\n",
"sha256": "00ca4c87db4e76a3e363ef1d2177fc2a2c3b8c995bbb39f11813e27858e4bdfc",
"ast_sha256": "0ea386c5960a8af85d0852dcc972708053a6e1811395de6150ddd22dd90df106"
},
"comfy_execution/graph.py:DynamicPrompt.has_node": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "DynamicPrompt.has_node",
"lines": [
48,
49
],
"text": " def has_node(self, node_id):\n return node_id in self.original_prompt or node_id in self.ephemeral_prompt\n",
"sha256": "61004127cbb8c0f1405006506a8ccacfca99a9f3d2de406c116cdbaee2734b20",
"ast_sha256": "5c24f0c40e74e7f25702338282ba91500c9ec704a51872bc01b5a4960f108bf8"
},
"comfy_execution/graph.py:DynamicPrompt.add_ephemeral_node": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "DynamicPrompt.add_ephemeral_node",
"lines": [
51,
54
],
"text": " def add_ephemeral_node(self, node_id, node_info, parent_id, display_id):\n self.ephemeral_prompt[node_id] = node_info\n self.ephemeral_parents[node_id] = parent_id\n self.ephemeral_display[node_id] = display_id\n",
"sha256": "6f33c7dab635bc05a02373a18ab6fc70e03995f080a4b84aefb323e8ea5b878a",
"ast_sha256": "6f745c84e1f84dea5bf1715ba042978942a408281d705447d83d8278aa063116"
},
"comfy_execution/graph.py:DynamicPrompt.get_real_node_id": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "DynamicPrompt.get_real_node_id",
"lines": [
56,
59
],
"text": " def get_real_node_id(self, node_id):\n while node_id in self.ephemeral_parents:\n node_id = self.ephemeral_parents[node_id]\n return node_id\n",
"sha256": "28bf148a4a152b4981ef7a8a5b3bc3049e1cead63752c55a9ca5bd305e782645",
"ast_sha256": "6950192180ccdd76ef41ad0085b42ce07244763df61afd2ad324f7f4ca948e20"
},
"comfy_execution/graph.py:DynamicPrompt.get_parent_node_id": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "DynamicPrompt.get_parent_node_id",
"lines": [
61,
62
],
"text": " def get_parent_node_id(self, node_id):\n return self.ephemeral_parents.get(node_id, None)\n",
"sha256": "b33c12373ded5a411d36aa19251cd861015321e0057517afa17c77338c18619a",
"ast_sha256": "6b4ddff0503fd941f1b8b9432f9ef621e48ceabb4bdd82a9055bc805e8069977"
},
"comfy_execution/graph.py:DynamicPrompt.get_display_node_id": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "DynamicPrompt.get_display_node_id",
"lines": [
64,
67
],
"text": " def get_display_node_id(self, node_id):\n while node_id in self.ephemeral_display:\n node_id = self.ephemeral_display[node_id]\n return node_id\n",
"sha256": "fb9887d8af0894ddf7ad0826a751fa49b950b73410860c38a322e45a2c90418a",
"ast_sha256": "4492e5cd771e8aa0dd192fa487e3deb847d2efbd42e01cad2445a4d858dfa51a"
},
"comfy_execution/graph.py:DynamicPrompt.all_node_ids": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "DynamicPrompt.all_node_ids",
"lines": [
69,
70
],
"text": " def all_node_ids(self):\n return set(self.original_prompt.keys()).union(set(self.ephemeral_prompt.keys()))\n",
"sha256": "b9b13c5454a7f72aa42599bd631ccac0b30c1ee46c307031f0630421fc7c9861",
"ast_sha256": "f8b1b1717918302883f8096bee570e25a8969fb181f60e2b4d7b4dad021392e7"
},
"comfy_execution/graph.py:DynamicPrompt.get_original_prompt": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "DynamicPrompt.get_original_prompt",
"lines": [
72,
73
],
"text": " def get_original_prompt(self):\n return self.original_prompt\n",
"sha256": "9b8cdb92fb13b77f9cf6f6575b92a2add31bd3d1594f0076d4dda5c201a6b98b",
"ast_sha256": "26267224eb566be414b28163d2f97c66c1e5c5ed175bf623d15392430b53b9c3"
},
"comfy_execution/graph.py:get_input_info": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "get_input_info",
"lines": [
75,
115
],
"text": "def get_input_info(\n class_def: Type[ComfyNodeABC],\n input_name: str,\n valid_inputs: InputTypeDict | None = None\n) -> tuple[str, Literal[\"required\", \"optional\", \"hidden\"], InputTypeOptions] | tuple[None, None, None]:\n \"\"\"Get the input type, category, and extra info for a given input name.\n\n Arguments:\n class_def: The class definition of the node.\n input_name: The name of the input to get info for.\n valid_inputs: The valid inputs for the node, or None to use the class_def.INPUT_TYPES().\n\n Returns:\n tuple[str, str, dict] | tuple[None, None, None]: The input type, category, and extra info for the input name.\n \"\"\"\n\n valid_inputs = valid_inputs or class_def.INPUT_TYPES()\n input_info = None\n input_category = None\n if \"required\" in valid_inputs and input_name in valid_inputs[\"required\"]:\n input_category = \"required\"\n input_info = valid_inputs[\"required\"][input_name]\n elif \"optional\" in valid_inputs and input_name in valid_inputs[\"optional\"]:\n input_category = \"optional\"\n input_info = valid_inputs[\"optional\"][input_name]\n elif \"hidden\" in valid_inputs and input_name in valid_inputs[\"hidden\"]:\n input_category = \"hidden\"\n input_info = valid_inputs[\"hidden\"][input_name]\n if input_info is None:\n return None, None, None\n input_type = input_info[0]\n if len(input_info) > 1:\n extra_info = input_info[1]\n else:\n extra_info = {}\n # if input_type is a list, it is a Combo defined in outdated format; convert it.\n # NOTE: uncomment this when we are confident old format going away won't cause too much trouble.\n # if isinstance(input_type, list):\n # extra_info[\"options\"] = input_type\n # input_type = IO.Combo.io_type\n return input_type, input_category, extra_info\n",
"sha256": "c361fed060013cf8719c327e7e5b1d0e4383ac00367c8678d260360f4bfe1799",
"ast_sha256": "6c58ee9f6f7f9e908b55df8bc6468a7a37060095134dc87df3dae2e5636a2696"
},
"comfy_execution/graph.py:TopologicalSort": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "TopologicalSort",
"lines": [
117,
215
],
"text": "class TopologicalSort:\n def __init__(self, dynprompt):\n self.dynprompt = dynprompt\n self.pendingNodes = {}\n self.blockCount = {} # Number of nodes this node is directly blocked by\n self.blocking = {} # Which nodes are blocked by this node\n self.externalBlocks = 0\n self.externalBlockResults = {}\n self.unblockedEvent = asyncio.Event()\n\n def get_input_info(self, unique_id, input_name):\n node = self.dynprompt.get_node(unique_id)\n class_def = nodes.NODE_CLASS_MAPPINGS[node[\"class_type\"]]\n valid_inputs = class_def.INPUT_TYPES()\n if issubclass(class_def, _ComfyNodeInternal):\n valid_inputs, _, _ = _io.get_finalized_class_inputs(valid_inputs, node[\"inputs\"])\n return get_input_info(class_def, input_name, valid_inputs)\n\n def make_input_strong_link(self, to_node_id, to_input):\n inputs = self.dynprompt.get_node(to_node_id)[\"inputs\"]\n if to_input not in inputs:\n raise NodeInputError(f\"Node {to_node_id} says it needs input {to_input}, but there is no input to that node at all\")\n value = inputs[to_input]\n if not is_link(value):\n raise NodeInputError(f\"Node {to_node_id} says it needs input {to_input}, but that value is a constant\")\n from_node_id, from_socket = value\n self.add_strong_link(from_node_id, from_socket, to_node_id)\n\n def add_strong_link(self, from_node_id, from_socket, to_node_id):\n if not self.is_cached(from_node_id):\n self.add_node(from_node_id)\n if to_node_id not in self.blocking[from_node_id]:\n self.blocking[from_node_id][to_node_id] = {}\n self.blockCount[to_node_id] += 1\n self.blocking[from_node_id][to_node_id][from_socket] = True\n\n def add_node(self, node_unique_id, include_lazy=False, subgraph_nodes=None):\n node_ids = [node_unique_id]\n links = []\n\n while len(node_ids) > 0:\n unique_id = node_ids.pop()\n if unique_id in self.pendingNodes:\n continue\n\n self.pendingNodes[unique_id] = True\n self.blockCount[unique_id] = 0\n self.blocking[unique_id] = {}\n\n inputs = self.dynprompt.get_node(unique_id)[\"inputs\"]\n for input_name in inputs:\n value = inputs[input_name]\n if is_link(value):\n from_node_id, from_socket = value\n if subgraph_nodes is not None and from_node_id not in subgraph_nodes:\n continue\n _, _, input_info = self.get_input_info(unique_id, input_name)\n is_lazy = input_info is not None and \"lazy\" in input_info and input_info[\"lazy\"]\n if (include_lazy or not is_lazy):\n if not self.is_cached(from_node_id):\n node_ids.append(from_node_id)\n links.append((from_node_id, from_socket, unique_id))\n\n for link in links:\n self.add_strong_link(*link)\n\n def add_external_block(self, node_id):\n assert node_id in self.blockCount, \"Can't add external block to a node that isn't pending\"\n self.externalBlocks += 1\n self.blockCount[node_id] += 1\n def unblock(value=None):\n self.release_external_block(node_id, value)\n return unblock\n\n def release_external_block(self, node_id, value=None):\n self.externalBlocks -= 1\n self.blockCount[node_id] -= 1\n if value is not None:\n self.externalBlockResults[node_id] = value\n self.unblockedEvent.set()\n\n def get_external_block_result(self, node_id):\n return self.externalBlockResults.get(node_id)\n\n def is_cached(self, node_id):\n return False\n\n def get_ready_nodes(self):\n return [node_id for node_id in self.pendingNodes if self.blockCount[node_id] == 0]\n\n def pop_node(self, unique_id):\n del self.pendingNodes[unique_id]\n for blocked_node_id in self.blocking[unique_id]:\n self.blockCount[blocked_node_id] -= 1\n del self.blocking[unique_id]\n self.externalBlockResults.pop(unique_id, None)\n\n def is_empty(self):\n return len(self.pendingNodes) == 0\n",
"sha256": "8b474490f444dfe6ea81f72fae70818bee5b0b0d9f96133831b6c08ff9ef45d6",
"ast_sha256": "a9f6a66c1107efccbc58fad847d2fdbce132ccfe02ca7e6796ab5e8d0f05dbbb"
},
"comfy_execution/graph.py:TopologicalSort.__init__": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "TopologicalSort.__init__",
"lines": [
118,
125
],
"text": " def __init__(self, dynprompt):\n self.dynprompt = dynprompt\n self.pendingNodes = {}\n self.blockCount = {} # Number of nodes this node is directly blocked by\n self.blocking = {} # Which nodes are blocked by this node\n self.externalBlocks = 0\n self.externalBlockResults = {}\n self.unblockedEvent = asyncio.Event()\n",
"sha256": "93c1a510986292edec751a159b837e813e95be3bb64e17e453d766b34294e63a",
"ast_sha256": "4f1caba745a403ba223fd1e1e62d89825fdb8bb3566ed1cde4748da4e1a29040"
},
"comfy_execution/graph.py:TopologicalSort.get_input_info": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "TopologicalSort.get_input_info",
"lines": [
127,
133
],
"text": " def get_input_info(self, unique_id, input_name):\n node = self.dynprompt.get_node(unique_id)\n class_def = nodes.NODE_CLASS_MAPPINGS[node[\"class_type\"]]\n valid_inputs = class_def.INPUT_TYPES()\n if issubclass(class_def, _ComfyNodeInternal):\n valid_inputs, _, _ = _io.get_finalized_class_inputs(valid_inputs, node[\"inputs\"])\n return get_input_info(class_def, input_name, valid_inputs)\n",
"sha256": "89f09872646216b81322cc1502d26c3be0d42f03a034032137cf514140b68ccd",
"ast_sha256": "84c01308119b4a94bf3f3b6c6e2e240d2aa19bf2b63bb18958d27188fd561272"
},
"comfy_execution/graph.py:TopologicalSort.make_input_strong_link": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "TopologicalSort.make_input_strong_link",
"lines": [
135,
143
],
"text": " def make_input_strong_link(self, to_node_id, to_input):\n inputs = self.dynprompt.get_node(to_node_id)[\"inputs\"]\n if to_input not in inputs:\n raise NodeInputError(f\"Node {to_node_id} says it needs input {to_input}, but there is no input to that node at all\")\n value = inputs[to_input]\n if not is_link(value):\n raise NodeInputError(f\"Node {to_node_id} says it needs input {to_input}, but that value is a constant\")\n from_node_id, from_socket = value\n self.add_strong_link(from_node_id, from_socket, to_node_id)\n",
"sha256": "80eb026c78fb6850bf7a64459c7834937f9edd80f17b48ae9b008d2be7375287",
"ast_sha256": "cef9a7b139f50105811eb600a3568850fabff16bba6fb91b7e0fa3904358db7e"
},
"comfy_execution/graph.py:TopologicalSort.add_strong_link": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "TopologicalSort.add_strong_link",
"lines": [
145,
151
],
"text": " def add_strong_link(self, from_node_id, from_socket, to_node_id):\n if not self.is_cached(from_node_id):\n self.add_node(from_node_id)\n if to_node_id not in self.blocking[from_node_id]:\n self.blocking[from_node_id][to_node_id] = {}\n self.blockCount[to_node_id] += 1\n self.blocking[from_node_id][to_node_id][from_socket] = True\n",
"sha256": "0720f602f437e4ce8ff2469ec89bc0107f82013c7ce929941b41979c45770dda",
"ast_sha256": "24735f1b7d962c3bca513d418164cc6e4547029f4b7824e2369ddf23b0855f6d"
},
"comfy_execution/graph.py:TopologicalSort.add_node": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "TopologicalSort.add_node",
"lines": [
153,
181
],
"text": " def add_node(self, node_unique_id, include_lazy=False, subgraph_nodes=None):\n node_ids = [node_unique_id]\n links = []\n\n while len(node_ids) > 0:\n unique_id = node_ids.pop()\n if unique_id in self.pendingNodes:\n continue\n\n self.pendingNodes[unique_id] = True\n self.blockCount[unique_id] = 0\n self.blocking[unique_id] = {}\n\n inputs = self.dynprompt.get_node(unique_id)[\"inputs\"]\n for input_name in inputs:\n value = inputs[input_name]\n if is_link(value):\n from_node_id, from_socket = value\n if subgraph_nodes is not None and from_node_id not in subgraph_nodes:\n continue\n _, _, input_info = self.get_input_info(unique_id, input_name)\n is_lazy = input_info is not None and \"lazy\" in input_info and input_info[\"lazy\"]\n if (include_lazy or not is_lazy):\n if not self.is_cached(from_node_id):\n node_ids.append(from_node_id)\n links.append((from_node_id, from_socket, unique_id))\n\n for link in links:\n self.add_strong_link(*link)\n",
"sha256": "eda5bd0335d8a417a67f467bf318f789a68215459ec764f59d037b8e52717819",
"ast_sha256": "6b1ba4f9f4046d03fa9af2189b9a213e1d8fe383dc79505f461a45949df04f7d"
},
"comfy_execution/graph.py:TopologicalSort.add_external_block": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "TopologicalSort.add_external_block",
"lines": [
183,
189
],
"text": " def add_external_block(self, node_id):\n assert node_id in self.blockCount, \"Can't add external block to a node that isn't pending\"\n self.externalBlocks += 1\n self.blockCount[node_id] += 1\n def unblock(value=None):\n self.release_external_block(node_id, value)\n return unblock\n",
"sha256": "9a0c7f712eb1951bdaa487368f31775ebb852601ff470968808a8fa8d153da82",
"ast_sha256": "485c1fe60f65009c2bc9bf60186924d446a20a99ee85c3fafa86caf03420e4e9"
},
"comfy_execution/graph.py:TopologicalSort.release_external_block": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "TopologicalSort.release_external_block",
"lines": [
191,
196
],
"text": " def release_external_block(self, node_id, value=None):\n self.externalBlocks -= 1\n self.blockCount[node_id] -= 1\n if value is not None:\n self.externalBlockResults[node_id] = value\n self.unblockedEvent.set()\n",
"sha256": "d2c2953cc2ca0d9dbb6645e7c371d42d95fd0904664231ea01257101a746e872",
"ast_sha256": "044e028f9c3c0fbde976d3328d81126ceb992fe52b6562156f967cd21b84d22b"
},
"comfy_execution/graph.py:TopologicalSort.get_external_block_result": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "TopologicalSort.get_external_block_result",
"lines": [
198,
199
],
"text": " def get_external_block_result(self, node_id):\n return self.externalBlockResults.get(node_id)\n",
"sha256": "9bb4befeae6faa8505da39eeed1ab492dad5f79b4198cfe2bee3bcac3437f35a",
"ast_sha256": "0ab16548ae2384079d74fa8a4448e84a3865a544f1514e6b0675b2600a9fe98b"
},
"comfy_execution/graph.py:TopologicalSort.is_cached": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "TopologicalSort.is_cached",
"lines": [
201,
202
],
"text": " def is_cached(self, node_id):\n return False\n",
"sha256": "b46358c184df198cb7b5cfc933f33e809bdcb2e9b226f21ce89778a12b6eb587",
"ast_sha256": "30a5eddbf7660a6c81f5ac57a13cbef4f5d4ea7edc9a422b3850e666d166afd6"
},
"comfy_execution/graph.py:TopologicalSort.get_ready_nodes": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "TopologicalSort.get_ready_nodes",
"lines": [
204,
205
],
"text": " def get_ready_nodes(self):\n return [node_id for node_id in self.pendingNodes if self.blockCount[node_id] == 0]\n",
"sha256": "9c487c975cf6a5c49bdf3243128d853cbd72d3eba0433b0577602d75d430f32a",
"ast_sha256": "c8061febe5259c88a1c12afc9b9c59417af1b36d9fc9c3468f43741026936abe"
},
"comfy_execution/graph.py:TopologicalSort.pop_node": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "TopologicalSort.pop_node",
"lines": [
207,
212
],
"text": " def pop_node(self, unique_id):\n del self.pendingNodes[unique_id]\n for blocked_node_id in self.blocking[unique_id]:\n self.blockCount[blocked_node_id] -= 1\n del self.blocking[unique_id]\n self.externalBlockResults.pop(unique_id, None)\n",
"sha256": "90da28a49cc8581e52104816ddb0e3ac300d0e708ad6dfa5f51d558a7cc20d44",
"ast_sha256": "6379c63d57fed69376eab5665716b42cc0693b06935be3798110ae22d44b945f"
},
"comfy_execution/graph.py:TopologicalSort.is_empty": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "TopologicalSort.is_empty",
"lines": [
214,
215
],
"text": " def is_empty(self):\n return len(self.pendingNodes) == 0\n",
"sha256": "91bfd224bc3164b0d7105090df8622983b72017860266433d2d1ba42ffa75314",
"ast_sha256": "019315814ec19d75d591d99ebc6794486ce4d746a89bc7348aa5b80a6791b2c9"
},
"comfy_execution/graph.py:ExecutionList": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "ExecutionList",
"lines": [
217,
392
],
"text": "class ExecutionList(TopologicalSort):\n \"\"\"\n ExecutionList implements a topological dissolve of the graph. After a node is staged for execution,\n it can still be returned to the graph after having further dependencies added.\n \"\"\"\n def __init__(self, dynprompt, output_cache, output_link_callback=None):\n super().__init__(dynprompt)\n self.output_cache = output_cache\n self.output_link_callback = output_link_callback\n self.staged_node_id = None\n self.execution_cache = {}\n self.execution_cache_listeners = {}\n\n def is_cached(self, node_id):\n return self.output_cache.get_local(node_id) is not None\n\n def cache_link(self, from_node_id, to_node_id, from_socket=None):\n if to_node_id not in self.execution_cache:\n self.execution_cache[to_node_id] = {}\n value = self.output_cache.get_local(from_node_id)\n self.execution_cache[to_node_id][from_node_id] = value\n if from_node_id not in self.execution_cache_listeners:\n self.execution_cache_listeners[from_node_id] = set()\n self.execution_cache_listeners[from_node_id].add((to_node_id, from_socket))\n if value is not None and from_socket is not None and self.output_link_callback is not None:\n self.output_link_callback(value.outputs[from_socket])\n\n def get_cache(self, from_node_id, to_node_id):\n if to_node_id not in self.execution_cache:\n return None\n value = self.execution_cache[to_node_id].get(from_node_id)\n if value is None:\n return None\n #Write back to the main cache on touch.\n self.output_cache.set_local(from_node_id, value)\n return value\n\n def cache_update(self, node_id, value):\n if node_id in self.execution_cache_listeners:\n for to_node_id, from_socket in self.execution_cache_listeners[node_id]:\n if to_node_id in self.execution_cache:\n self.execution_cache[to_node_id][node_id] = value\n if from_socket is not None and self.output_link_callback is not None:\n self.output_link_callback(value.outputs[from_socket])\n\n def add_strong_link(self, from_node_id, from_socket, to_node_id):\n super().add_strong_link(from_node_id, from_socket, to_node_id)\n self.cache_link(from_node_id, to_node_id, from_socket)\n\n def inhibit_nodes(self, node_ids):\n \"\"\"Remove pending nodes selected by the currently executing control node.\"\"\"\n assert self.staged_node_id is not None, \"Nodes may only be inhibited while a control node is staged\"\n node_ids = set(node_ids).intersection(self.pendingNodes)\n assert self.staged_node_id not in node_ids, \"A control node cannot inhibit itself\"\n\n for from_node_id, blocked_nodes in self.blocking.items():\n if from_node_id not in node_ids:\n for node_id in node_ids:\n blocked_nodes.pop(node_id, None)\n for node_id in node_ids:\n for blocked_node_id in self.blocking[node_id]:\n if blocked_node_id not in node_ids:\n self.blockCount[blocked_node_id] -= 1\n del self.pendingNodes[node_id]\n del self.blockCount[node_id]\n del self.blocking[node_id]\n self.execution_cache.pop(node_id, None)\n self.execution_cache_listeners.pop(node_id, None)\n for listeners in self.execution_cache_listeners.values():\n listeners.difference_update({listener for listener in listeners if listener[0] in node_ids})\n\n async def stage_node_execution(self):\n assert self.staged_node_id is None\n if self.is_empty():\n return None, None, None\n available = self.get_ready_nodes()\n while len(available) == 0 and self.externalBlocks > 0:\n # Wait for an external block to be released\n await self.unblockedEvent.wait()\n self.unblockedEvent.clear()\n available = self.get_ready_nodes()\n if len(available) == 0:\n cycled_nodes = self.get_nodes_in_cycle()\n # Because cycles composed entirely of static nodes are caught during initial validation,\n # we will 'blame' the first node in the cycle that is not a static node.\n blamed_node = cycled_nodes[0]\n for node_id in cycled_nodes:\n display_node_id = self.dynprompt.get_display_node_id(node_id)\n if display_node_id != node_id:\n blamed_node = display_node_id\n break\n ex = DependencyCycleError(\"Dependency cycle detected\")\n error_details = {\n \"node_id\": blamed_node,\n \"exception_message\": str(ex),\n \"exception_type\": \"graph.DependencyCycleError\",\n \"traceback\": [],\n \"current_inputs\": []\n }\n return None, error_details, ex\n\n self.staged_node_id = self.ux_friendly_pick_node(available)\n return self.staged_node_id, None, None\n\n def ux_friendly_pick_node(self, node_list):\n # If an output node is available, do that first.\n # Technically this has no effect on the overall length of execution, but it feels better as a user\n # for a PreviewImage to display a result as soon as it can\n # Some other heuristics could probably be used here to improve the UX further.\n def is_output(node_id):\n class_type = self.dynprompt.get_node(node_id)[\"class_type\"]\n class_def = nodes.NODE_CLASS_MAPPINGS[class_type]\n if hasattr(class_def, 'OUTPUT_NODE') and class_def.OUTPUT_NODE == True:\n return True\n return False\n\n # If an available node is async, do that first.\n # This will execute the asynchronous function earlier, reducing the overall time.\n def is_async(node_id):\n class_type = self.dynprompt.get_node(node_id)[\"class_type\"]\n class_def = nodes.NODE_CLASS_MAPPINGS[class_type]\n return inspect.iscoroutinefunction(getattr(class_def, class_def.FUNCTION))\n\n for node_id in node_list:\n if is_output(node_id) or is_async(node_id):\n return node_id\n\n #This should handle the VAEDecode -> preview case\n for node_id in node_list:\n for blocked_node_id in self.blocking[node_id]:\n if is_output(blocked_node_id):\n return node_id\n\n #This should handle the VAELoader -> VAEDecode -> preview case\n for node_id in node_list:\n for blocked_node_id in self.blocking[node_id]:\n for blocked_node_id1 in self.blocking[blocked_node_id]:\n if is_output(blocked_node_id1):\n return node_id\n\n #TODO: this function should be improved\n return node_list[0]\n\n def unstage_node_execution(self):\n assert self.staged_node_id is not None\n self.staged_node_id = None\n\n def is_staged_node_blocked(self):\n assert self.staged_node_id is not None\n return self.blockCount[self.staged_node_id] > 0\n\n def complete_node_execution(self):\n node_id = self.staged_node_id\n self.pop_node(node_id)\n self.execution_cache.pop(node_id, None)\n self.execution_cache_listeners.pop(node_id, None)\n self.staged_node_id = None\n\n def get_nodes_in_cycle(self):\n # We'll dissolve the graph in reverse topological order to leave only the nodes in the cycle.\n # We're skipping some of the performance optimizations from the original TopologicalSort to keep\n # the code simple (and because having a cycle in the first place is a catastrophic error)\n blocked_by = { node_id: {} for node_id in self.pendingNodes }\n for from_node_id in self.blocking:\n for to_node_id in self.blocking[from_node_id]:\n if True in self.blocking[from_node_id][to_node_id].values():\n blocked_by[to_node_id][from_node_id] = True\n to_remove = [node_id for node_id in blocked_by if len(blocked_by[node_id]) == 0]\n while len(to_remove) > 0:\n for node_id in to_remove:\n for to_node_id in blocked_by:\n if node_id in blocked_by[to_node_id]:\n del blocked_by[to_node_id][node_id]\n del blocked_by[node_id]\n to_remove = [node_id for node_id in blocked_by if len(blocked_by[node_id]) == 0]\n return list(blocked_by.keys())\n",
"sha256": "e681e34ffa5f10f3b828c7d894604d868217d1804080aad48b6e0f1c6a05f073",
"ast_sha256": "c2e6559dec5dff75836d22f20bb3d854faa2835b9e00588a182c567f8adebffe"
},
"comfy_execution/graph.py:ExecutionList.__init__": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "ExecutionList.__init__",
"lines": [
222,
228
],
"text": " def __init__(self, dynprompt, output_cache, output_link_callback=None):\n super().__init__(dynprompt)\n self.output_cache = output_cache\n self.output_link_callback = output_link_callback\n self.staged_node_id = None\n self.execution_cache = {}\n self.execution_cache_listeners = {}\n",
"sha256": "dee2f839ceb326796c09c1616e4b3b5707a2c2bf7d6a5b1e4ff9a09275bc15fa",
"ast_sha256": "9af36a1a523c192ab250c27a277134744e6086b5fdb9d9835544437cc4949a66"
},
"comfy_execution/graph.py:ExecutionList.is_cached": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "ExecutionList.is_cached",
"lines": [
230,
231
],
"text": " def is_cached(self, node_id):\n return self.output_cache.get_local(node_id) is not None\n",
"sha256": "9847ac249b3111874e722efddf031703e984f0b50a1a06d9d0d752e7a5728345",
"ast_sha256": "1d47d27914524b7e658e4a5878cad43ce4ba82c9476d52e758a72ce67bf462df"
},
"comfy_execution/graph.py:ExecutionList.cache_link": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "ExecutionList.cache_link",
"lines": [
233,
242
],
"text": " def cache_link(self, from_node_id, to_node_id, from_socket=None):\n if to_node_id not in self.execution_cache:\n self.execution_cache[to_node_id] = {}\n value = self.output_cache.get_local(from_node_id)\n self.execution_cache[to_node_id][from_node_id] = value\n if from_node_id not in self.execution_cache_listeners:\n self.execution_cache_listeners[from_node_id] = set()\n self.execution_cache_listeners[from_node_id].add((to_node_id, from_socket))\n if value is not None and from_socket is not None and self.output_link_callback is not None:\n self.output_link_callback(value.outputs[from_socket])\n",
"sha256": "a5226388ed2e0a2a51cd3a7bbe5092e7fcc8c29618b464f79ec154505bfe2f22",
"ast_sha256": "85f01c5c1e7d884c44eb94fd65844770eb168190aa5156c00e43d6bbf2257839"
},
"comfy_execution/graph.py:ExecutionList.get_cache": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "ExecutionList.get_cache",
"lines": [
244,
252
],
"text": " def get_cache(self, from_node_id, to_node_id):\n if to_node_id not in self.execution_cache:\n return None\n value = self.execution_cache[to_node_id].get(from_node_id)\n if value is None:\n return None\n #Write back to the main cache on touch.\n self.output_cache.set_local(from_node_id, value)\n return value\n",
"sha256": "b6abf9b03b0f334816b1390cfc72b1147c0eff0eb4dfc9658d5b57513e5d4188",
"ast_sha256": "451e68ebbcd05083f8337eaff24cacd974314e9d9a15f74c6a71afe62aebab77"
},
"comfy_execution/graph.py:ExecutionList.cache_update": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "ExecutionList.cache_update",
"lines": [
254,
260
],
"text": " def cache_update(self, node_id, value):\n if node_id in self.execution_cache_listeners:\n for to_node_id, from_socket in self.execution_cache_listeners[node_id]:\n if to_node_id in self.execution_cache:\n self.execution_cache[to_node_id][node_id] = value\n if from_socket is not None and self.output_link_callback is not None:\n self.output_link_callback(value.outputs[from_socket])\n",
"sha256": "01c0382209d86970f1bb34551ed969467121950f88bb8b6cd1f001c6066935f5",
"ast_sha256": "709a3049178a24cd55574ba2456e89d33d4242c1fc752912882da4e302982c6a"
},
"comfy_execution/graph.py:ExecutionList.add_strong_link": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "ExecutionList.add_strong_link",
"lines": [
262,
264
],
"text": " def add_strong_link(self, from_node_id, from_socket, to_node_id):\n super().add_strong_link(from_node_id, from_socket, to_node_id)\n self.cache_link(from_node_id, to_node_id, from_socket)\n",
"sha256": "1bdd67072ee64493ff4505e3fdc1ef7e16474d297746cfeeb4b905d77c6e945b",
"ast_sha256": "ee49094cdf60c51453668aab560f881e2c73f80a579c9c35c697d01094d6a596"
},
"comfy_execution/graph.py:ExecutionList.inhibit_nodes": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "ExecutionList.inhibit_nodes",
"lines": [
266,
286
],
"text": " def inhibit_nodes(self, node_ids):\n \"\"\"Remove pending nodes selected by the currently executing control node.\"\"\"\n assert self.staged_node_id is not None, \"Nodes may only be inhibited while a control node is staged\"\n node_ids = set(node_ids).intersection(self.pendingNodes)\n assert self.staged_node_id not in node_ids, \"A control node cannot inhibit itself\"\n\n for from_node_id, blocked_nodes in self.blocking.items():\n if from_node_id not in node_ids:\n for node_id in node_ids:\n blocked_nodes.pop(node_id, None)\n for node_id in node_ids:\n for blocked_node_id in self.blocking[node_id]:\n if blocked_node_id not in node_ids:\n self.blockCount[blocked_node_id] -= 1\n del self.pendingNodes[node_id]\n del self.blockCount[node_id]\n del self.blocking[node_id]\n self.execution_cache.pop(node_id, None)\n self.execution_cache_listeners.pop(node_id, None)\n for listeners in self.execution_cache_listeners.values():\n listeners.difference_update({listener for listener in listeners if listener[0] in node_ids})\n",
"sha256": "382b5fb2f075639577fea70d5229336659617b41a54595a635ad11ffd0b07020",
"ast_sha256": "1dc445802461f470d2c2ba0b567013cd414abcd3a6448852143d536657e6fe42"
},
"comfy_execution/graph.py:ExecutionList.stage_node_execution": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "ExecutionList.stage_node_execution",
"lines": [
288,
319
],
"text": " async def stage_node_execution(self):\n assert self.staged_node_id is None\n if self.is_empty():\n return None, None, None\n available = self.get_ready_nodes()\n while len(available) == 0 and self.externalBlocks > 0:\n # Wait for an external block to be released\n await self.unblockedEvent.wait()\n self.unblockedEvent.clear()\n available = self.get_ready_nodes()\n if len(available) == 0:\n cycled_nodes = self.get_nodes_in_cycle()\n # Because cycles composed entirely of static nodes are caught during initial validation,\n # we will 'blame' the first node in the cycle that is not a static node.\n blamed_node = cycled_nodes[0]\n for node_id in cycled_nodes:\n display_node_id = self.dynprompt.get_display_node_id(node_id)\n if display_node_id != node_id:\n blamed_node = display_node_id\n break\n ex = DependencyCycleError(\"Dependency cycle detected\")\n error_details = {\n \"node_id\": blamed_node,\n \"exception_message\": str(ex),\n \"exception_type\": \"graph.DependencyCycleError\",\n \"traceback\": [],\n \"current_inputs\": []\n }\n return None, error_details, ex\n\n self.staged_node_id = self.ux_friendly_pick_node(available)\n return self.staged_node_id, None, None\n",
"sha256": "20cd8d6e1265f722b66402c29c7985aa352305944ad449085c8efee8095ef4df",
"ast_sha256": "2b55390b1bfee662c07d052912230260c8e60f346d404832ee73ca0e55ae2252"
},
"comfy_execution/graph.py:ExecutionList.ux_friendly_pick_node": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "ExecutionList.ux_friendly_pick_node",
"lines": [
321,
358
],
"text": " def ux_friendly_pick_node(self, node_list):\n # If an output node is available, do that first.\n # Technically this has no effect on the overall length of execution, but it feels better as a user\n # for a PreviewImage to display a result as soon as it can\n # Some other heuristics could probably be used here to improve the UX further.\n def is_output(node_id):\n class_type = self.dynprompt.get_node(node_id)[\"class_type\"]\n class_def = nodes.NODE_CLASS_MAPPINGS[class_type]\n if hasattr(class_def, 'OUTPUT_NODE') and class_def.OUTPUT_NODE == True:\n return True\n return False\n\n # If an available node is async, do that first.\n # This will execute the asynchronous function earlier, reducing the overall time.\n def is_async(node_id):\n class_type = self.dynprompt.get_node(node_id)[\"class_type\"]\n class_def = nodes.NODE_CLASS_MAPPINGS[class_type]\n return inspect.iscoroutinefunction(getattr(class_def, class_def.FUNCTION))\n\n for node_id in node_list:\n if is_output(node_id) or is_async(node_id):\n return node_id\n\n #This should handle the VAEDecode -> preview case\n for node_id in node_list:\n for blocked_node_id in self.blocking[node_id]:\n if is_output(blocked_node_id):\n return node_id\n\n #This should handle the VAELoader -> VAEDecode -> preview case\n for node_id in node_list:\n for blocked_node_id in self.blocking[node_id]:\n for blocked_node_id1 in self.blocking[blocked_node_id]:\n if is_output(blocked_node_id1):\n return node_id\n\n #TODO: this function should be improved\n return node_list[0]\n",
"sha256": "9f736a7dae4b5230cfa024f3b33876aa0e172ab220c0e91209bd92f2014f69c6",
"ast_sha256": "c640458e0b245abb42fe2611dfb5462b43b1eda8040029e6b96b6afc056e8585"
},
"comfy_execution/graph.py:ExecutionList.unstage_node_execution": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "ExecutionList.unstage_node_execution",
"lines": [
360,
362
],
"text": " def unstage_node_execution(self):\n assert self.staged_node_id is not None\n self.staged_node_id = None\n",
"sha256": "d44a61be905723287774b97dadc8b54322d4b4153ab37b132cad53d7be995da2",
"ast_sha256": "95d7237aceed7b70c7042da7fa1a8f9dfd6d17778dd8b2ac540ce70a72bf874e"
},
"comfy_execution/graph.py:ExecutionList.is_staged_node_blocked": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "ExecutionList.is_staged_node_blocked",
"lines": [
364,
366
],
"text": " def is_staged_node_blocked(self):\n assert self.staged_node_id is not None\n return self.blockCount[self.staged_node_id] > 0\n",
"sha256": "0e9ddca0fa2984e21456e0258f1433a394045865e76affad0d12f72328eeca8e",
"ast_sha256": "58ef43a6e7b8457a9a814dc4a322f156b7f536e682d50c4b99d25c8187b23a33"
},
"comfy_execution/graph.py:ExecutionList.complete_node_execution": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "ExecutionList.complete_node_execution",
"lines": [
368,
373
],
"text": " def complete_node_execution(self):\n node_id = self.staged_node_id\n self.pop_node(node_id)\n self.execution_cache.pop(node_id, None)\n self.execution_cache_listeners.pop(node_id, None)\n self.staged_node_id = None\n",
"sha256": "1a0070fcddf09ebe9956e6d48cce076f51abd6f55dcdbb5daa31c08eac903161",
"ast_sha256": "b857457111bc628df693662e004fa2e3387e5c2f32001e60166322017fefefec"
},
"comfy_execution/graph.py:ExecutionList.get_nodes_in_cycle": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph.py",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"request_key": "text-1",
"retrieved_at_utc": "2026-11-03T03:01:39.457968+00:00",
"file": "source-text/comfy_execution__graph.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph.py",
"recorded_at_utc": "2026-11-03T02:24:37.647709+00:00",
"state": "read",
"bytes": 17300,
"sha256": "b78c69dda0718e2c6a44fe54d822470632ff638e467ee8448e2d3fab67dbbf0a",
"git_blob_sha1": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph.py"
],
"exit_code": 0,
"stdout": "f3c27aeeac6232a5234d0b39806b4c988b8caeed",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "ExecutionList.get_nodes_in_cycle",
"lines": [
375,
392
],
"text": " def get_nodes_in_cycle(self):\n # We'll dissolve the graph in reverse topological order to leave only the nodes in the cycle.\n # We're skipping some of the performance optimizations from the original TopologicalSort to keep\n # the code simple (and because having a cycle in the first place is a catastrophic error)\n blocked_by = { node_id: {} for node_id in self.pendingNodes }\n for from_node_id in self.blocking:\n for to_node_id in self.blocking[from_node_id]:\n if True in self.blocking[from_node_id][to_node_id].values():\n blocked_by[to_node_id][from_node_id] = True\n to_remove = [node_id for node_id in blocked_by if len(blocked_by[node_id]) == 0]\n while len(to_remove) > 0:\n for node_id in to_remove:\n for to_node_id in blocked_by:\n if node_id in blocked_by[to_node_id]:\n del blocked_by[to_node_id][node_id]\n del blocked_by[node_id]\n to_remove = [node_id for node_id in blocked_by if len(blocked_by[node_id]) == 0]\n return list(blocked_by.keys())\n",
"sha256": "6fef6130ecf974e298c79700c5289e4c72d73192e57c01864570c6a23b4bf3a9",
"ast_sha256": "e4dccddd28b049692926a09d3e2ddcbfc551ed6acc53fa11d7fe8ee469efc2d7"
},
"comfy_execution/graph_utils.py:is_link": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph_utils.py",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"request_key": "text-2",
"retrieved_at_utc": "2026-11-03T03:01:40.009562+00:00",
"file": "source-text/comfy_execution__graph_utils.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph_utils.py",
"recorded_at_utc": "2026-11-03T02:24:37.649032+00:00",
"state": "read",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph_utils.py"
],
"exit_code": 0,
"stdout": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "is_link",
"lines": [
1,
10
],
"text": "def is_link(obj):\n if not isinstance(obj, list):\n return False\n if len(obj) != 2:\n return False\n if not isinstance(obj[0], str):\n return False\n if not isinstance(obj[1], int) and not isinstance(obj[1], float):\n return False\n return True\n",
"sha256": "eaf94f716185506633b865c48ae9f1cf361602804dc98cdf91d1e0ea0029fe5d",
"ast_sha256": "a92a3c3f5877d7b9bec6844b845bc9dcdddcbe8d4984611c8da8b39811981a44"
},
"comfy_execution/graph_utils.py:GraphBuilder": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph_utils.py",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"request_key": "text-2",
"retrieved_at_utc": "2026-11-03T03:01:40.009562+00:00",
"file": "source-text/comfy_execution__graph_utils.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph_utils.py",
"recorded_at_utc": "2026-11-03T02:24:37.649032+00:00",
"state": "read",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph_utils.py"
],
"exit_code": 0,
"stdout": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "GraphBuilder",
"lines": [
13,
81
],
"text": "class GraphBuilder:\n _default_prefix_root = \"\"\n _default_prefix_call_index = 0\n _default_prefix_graph_index = 0\n\n def __init__(self, prefix = None):\n if prefix is None:\n self.prefix = GraphBuilder.alloc_prefix()\n else:\n self.prefix = prefix\n self.nodes = {}\n self.id_gen = 1\n\n @classmethod\n def set_default_prefix(cls, prefix_root, call_index, graph_index = 0):\n cls._default_prefix_root = prefix_root\n cls._default_prefix_call_index = call_index\n cls._default_prefix_graph_index = graph_index\n\n @classmethod\n def alloc_prefix(cls, root=None, call_index=None, graph_index=None):\n if root is None:\n root = GraphBuilder._default_prefix_root\n if call_index is None:\n call_index = GraphBuilder._default_prefix_call_index\n if graph_index is None:\n graph_index = GraphBuilder._default_prefix_graph_index\n result = f\"{root}.{call_index}.{graph_index}.\"\n GraphBuilder._default_prefix_graph_index += 1\n return result\n\n def node(self, class_type, id=None, **kwargs):\n if id is None:\n id = str(self.id_gen)\n self.id_gen += 1\n id = self.prefix + id\n if id in self.nodes:\n return self.nodes[id]\n\n node = Node(id, class_type, kwargs)\n self.nodes[id] = node\n return node\n\n def lookup_node(self, id):\n id = self.prefix + id\n return self.nodes.get(id)\n\n def finalize(self):\n output = {}\n for node_id, node in self.nodes.items():\n output[node_id] = node.serialize()\n return output\n\n def replace_node_output(self, node_id, index, new_value):\n node_id = self.prefix + node_id\n to_remove = []\n for node in self.nodes.values():\n for key, value in node.inputs.items():\n if is_link(value) and value[0] == node_id and value[1] == index:\n if new_value is None:\n to_remove.append((node, key))\n else:\n node.inputs[key] = new_value\n for node, key in to_remove:\n del node.inputs[key]\n\n def remove_node(self, id):\n id = self.prefix + id\n del self.nodes[id]\n",
"sha256": "60061b93449b8d3da4a0982ad40703aba38457585b75a05f80880fac5910ad52",
"ast_sha256": "9efe24792d526360762c29388d1eaee291d23ffbf4ff0b313dc0bd9c6880bab0"
},
"comfy_execution/graph_utils.py:GraphBuilder.__init__": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph_utils.py",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"request_key": "text-2",
"retrieved_at_utc": "2026-11-03T03:01:40.009562+00:00",
"file": "source-text/comfy_execution__graph_utils.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph_utils.py",
"recorded_at_utc": "2026-11-03T02:24:37.649032+00:00",
"state": "read",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph_utils.py"
],
"exit_code": 0,
"stdout": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "GraphBuilder.__init__",
"lines": [
18,
24
],
"text": " def __init__(self, prefix = None):\n if prefix is None:\n self.prefix = GraphBuilder.alloc_prefix()\n else:\n self.prefix = prefix\n self.nodes = {}\n self.id_gen = 1\n",
"sha256": "c1a8bd18076f0f938839cfa82b9ee93e9754058b3e7fb3bb0b09a8c261a50902",
"ast_sha256": "f18a1032f9fbfa7f0c456d7cf38debad3af6f58d8b79a406965ac010bcb15fcb"
},
"comfy_execution/graph_utils.py:GraphBuilder.set_default_prefix": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph_utils.py",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"request_key": "text-2",
"retrieved_at_utc": "2026-11-03T03:01:40.009562+00:00",
"file": "source-text/comfy_execution__graph_utils.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph_utils.py",
"recorded_at_utc": "2026-11-03T02:24:37.649032+00:00",
"state": "read",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph_utils.py"
],
"exit_code": 0,
"stdout": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "GraphBuilder.set_default_prefix",
"lines": [
27,
30
],
"text": " def set_default_prefix(cls, prefix_root, call_index, graph_index = 0):\n cls._default_prefix_root = prefix_root\n cls._default_prefix_call_index = call_index\n cls._default_prefix_graph_index = graph_index\n",
"sha256": "db2e7899f2b0dccb7e66dff35ebe5a14412424ea529605a6569c71d5fb8164c3",
"ast_sha256": "37957f27729a44c1b46f3873cbc3976e8bfb670af12db34fe0b9983f9795d820"
},
"comfy_execution/graph_utils.py:GraphBuilder.alloc_prefix": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph_utils.py",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"request_key": "text-2",
"retrieved_at_utc": "2026-11-03T03:01:40.009562+00:00",
"file": "source-text/comfy_execution__graph_utils.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph_utils.py",
"recorded_at_utc": "2026-11-03T02:24:37.649032+00:00",
"state": "read",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph_utils.py"
],
"exit_code": 0,
"stdout": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "GraphBuilder.alloc_prefix",
"lines": [
33,
42
],
"text": " def alloc_prefix(cls, root=None, call_index=None, graph_index=None):\n if root is None:\n root = GraphBuilder._default_prefix_root\n if call_index is None:\n call_index = GraphBuilder._default_prefix_call_index\n if graph_index is None:\n graph_index = GraphBuilder._default_prefix_graph_index\n result = f\"{root}.{call_index}.{graph_index}.\"\n GraphBuilder._default_prefix_graph_index += 1\n return result\n",
"sha256": "51fb8eb064b9bf530131c7fc74034faccf7a97c2b5bbb10ba0167ce78abf1a10",
"ast_sha256": "98ab3927a7ee883b5bde6e1dac2b4eefad44cc092f4d27ac751fa5c97b35e554"
},
"comfy_execution/graph_utils.py:GraphBuilder.node": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph_utils.py",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"request_key": "text-2",
"retrieved_at_utc": "2026-11-03T03:01:40.009562+00:00",
"file": "source-text/comfy_execution__graph_utils.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph_utils.py",
"recorded_at_utc": "2026-11-03T02:24:37.649032+00:00",
"state": "read",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph_utils.py"
],
"exit_code": 0,
"stdout": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "GraphBuilder.node",
"lines": [
44,
54
],
"text": " def node(self, class_type, id=None, **kwargs):\n if id is None:\n id = str(self.id_gen)\n self.id_gen += 1\n id = self.prefix + id\n if id in self.nodes:\n return self.nodes[id]\n\n node = Node(id, class_type, kwargs)\n self.nodes[id] = node\n return node\n",
"sha256": "1f6d2091fc31d3a41021788467baded2bf542c2ad9579628e5c51f44f2cb4e21",
"ast_sha256": "badb164e3b57c46a35ba0d1997f87cf1c5bf6de67b4f8c6ad5ad3e5dbaa3a455"
},
"comfy_execution/graph_utils.py:GraphBuilder.lookup_node": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph_utils.py",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"request_key": "text-2",
"retrieved_at_utc": "2026-11-03T03:01:40.009562+00:00",
"file": "source-text/comfy_execution__graph_utils.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph_utils.py",
"recorded_at_utc": "2026-11-03T02:24:37.649032+00:00",
"state": "read",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph_utils.py"
],
"exit_code": 0,
"stdout": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "GraphBuilder.lookup_node",
"lines": [
56,
58
],
"text": " def lookup_node(self, id):\n id = self.prefix + id\n return self.nodes.get(id)\n",
"sha256": "41f4d17f9f58d5e0139b7a09375ee916cce0439f20113e0907b47d507fa22d7d",
"ast_sha256": "80a9a1abb0b75e3d7d62cd523e50c50af6d7529e3ced7f18f83ad288ef834d12"
},
"comfy_execution/graph_utils.py:GraphBuilder.finalize": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph_utils.py",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"request_key": "text-2",
"retrieved_at_utc": "2026-11-03T03:01:40.009562+00:00",
"file": "source-text/comfy_execution__graph_utils.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph_utils.py",
"recorded_at_utc": "2026-11-03T02:24:37.649032+00:00",
"state": "read",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph_utils.py"
],
"exit_code": 0,
"stdout": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "GraphBuilder.finalize",
"lines": [
60,
64
],
"text": " def finalize(self):\n output = {}\n for node_id, node in self.nodes.items():\n output[node_id] = node.serialize()\n return output\n",
"sha256": "037bc10792f91e1e743a3171078613e18fbd349f0977233e827d98fad658baf9",
"ast_sha256": "1d4bd3cc60545a25a2a187012ed0c4d3b3f16fbbc2f95b1a3d75089469a848bb"
},
"comfy_execution/graph_utils.py:GraphBuilder.replace_node_output": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph_utils.py",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"request_key": "text-2",
"retrieved_at_utc": "2026-11-03T03:01:40.009562+00:00",
"file": "source-text/comfy_execution__graph_utils.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph_utils.py",
"recorded_at_utc": "2026-11-03T02:24:37.649032+00:00",
"state": "read",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph_utils.py"
],
"exit_code": 0,
"stdout": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "GraphBuilder.replace_node_output",
"lines": [
66,
77
],
"text": " def replace_node_output(self, node_id, index, new_value):\n node_id = self.prefix + node_id\n to_remove = []\n for node in self.nodes.values():\n for key, value in node.inputs.items():\n if is_link(value) and value[0] == node_id and value[1] == index:\n if new_value is None:\n to_remove.append((node, key))\n else:\n node.inputs[key] = new_value\n for node, key in to_remove:\n del node.inputs[key]\n",
"sha256": "cb0ceba18ad596c9c678e504a1e03da1bbb5e6a94c05b294a3d7819a30fb1eba",
"ast_sha256": "682ab6f6441cbc69a33ef6e90eeafeb0973b96b8ea3b76721ed778358478b344"
},
"comfy_execution/graph_utils.py:GraphBuilder.remove_node": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph_utils.py",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"request_key": "text-2",
"retrieved_at_utc": "2026-11-03T03:01:40.009562+00:00",
"file": "source-text/comfy_execution__graph_utils.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph_utils.py",
"recorded_at_utc": "2026-11-03T02:24:37.649032+00:00",
"state": "read",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph_utils.py"
],
"exit_code": 0,
"stdout": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "GraphBuilder.remove_node",
"lines": [
79,
81
],
"text": " def remove_node(self, id):\n id = self.prefix + id\n del self.nodes[id]\n",
"sha256": "578f703e65ad9bc214fcc3de7f41033c625e5bc855a7a5e274ba81799f72e953",
"ast_sha256": "58385b6adf63a47d116dfb9b58d150a0f96a7fdbae40237e32b4c3c3df59682c"
},
"comfy_execution/graph_utils.py:Node": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph_utils.py",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"request_key": "text-2",
"retrieved_at_utc": "2026-11-03T03:01:40.009562+00:00",
"file": "source-text/comfy_execution__graph_utils.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph_utils.py",
"recorded_at_utc": "2026-11-03T02:24:37.649032+00:00",
"state": "read",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph_utils.py"
],
"exit_code": 0,
"stdout": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "Node",
"lines": [
83,
113
],
"text": "class Node:\n def __init__(self, id, class_type, inputs):\n self.id = id\n self.class_type = class_type\n self.inputs = inputs\n self.override_display_id = None\n\n def out(self, index):\n return [self.id, index]\n\n def set_input(self, key, value):\n if value is None:\n if key in self.inputs:\n del self.inputs[key]\n else:\n self.inputs[key] = value\n\n def get_input(self, key):\n return self.inputs.get(key)\n\n def set_override_display_id(self, override_display_id):\n self.override_display_id = override_display_id\n\n def serialize(self):\n serialized = {\n \"class_type\": self.class_type,\n \"inputs\": self.inputs\n }\n if self.override_display_id is not None:\n serialized[\"override_display_id\"] = self.override_display_id\n return serialized\n",
"sha256": "05c3489fe27137774c64a3dca024db832fd3490f70a110b54e4b4223262b0aea",
"ast_sha256": "5117a49c97fc6dd5ab4c0b2297860abb4c03d2456f55e871f27391bf9cb8ffc0"
},
"comfy_execution/graph_utils.py:Node.__init__": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph_utils.py",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"request_key": "text-2",
"retrieved_at_utc": "2026-11-03T03:01:40.009562+00:00",
"file": "source-text/comfy_execution__graph_utils.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph_utils.py",
"recorded_at_utc": "2026-11-03T02:24:37.649032+00:00",
"state": "read",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph_utils.py"
],
"exit_code": 0,
"stdout": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "Node.__init__",
"lines": [
84,
88
],
"text": " def __init__(self, id, class_type, inputs):\n self.id = id\n self.class_type = class_type\n self.inputs = inputs\n self.override_display_id = None\n",
"sha256": "71ef58f7cacabe2692a172246292b8efb1efd2073a211979c3a64a83f80f445a",
"ast_sha256": "1382c03128e509a4a755b5cb8176d25a5e9b7e5fc66abed95a2407d4ffdd3e48"
},
"comfy_execution/graph_utils.py:Node.out": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph_utils.py",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"request_key": "text-2",
"retrieved_at_utc": "2026-11-03T03:01:40.009562+00:00",
"file": "source-text/comfy_execution__graph_utils.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph_utils.py",
"recorded_at_utc": "2026-11-03T02:24:37.649032+00:00",
"state": "read",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph_utils.py"
],
"exit_code": 0,
"stdout": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "Node.out",
"lines": [
90,
91
],
"text": " def out(self, index):\n return [self.id, index]\n",
"sha256": "acb50d6f140fff87ebf2002c57692487097df5bef90412215c01629d8abcf053",
"ast_sha256": "3705556e27f3e333fe5aa82f27bdd1a62b036dbd336b2bcc4aee602a118d55b8"
},
"comfy_execution/graph_utils.py:Node.set_input": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph_utils.py",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"request_key": "text-2",
"retrieved_at_utc": "2026-11-03T03:01:40.009562+00:00",
"file": "source-text/comfy_execution__graph_utils.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph_utils.py",
"recorded_at_utc": "2026-11-03T02:24:37.649032+00:00",
"state": "read",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph_utils.py"
],
"exit_code": 0,
"stdout": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "Node.set_input",
"lines": [
93,
98
],
"text": " def set_input(self, key, value):\n if value is None:\n if key in self.inputs:\n del self.inputs[key]\n else:\n self.inputs[key] = value\n",
"sha256": "1bc3370cc1bfb0d9953732f737a3734c6607174f02d08fc5d7ed600b88a418d4",
"ast_sha256": "801bc33e676b9c53b567e4a29deaea5e4ca7bd39bba8434835de00c32c4bf9c9"
},
"comfy_execution/graph_utils.py:Node.get_input": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph_utils.py",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"request_key": "text-2",
"retrieved_at_utc": "2026-11-03T03:01:40.009562+00:00",
"file": "source-text/comfy_execution__graph_utils.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph_utils.py",
"recorded_at_utc": "2026-11-03T02:24:37.649032+00:00",
"state": "read",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph_utils.py"
],
"exit_code": 0,
"stdout": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "Node.get_input",
"lines": [
100,
101
],
"text": " def get_input(self, key):\n return self.inputs.get(key)\n",
"sha256": "5bda5fa395654aa84198c945144bcad848db034d8751cbf6d091fa291cdafad6",
"ast_sha256": "afcba2f948074cce5f7dab54a5c8aede775dde4326469a294b60ac88da45067b"
},
"comfy_execution/graph_utils.py:Node.set_override_display_id": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph_utils.py",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"request_key": "text-2",
"retrieved_at_utc": "2026-11-03T03:01:40.009562+00:00",
"file": "source-text/comfy_execution__graph_utils.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph_utils.py",
"recorded_at_utc": "2026-11-03T02:24:37.649032+00:00",
"state": "read",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph_utils.py"
],
"exit_code": 0,
"stdout": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "Node.set_override_display_id",
"lines": [
103,
104
],
"text": " def set_override_display_id(self, override_display_id):\n self.override_display_id = override_display_id\n",
"sha256": "be51ee8b07ef4cdfb08786d098547130dfc3585a0663f71f434572d7408ee23a",
"ast_sha256": "6800d924eb26f54cc7a4c0175e556d37aeddab0533d1de5d42213837814d4cbc"
},
"comfy_execution/graph_utils.py:Node.serialize": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph_utils.py",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"request_key": "text-2",
"retrieved_at_utc": "2026-11-03T03:01:40.009562+00:00",
"file": "source-text/comfy_execution__graph_utils.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph_utils.py",
"recorded_at_utc": "2026-11-03T02:24:37.649032+00:00",
"state": "read",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph_utils.py"
],
"exit_code": 0,
"stdout": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "Node.serialize",
"lines": [
106,
113
],
"text": " def serialize(self):\n serialized = {\n \"class_type\": self.class_type,\n \"inputs\": self.inputs\n }\n if self.override_display_id is not None:\n serialized[\"override_display_id\"] = self.override_display_id\n return serialized\n",
"sha256": "0b815c87b0af5c86191bff8df4722075750b9f326854377c69c6388785f6f9db",
"ast_sha256": "133c00c666a9b4679bafe5e5dc984b7da5a1a6c13f1d13257a7f140ff0d98b27"
},
"comfy_execution/graph_utils.py:add_graph_prefix": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph_utils.py",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"request_key": "text-2",
"retrieved_at_utc": "2026-11-03T03:01:40.009562+00:00",
"file": "source-text/comfy_execution__graph_utils.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph_utils.py",
"recorded_at_utc": "2026-11-03T02:24:37.649032+00:00",
"state": "read",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph_utils.py"
],
"exit_code": 0,
"stdout": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "add_graph_prefix",
"lines": [
115,
138
],
"text": "def add_graph_prefix(graph, outputs, prefix):\n # Change the node IDs and any internal links\n new_graph = {}\n for node_id, node_info in graph.items():\n # Make sure the added nodes have unique IDs\n new_node_id = prefix + node_id\n new_node = { \"class_type\": node_info[\"class_type\"], \"inputs\": {} }\n for input_name, input_value in node_info.get(\"inputs\", {}).items():\n if is_link(input_value):\n new_node[\"inputs\"][input_name] = [prefix + input_value[0], input_value[1]]\n else:\n new_node[\"inputs\"][input_name] = input_value\n new_graph[new_node_id] = new_node\n\n # Change the node IDs in the outputs\n new_outputs = []\n for n in range(len(outputs)):\n output = outputs[n]\n if is_link(output):\n new_outputs.append([prefix + output[0], output[1]])\n else:\n new_outputs.append(output)\n\n return new_graph, tuple(new_outputs)\n",
"sha256": "b0d308ca71bff92202e530bb49a17af5dc0eb2210681fd8a06a8ece2a9a4a66f",
"ast_sha256": "c5427e6545022a2ccf39b30fda647a2db6240c36e25fa7cc09af8080fc5dcead"
},
"comfy_execution/graph_utils.py:ExecutionBlocker": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph_utils.py",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"request_key": "text-2",
"retrieved_at_utc": "2026-11-03T03:01:40.009562+00:00",
"file": "source-text/comfy_execution__graph_utils.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph_utils.py",
"recorded_at_utc": "2026-11-03T02:24:37.649032+00:00",
"state": "read",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph_utils.py"
],
"exit_code": 0,
"stdout": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "ExecutionBlocker",
"lines": [
140,
155
],
"text": "class ExecutionBlocker:\n \"\"\"\n Return this from a node and any users will be blocked with the given error message.\n If the message is None, execution will be blocked silently instead.\n Generally, you should avoid using this functionality unless absolutely necessary. Whenever it's\n possible, a lazy input will be more efficient and have a better user experience.\n This functionality is useful in two cases:\n 1. You want to conditionally prevent an output node from executing. (Particularly a built-in node\n like SaveImage. For your own output nodes, I would recommend just adding a BOOL input and using\n lazy evaluation to let it conditionally disable itself.)\n 2. You have a node with multiple possible outputs, some of which are invalid and should not be used.\n (I would recommend not making nodes like this in the future -- instead, make multiple nodes with\n different outputs. Unfortunately, there are several popular existing nodes using this pattern.)\n \"\"\"\n def __init__(self, message):\n self.message = message\n",
"sha256": "5f7498978eda430561f2fca0e1432667a19c099e3a4490cf5866c35b8dea33f9",
"ast_sha256": "3f50924e15a098c0914f85e3b92465a3de88e7141ef899ec0cd89d6522f8cdd4"
},
"comfy_execution/graph_utils.py:ExecutionBlocker.__init__": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/graph_utils.py",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"request_key": "text-2",
"retrieved_at_utc": "2026-11-03T03:01:40.009562+00:00",
"file": "source-text/comfy_execution__graph_utils.py.txt",
"snapshot": {
"relative_path": "comfy_execution/graph_utils.py",
"recorded_at_utc": "2026-11-03T02:24:37.649032+00:00",
"state": "read",
"bytes": 5626,
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/graph_utils.py"
],
"exit_code": 0,
"stdout": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "ExecutionBlocker.__init__",
"lines": [
154,
155
],
"text": " def __init__(self, message):\n self.message = message\n",
"sha256": "0d1a76c7eec25d3317b13a161a9f2e2aa256cdcf28af3cdee56af12558a09b93",
"ast_sha256": "3e1d00bbd5ee6bd3932b7ad9a1836f4f204f1264a3c33a6d0146b439d868313f"
},
"comfy_execution/validation.py:LoopValidationError": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/validation.py",
"git_blob_sha1": "6c51737b315a4b82792545786045d253359c12e9",
"bytes": 9469,
"sha256": "0f8d37760f3c0e05836e7ade85f9b12fa1d3ecdfe710dfe88b4682f8fdb7ba75",
"request_key": "text-3",
"retrieved_at_utc": "2026-11-03T03:01:40.879439+00:00",
"file": "source-text/comfy_execution__validation.py.txt",
"snapshot": {
"relative_path": "comfy_execution/validation.py",
"recorded_at_utc": "2026-11-03T02:24:37.650259+00:00",
"state": "read",
"bytes": 9469,
"sha256": "0f8d37760f3c0e05836e7ade85f9b12fa1d3ecdfe710dfe88b4682f8fdb7ba75",
"git_blob_sha1": "6c51737b315a4b82792545786045d253359c12e9",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/validation.py"
],
"exit_code": 0,
"stdout": "6c51737b315a4b82792545786045d253359c12e9",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "LoopValidationError",
"lines": [
5,
18
],
"text": "class LoopValidationError(Exception):\n def __init__(self, error_type, message, details, node_ids, output_ids):\n super().__init__(details)\n self.error = {\n \"type\": \"custom_validation_failed\",\n \"message\": message,\n \"details\": details,\n \"extra_info\": {\n \"input_name\": \"loop boundary\",\n \"loop_error_type\": error_type,\n \"node_ids\": sorted(node_ids),\n \"output_ids\": sorted(output_ids),\n },\n }\n",
"sha256": "d841332195e2ccf944ce05fefe07c9ca1e82bb5475a8942487c2680686714948",
"ast_sha256": "6b68cd595e6659ec0870739f2c48b40a1f9463e2535934cb365f0f2a0b3bc6d8"
},
"comfy_execution/validation.py:LoopValidationError.__init__": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/validation.py",
"git_blob_sha1": "6c51737b315a4b82792545786045d253359c12e9",
"bytes": 9469,
"sha256": "0f8d37760f3c0e05836e7ade85f9b12fa1d3ecdfe710dfe88b4682f8fdb7ba75",
"request_key": "text-3",
"retrieved_at_utc": "2026-11-03T03:01:40.879439+00:00",
"file": "source-text/comfy_execution__validation.py.txt",
"snapshot": {
"relative_path": "comfy_execution/validation.py",
"recorded_at_utc": "2026-11-03T02:24:37.650259+00:00",
"state": "read",
"bytes": 9469,
"sha256": "0f8d37760f3c0e05836e7ade85f9b12fa1d3ecdfe710dfe88b4682f8fdb7ba75",
"git_blob_sha1": "6c51737b315a4b82792545786045d253359c12e9",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/validation.py"
],
"exit_code": 0,
"stdout": "6c51737b315a4b82792545786045d253359c12e9",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "LoopValidationError.__init__",
"lines": [
6,
18
],
"text": " def __init__(self, error_type, message, details, node_ids, output_ids):\n super().__init__(details)\n self.error = {\n \"type\": \"custom_validation_failed\",\n \"message\": message,\n \"details\": details,\n \"extra_info\": {\n \"input_name\": \"loop boundary\",\n \"loop_error_type\": error_type,\n \"node_ids\": sorted(node_ids),\n \"output_ids\": sorted(output_ids),\n },\n }\n",
"sha256": "d7f57375cd608a5e54962dfae152810f7c99d5e07ed4d83fb4aeb8b79a1f57e6",
"ast_sha256": "068e04e8f4256d3c17178559eaa6fbbbb08fb07ae772ab697be2eec3765b7b00"
},
"comfy_execution/validation.py:_walk_graph": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/validation.py",
"git_blob_sha1": "6c51737b315a4b82792545786045d253359c12e9",
"bytes": 9469,
"sha256": "0f8d37760f3c0e05836e7ade85f9b12fa1d3ecdfe710dfe88b4682f8fdb7ba75",
"request_key": "text-3",
"retrieved_at_utc": "2026-11-03T03:01:40.879439+00:00",
"file": "source-text/comfy_execution__validation.py.txt",
"snapshot": {
"relative_path": "comfy_execution/validation.py",
"recorded_at_utc": "2026-11-03T02:24:37.650259+00:00",
"state": "read",
"bytes": 9469,
"sha256": "0f8d37760f3c0e05836e7ade85f9b12fa1d3ecdfe710dfe88b4682f8fdb7ba75",
"git_blob_sha1": "6c51737b315a4b82792545786045d253359c12e9",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/validation.py"
],
"exit_code": 0,
"stdout": "6c51737b315a4b82792545786045d253359c12e9",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "_walk_graph",
"lines": [
21,
34
],
"text": "def _walk_graph(start_ids, edges, stop_at=(), return_stops=False):\n found = set()\n stops = set()\n pending = list(start_ids)\n while pending:\n node_id = pending.pop()\n if node_id in found:\n continue\n found.add(node_id)\n if node_id in stop_at:\n stops.add(node_id)\n else:\n pending.extend(edges[node_id])\n return stops if return_stops else found\n",
"sha256": "f58ac110b331e40ea2e0970ac22cca2588f7d3fdbbb9c402c0e3ceb394a2da54",
"ast_sha256": "ad398faebff58c20c0ccc0bc707545c09c7f61fe7a9e39abd5d97244e327eacb"
},
"comfy_execution/validation.py:_loop_validation_error": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/validation.py",
"git_blob_sha1": "6c51737b315a4b82792545786045d253359c12e9",
"bytes": 9469,
"sha256": "0f8d37760f3c0e05836e7ade85f9b12fa1d3ecdfe710dfe88b4682f8fdb7ba75",
"request_key": "text-3",
"retrieved_at_utc": "2026-11-03T03:01:40.879439+00:00",
"file": "source-text/comfy_execution__validation.py.txt",
"snapshot": {
"relative_path": "comfy_execution/validation.py",
"recorded_at_utc": "2026-11-03T02:24:37.650259+00:00",
"state": "read",
"bytes": 9469,
"sha256": "0f8d37760f3c0e05836e7ade85f9b12fa1d3ecdfe710dfe88b4682f8fdb7ba75",
"git_blob_sha1": "6c51737b315a4b82792545786045d253359c12e9",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/validation.py"
],
"exit_code": 0,
"stdout": "6c51737b315a4b82792545786045d253359c12e9",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "_loop_validation_error",
"lines": [
37,
39
],
"text": "def _loop_validation_error(error_type, message, details, actors, children, outputs):\n reached_outputs = _walk_graph(actors, children).intersection(outputs)\n return LoopValidationError(error_type, message, details, actors, reached_outputs)\n",
"sha256": "7a092d245377d3072dfd6d8f46ff28536539ebc33cb068948952660eeeb353f4",
"ast_sha256": "89cfd6c5a282373b566e9b13ff3dcab15c5287bfc6c8b2d0d6d82cd23a057606"
},
"comfy_execution/validation.py:validate_loops": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/validation.py",
"git_blob_sha1": "6c51737b315a4b82792545786045d253359c12e9",
"bytes": 9469,
"sha256": "0f8d37760f3c0e05836e7ade85f9b12fa1d3ecdfe710dfe88b4682f8fdb7ba75",
"request_key": "text-3",
"retrieved_at_utc": "2026-11-03T03:01:40.879439+00:00",
"file": "source-text/comfy_execution__validation.py.txt",
"snapshot": {
"relative_path": "comfy_execution/validation.py",
"recorded_at_utc": "2026-11-03T02:24:37.650259+00:00",
"state": "read",
"bytes": 9469,
"sha256": "0f8d37760f3c0e05836e7ade85f9b12fa1d3ecdfe710dfe88b4682f8fdb7ba75",
"git_blob_sha1": "6c51737b315a4b82792545786045d253359c12e9",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/validation.py"
],
"exit_code": 0,
"stdout": "6c51737b315a4b82792545786045d253359c12e9",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "validate_loops",
"lines": [
42,
190
],
"text": "def validate_loops(prompt, outputs, node_ids, start_nodes, end_nodes):\n if not start_nodes and not end_nodes:\n return {}\n\n node_ids = set(node_ids)\n all_children = {node_id: set() for node_id in prompt}\n all_parents = {node_id: set() for node_id in prompt}\n for node_id, node in prompt.items():\n for value in node.get(\"inputs\", {}).values():\n if is_link(value) and value[0] in all_children:\n all_children[value[0]].add(node_id)\n all_parents[node_id].add(value[0])\n continuation = _walk_graph(outputs, all_children, start_nodes)\n continuation.difference_update(set(start_nodes).difference(node_ids))\n node_ids.update(continuation)\n node_ids.update(_walk_graph(set(end_nodes).intersection(continuation), all_parents, start_nodes))\n parents = {\n node_id: {\n value[0]\n for value in prompt[node_id].get(\"inputs\", {}).values()\n if is_link(value) and value[0] in node_ids\n }\n for node_id in node_ids\n }\n\n children = {node_id: set() for node_id in node_ids}\n for node_id, node_parents in parents.items():\n for parent_id in node_parents:\n children[parent_id].add(node_id)\n\n start_nodes = set(start_nodes).intersection(node_ids)\n end_nodes = set(end_nodes).intersection(node_ids)\n terminal_outputs = {node_id for node_id in outputs if not children[node_id]}\n\n # Construct the Start DAG independently of Ends. Completed inner loops can\n # lead to later Starts which are still nested under the same outer Start.\n start_dag = {\n start_id: _walk_graph(children[start_id], children, start_nodes, return_stops=True)\n for start_id in start_nodes\n }\n start_descendants = {\n start_id: _walk_graph(start_dag[start_id], start_dag)\n for start_id in start_nodes\n }\n\n # Construct the End DAG in the reverse direction. Its leaves are the\n # innermost Ends and are therefore paired first.\n end_dag = {\n end_id: _walk_graph(parents[end_id], parents, end_nodes, return_stops=True)\n for end_id in end_nodes\n }\n\n pairs = {}\n remaining_starts = set(start_nodes)\n remaining_ends = set(end_nodes)\n while remaining_ends:\n end_id = next(\n node_id\n for node_id in sorted(remaining_ends)\n if not end_dag[node_id].intersection(remaining_ends)\n )\n\n candidates = _walk_graph(parents[end_id], parents, remaining_starts, return_stops=True)\n\n if not candidates:\n raise _loop_validation_error(\n \"loop_end_without_start\",\n \"End Loop has no Start Loop\",\n f\"End Loop {end_id} has no available Start Loop\",\n {end_id},\n children,\n outputs,\n )\n\n closest = {\n candidate\n for candidate in candidates\n if all(other == candidate or candidate in start_descendants[other] for other in candidates)\n }\n if len(closest) != 1:\n candidate_list = \", \".join(sorted(candidates))\n raise _loop_validation_error(\n \"ambiguous_loop_nesting\",\n \"End Loop has ambiguous Start Loops\",\n f\"End Loop {end_id} can close multiple unrelated Start Loops: {candidate_list}\",\n candidates.union((end_id,)),\n children,\n outputs,\n )\n\n start_id = closest.pop()\n pairs[start_id] = end_id\n remaining_starts.remove(start_id)\n remaining_ends.remove(end_id)\n\n # Validate the new pair immediately. Previously paired Ends are inner\n # boundaries and may be crossed; an unpaired End or output is an escape.\n escapes = _walk_graph(\n children[start_id],\n children,\n remaining_ends | terminal_outputs | {end_id},\n return_stops=True,\n )\n escapes.discard(end_id)\n if escapes:\n escape_list = \", \".join(sorted(escapes))\n raise _loop_validation_error(\n \"loop_escape\",\n \"Loop body is not closed\",\n f\"Start Loop {start_id} reaches {escape_list} without passing through End Loop {end_id}\",\n escapes | {start_id, end_id},\n children,\n outputs,\n )\n\n if remaining_starts:\n start_list = \", \".join(sorted(remaining_starts))\n raise _loop_validation_error(\n \"loop_start_without_end\",\n \"Start Loop has no End Loop\",\n f\"Start Loops without End Loops: {start_list}\",\n remaining_starts,\n children,\n outputs,\n )\n\n bodies = {}\n for start_id, end_id in pairs.items():\n body = _walk_graph(children[start_id], children, {end_id})\n body.remove(end_id)\n bodies[start_id] = body\n accumulate = prompt[end_id].get(\"inputs\", {}).get(\"accumulate\")\n if is_link(accumulate) and (accumulate[0] == start_id or accumulate[0] in body):\n source_id = accumulate[0]\n raise _loop_validation_error(\n \"loop_accumulate_from_body\",\n \"End Loop accumulate depends on its loop body\",\n f\"End Loop {end_id} accumulate is driven by loop node {source_id} under Start Loop {start_id}\",\n {start_id, end_id, source_id},\n children,\n outputs,\n )\n\n for start_id, end_id in pairs.items():\n body = bodies[start_id]\n prompt[start_id][\"_loop_body\"] = sorted(body)\n prompt[start_id][\"_loop_end\"] = end_id\n\n return pairs\n",
"sha256": "e7cdfeab63004ddc5e8009f74babec5c95f56439b9ca99f7ac73e3c70e70f7ae",
"ast_sha256": "1e29b60b1a2f2891e0fa8de98ab1ad1e9c9a3ddf48410c1d85bd68eb000af516"
},
"comfy_execution/validation.py:validate_node_input": {
"source": {
"repo": "https://github.com/Comfy-Org/ComfyUI",
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
"path": "comfy_execution/validation.py",
"git_blob_sha1": "6c51737b315a4b82792545786045d253359c12e9",
"bytes": 9469,
"sha256": "0f8d37760f3c0e05836e7ade85f9b12fa1d3ecdfe710dfe88b4682f8fdb7ba75",
"request_key": "text-3",
"retrieved_at_utc": "2026-11-03T03:01:40.879439+00:00",
"file": "source-text/comfy_execution__validation.py.txt",
"snapshot": {
"relative_path": "comfy_execution/validation.py",
"recorded_at_utc": "2026-11-03T02:24:37.650259+00:00",
"state": "read",
"bytes": 9469,
"sha256": "0f8d37760f3c0e05836e7ade85f9b12fa1d3ecdfe710dfe88b4682f8fdb7ba75",
"git_blob_sha1": "6c51737b315a4b82792545786045d253359c12e9",
"unchanged_during_read": true,
"head_object_query": {
"command": [
"rev-parse",
"--verify",
"HEAD:comfy_execution/validation.py"
],
"exit_code": 0,
"stdout": "6c51737b315a4b82792545786045d253359c12e9",
"stderr": ""
},
"matches_head_blob": true
},
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
"sampling_time_only": true,
"current_process_loaded": "unknown"
},
"function": "validate_node_input",
"lines": [
193,
247
],
"text": "def validate_node_input(\n received_type: str, input_type: str, strict: bool = False\n) -> bool:\n \"\"\"\n received_type and input_type are both strings of the form \"T1,T2,...\".\n\n If strict is True, the input_type must contain the received_type.\n For example, if received_type is \"STRING\" and input_type is \"STRING,INT\",\n this will return True. But if received_type is \"STRING,INT\" and input_type is\n \"INT\", this will return False.\n\n If strict is False, the input_type must have overlap with the received_type.\n For example, if received_type is \"STRING,BOOLEAN\" and input_type is \"STRING,INT\",\n this will return True.\n\n Supports pre-union type extension behaviour of ``__ne__`` overrides.\n \"\"\"\n # If the types are exactly the same, we can return immediately\n # Use pre-union behaviour: inverse of `__ne__`\n # NOTE: this lets legacy '*' Any types work that override the __ne__ method of the str class.\n if not received_type != input_type:\n return True\n\n # If one of the types is '*', we can return True immediately; this is the 'Any' type.\n if received_type == IO.AnyType.io_type or input_type == IO.AnyType.io_type:\n return True\n\n # If the received type or input_type is a MatchType, we can return True immediately;\n # validation for this is handled by the frontend\n if received_type == IO.MatchType.io_type or input_type == IO.MatchType.io_type:\n return True\n\n # This accounts for some custom nodes that output lists of options as the type;\n # if we ever want to break them on purpose, this can be removed\n if isinstance(received_type, list) and input_type == IO.Combo.io_type:\n return True\n\n # Not equal, and not strings\n if not isinstance(received_type, str) or not isinstance(input_type, str):\n return False\n\n # Split the type strings into sets for comparison\n received_types = set(t.strip() for t in received_type.split(\",\"))\n input_types = set(t.strip() for t in input_type.split(\",\"))\n\n # If any of the types is '*', we can return True immediately; this is the 'Any' type.\n if IO.AnyType.io_type in received_types or IO.AnyType.io_type in input_types:\n return True\n\n if strict:\n # In strict mode, all received types must be in the input types\n return received_types.issubset(input_types)\n else:\n # In non-strict mode, there must be at least one type in common\n return len(received_types.intersection(input_types)) > 0\n",
"sha256": "c2e2f4227620a410ccfd7971f26fcc013caa2116bc22fa6c5827ca004013b6ca",
"ast_sha256": "b66e11b92849201bcea3ce8a6b036319f0bf7bf81b61f8fe206a4be0324c716e"
}
}