From dbed5a1b52ba5ce80dd938a446fb513971114885 Mon Sep 17 00:00:00 2001 From: xmarre Date: Sun, 15 Mar 2026 07:39:10 +0100 Subject: [PATCH] Replace sanitize and hash passes --- comfy_execution/caching.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/comfy_execution/caching.py b/comfy_execution/caching.py index 130b0dd5e..02e36ec68 100644 --- a/comfy_execution/caching.py +++ b/comfy_execution/caching.py @@ -417,9 +417,11 @@ class CacheKeySetInputSignature(CacheKeySet): return _signature_to_hashable(signature) async def get_immediate_node_signature(self, dynprompt, node_id, ancestor_order_mapping): - """Build the cache-signature fragment for a node's immediate inputs. + """Build the immediate cache-signature fragment for a node. - Link inputs are reduced to ancestor references, while raw values are sanitized first. + Link inputs are reduced to ancestor references here, while non-link + values are appended as-is. Full canonicalization happens later in + `get_node_signature()` via `_signature_to_hashable()`. """ if not dynprompt.has_node(node_id): # This node doesn't exist -- we can't cache it.